Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

MsgType.Disconnect

public static short Disconnect;

Description

Internal networking system message for communicating a disconnect has occurred.

To help understand the reason for a disconnect, an IntegerMessage number is written to the message body, which can be read and converted to the error enum.

Did you find this page useful? Please give it a rating: