Method | Description | |
---|---|---|
Begin ( MessageDestination destination, int messageType, |
Begins with the sending of a message.
|
|
End ( ) : void |
Signals the engine that the message is *constructed* and that it can be send.
|
|
GetUserMessageID ( string name ) : int |
Calls the Engine to retrieve the User Message ID
|
|
GetUserMessageName ( int id ) : string | ||
Intercept ( int id, |
||
Intercept ( string name, |
||
Register ( string name, int size ) : int | ||
Write ( Entity entity ) : void | ||
Write ( byte val ) : void |
Writes a byte value. If the message buffer is already full, writing will be omitted.
|
|
Write ( char val ) : void |
Writes a character into the message If the message buffer is already full, writing will be omitted.
|
|
Write ( long val ) : void |
Writes a long in the message.
|
|
Write ( short val ) : void |
Writes a short into the message. If the message buffer is already full, writing will be omitted.
|
|
Write ( string val ) : void |
Writes a string value into the buffer. If the string is too long and would result in a message overflow, it will be truncated.
|
|
WriteAngle ( int val ) : void |
Writes an angle in the message.
|
|
WriteByte ( byte val ) : void |
Writes a byte value. If the message buffer is already full, writing will be omitted.
|
|
WriteChar ( char val ) : void |
Writes a character into the message If the message buffer is already full, writing will be omitted.
|
|
WriteCoord ( |
||
WriteEntity ( Entity entity ) : void | ||
WriteEntity ( int entity ) : void | ||
WriteLong ( int val ) : void | ||
WriteLong ( long val ) : void |
Writes a long in the message.
|
|
WriteShort ( short val ) : void |
Writes a short into the message. If the message buffer is already full, writing will be omitted.
|
|
WriteString ( string val ) : void |
Writes a string value into the buffer. If the string is too long and would result in a message overflow, it will be truncated.
|
Method | Description | |
---|---|---|
Init ( ) : void | ||
Invoke ( |
||
Invoke ( List |
||
Invoke ( |
||
WriteCoord ( float val ) : void |
public static Begin ( MessageDestination destination, int messageType, |
||
destination | MessageDestination |
/// The destination of a message. |
messageType | int | |
floatValue | ||
playerEntity | ||
return | void |
public static GetUserMessageID ( string name ) : int | ||
name | string |
/// The name of the message |
return | int |
public static GetUserMessageName ( int id ) : string | ||
id | int | |
return | string |
public static Intercept ( int id, |
||
id | int | |
del | ||
return | bool |
public static Intercept ( string name, |
||
name | string | |
del | ||
return | bool |
public static Register ( string name, int size ) : int | ||
name | string | |
size | int | |
return | int |
public static Write ( byte val ) : void | ||
val | byte |
/// A byte value. |
return | void |
public static Write ( char val ) : void | ||
val | char |
/// A character value |
return | void |
public static Write ( long val ) : void | ||
val | long |
/// A long value |
return | void |
public static Write ( short val ) : void | ||
val | short |
/// A character value |
return | void |
public static Write ( string val ) : void | ||
val | string |
/// A |
return | void |
public static WriteAngle ( int val ) : void | ||
val | int |
/// An angle value |
return | void |
public static WriteByte ( byte val ) : void | ||
val | byte |
/// A byte value. |
return | void |
public static WriteChar ( char val ) : void | ||
val | char |
/// A character value |
return | void |
public static WriteCoord ( |
||
val | ||
return | void |
public static WriteEntity ( Entity entity ) : void | ||
entity | Entity | |
return | void |
public static WriteEntity ( int entity ) : void | ||
entity | int | |
return | void |
public static WriteLong ( long val ) : void | ||
val | long |
/// A long value |
return | void |
public static WriteShort ( short val ) : void | ||
val | short |
/// A character value |
return | void |
public static WriteString ( string val ) : void | ||
val | string |
/// A |
return | void |