Method | Description | |
---|---|---|
AddHandler ( ushort remoteConnection, uint packetCode, |
||
CreateGameMessage ( long objId, ushort messageId ) : WBitStream | ||
LuServer ( int port, int maxConnections, string address ) : System |
Main constructor
|
|
SendGameMessage ( string address, long objId, ushort messageId ) : void |
Method | Description | |
---|---|---|
OnConnect ( string address ) : void | ||
OnDisconnect ( string address ) : void | ||
OnReceived ( byte bytes, uint length, string address ) : void | ||
OnStart ( ) : void | ||
OnStop ( ) : void |
public AddHandler ( ushort remoteConnection, uint packetCode, |
||
remoteConnection | ushort | |
packetCode | uint | |
handler | ||
return | void |
public static CreateGameMessage ( long objId, ushort messageId ) : WBitStream | ||
objId | long | |
messageId | ushort | |
return | WBitStream |
public LuServer ( int port, int maxConnections, string address ) : System | ||
port | int | Port to host on |
maxConnections | int | Maximum clients that cna connect |
address | string | Address to host on |
return | System |
protected OnConnect ( string address ) : void | ||
address | string | |
return | void |
protected OnDisconnect ( string address ) : void | ||
address | string | |
return | void |
protected OnReceived ( byte bytes, uint length, string address ) : void | ||
bytes | byte | |
length | uint | |
address | string | |
return | void |
public SendGameMessage ( string address, long objId, ushort messageId ) : void | ||
address | string | |
objId | long | |
messageId | ushort | |
return | void |