C# Class TcpSocket, OpenWorldGame

Afficher le fichier Open project: nottvlike/OpenWorldGame Class Usage Examples

Méthodes publiques

Méthode Description
Close ( ) : void
Connect ( ) : void
Init ( string ip, int port, LuaFunction recvCallback ) : void
Send ( string str ) : void

Private Methods

Méthode Description
AddMessageToList ( byte data, bool isLast ) : void
ConnectSuccess ( IAsyncResult result ) : void
Destroy ( ) : void
OnApplicationQuit ( ) : void
Receive ( ) : void
SendCallback ( IAsyncResult result ) : void
UpackPackage ( Byte bytes, UInt16 index ) : void
Update ( ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Connect() public méthode

public Connect ( ) : void
Résultat void

Init() public méthode

public Init ( string ip, int port, LuaFunction recvCallback ) : void
ip string
port int
recvCallback LuaFunction
Résultat void

Send() public méthode

public Send ( string str ) : void
str string
Résultat void