C# Class AdminTools.TestServerScript

Inheritance: GTAServer.ServerScript
Mostra file Open project: Guad/GTACoop

Public Properties

Property Type Description
ServerTime System.TimeSpan
ServerWeather int

Public Methods

Method Description
OnChatMessage ( Client sender, string message ) : bool
OnPlayerConnect ( Client player ) : bool
OnPlayerDisconnect ( Client player ) : bool
OnPlayerKilled ( Client player ) : void
OnTick ( ) : void
Start ( ) : void

Private Methods

Method Description
GetHashSha256 ( string text ) : string
LoadAccounts ( string path ) : void
LoadBanlist ( string path ) : void
SaveAccounts ( string path ) : void
SaveBanlist ( string path ) : void

Method Details

OnChatMessage() public method

public OnChatMessage ( Client sender, string message ) : bool
sender Client
message string
return bool

OnPlayerConnect() public method

public OnPlayerConnect ( Client player ) : bool
player Client
return bool

OnPlayerDisconnect() public method

public OnPlayerDisconnect ( Client player ) : bool
player Client
return bool

OnPlayerKilled() public method

public OnPlayerKilled ( Client player ) : void
player Client
return void

OnTick() public method

public OnTick ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

ServerTime public_oe property

public TimeSpan,System ServerTime
return System.TimeSpan

ServerWeather public_oe property

public int ServerWeather
return int