My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
Teal.GameClient Class Reference
Inheritance diagram for Teal.GameClient:
Teal.MonoSingleton< GameClient >

Public Member Functions

void LocalConnect ()
 
void Connect (string ip, ushort port, Action< string > callback=null)
 
void Disconnect ()
 
void Stop ()
 
void Send (Packets tag, byte[] data, SendFlags flags)
 

Public Attributes

int MaxWaitForServerSecs = 15
 
LiteGameClient lite
 
GameClientEvent Messaged = new GameClientEvent()
 
GameClientConnectEvent ConnectedToServer = new GameClientConnectEvent()
 
GameClientDisconnectEvent DisconnectedFromServer = new GameClientDisconnectEvent()
 
NetStats stats
 
string LastIP
 
ushort LastPort
 
string LastPassword
 

Properties

bool IsConnected [get]
 
ushort Id [get, set]
 
int Ping [get]
 
- Properties inherited from Teal.MonoSingleton< GameClient >
static T Get [get]
 Returns the singleton instance.
 

Additional Inherited Members

- Static Protected Attributes inherited from Teal.MonoSingleton< GameClient >
static T _instance
 

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