Class Message
A network message from/for the ModNetworking class.
Namespace: Modding
Assembly: Assembly-CSharp.dll
Syntax
public class Message
Properties
Sender
Declaration
public Player Sender { get; }
Property Value
Type | Description |
---|---|
Player |
Type
Declaration
public MessageType Type { get; }
Property Value
Type | Description |
---|---|
MessageType |
Methods
GetData(Int32)
Declaration
public object GetData(int index)
Parameters
Type | Name | Description |
---|---|---|
Int32 | index |
Returns
Type | Description |
---|---|
Object |