Class ErrorMessage
This is passed to handler functions registered for the SYSTEM_ERROR built-in message.
Namespace: UnityEngine.Networking.NetworkSystem
Syntax
[Obsolete("The high level API classes are deprecated and will be removed in the future.")]
public class ErrorMessage : MessageBase
Fields
errorCode
The error code.
This is a value from the UNETError enumeration.
Declaration
public int errorCode
Field Value
Type | Description |
---|---|
Int32 |
Methods
Deserialize(NetworkReader)
Declaration
public override void Deserialize(NetworkReader reader)
Parameters
Type | Name | Description |
---|---|---|
NetworkReader | reader |
Overrides
Serialize(NetworkWriter)
Declaration
public override void Serialize(NetworkWriter writer)
Parameters
Type | Name | Description |
---|---|---|
NetworkWriter | writer |