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

Public Member Functions

bool HasClient (ushort id)
 
void StartServer ()
 
void Stop ()
 
void Disconnect ()
 
void Send (Packets tag, byte[] data, SendFlags flags)
 
void Send (Packets tag, byte[] data, ushort id, SendFlags flags)
 
bool Disconnect (ushort id)
 
System.Net.IPEndPoint GetClientEndpoint (ushort id)
 
bool IsClientLocalhost (ushort id)
 
string WebSocketsAddress ()
 

Public Attributes

string Name = "Soldat 2 Dedicated Server"
 
string Address = "0.0.0.0"
 
ushort Port = 33073
 
ushort WebSocketsPort
 
ushort WebSocketsRconPort
 
string CertificateName = ""
 
string CertificatePassword = ""
 
int CertificateProtocols = 4092
 
bool UseIPv6 = false
 
byte MaxPlayers = 16
 
bool VisibleInGamesList = true
 
string GreetMessage = "Welcome! Be friendly, help newcomers and have fun!"
 
string AdminPlayfabId = "checkyourserverlogsforyourplayfabid"
 
bool SecurityChecks = false
 
float TimeOutPlayersSecs = 90.0f
 
int AutoShutdownAfterHours = 24
 
int AutoShutdownAfterMatches = 50
 
string RconPassword = ""
 
string ServerPassword = ""
 
string level
 
string rules
 
string modifiersString
 
List< string > modifiers
 
LiteGameServer lite
 
GameServerMessageEvent Messaged = new GameServerMessageEvent()
 
GameServerConnectEvent ClientConnected = new GameServerConnectEvent()
 
GameServerDisconnectEvent ClientDisconnected = new GameServerDisconnectEvent()
 
NetStats stats
 

Properties

bool IsStarted [get]
 
int ClientsCount [get]
 
- Properties inherited from Teal.MonoSingleton< GameServer >
static T Get [get]
 Returns the singleton instance.
 

Additional Inherited Members

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

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