Space Engineers
Public Member Functions | Public Attributes | List of all members
Sandbox.Engine.Multiplayer.MessageIdAttribute Class Reference

Message id, random number from 0 to 16383 Must be unique (there's assert for it to) More...

Inheritance diagram for Sandbox.Engine.Multiplayer.MessageIdAttribute:

Public Member Functions

 MessageIdAttribute (ushort messageId, P2PMessageEnum sendType)
 

Public Attributes

readonly ushort MessageId
 
readonly P2PMessageEnum SendType
 

Detailed Description

Message id, random number from 0 to 16383 Must be unique (there's assert for it to)

Definition at line 34 of file MyTransportLayer.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Multiplayer.MessageIdAttribute.MessageIdAttribute ( ushort  messageId,
P2PMessageEnum  sendType 
)
inline

Definition at line 39 of file MyTransportLayer.cs.

Member Data Documentation

readonly ushort Sandbox.Engine.Multiplayer.MessageIdAttribute.MessageId

Definition at line 36 of file MyTransportLayer.cs.

readonly P2PMessageEnum Sandbox.Engine.Multiplayer.MessageIdAttribute.SendType

Definition at line 37 of file MyTransportLayer.cs.


The documentation for this class was generated from the following file: