C# Class ServerTools.API

Inheritance: ModApiAbstract
显示文件 Open project: dmustanger/7dtd-ServerTools Class Usage Examples

Public Properties

Property Type Description
ConfigPath string
GamePath string
MaxPlayers int

Public Methods

Method Description
ChatMessage ( ClientInfo _cInfo, EnumGameMessages _type, string _message, string _playerName, bool _localizeMain, string _secondaryName, bool _localizeSecondary ) : bool
GameAwake ( ) : void
GameShutdown ( ) : void
PlayerLogin ( ClientInfo _cInfo, string _compatibilityVersion ) : void
PlayerSpawning ( ClientInfo _cInfo, int _chunkViewDim, PlayerProfile _playerProfile ) : void
SavePlayerData ( ClientInfo _cInfo, PlayerDataFile _playerDataFile ) : void

Method Details

ChatMessage() public method

public ChatMessage ( ClientInfo _cInfo, EnumGameMessages _type, string _message, string _playerName, bool _localizeMain, string _secondaryName, bool _localizeSecondary ) : bool
_cInfo ClientInfo
_type EnumGameMessages
_message string
_playerName string
_localizeMain bool
_secondaryName string
_localizeSecondary bool
return bool

GameAwake() public method

public GameAwake ( ) : void
return void

GameShutdown() public method

public GameShutdown ( ) : void
return void

PlayerLogin() public method

public PlayerLogin ( ClientInfo _cInfo, string _compatibilityVersion ) : void
_cInfo ClientInfo
_compatibilityVersion string
return void

PlayerSpawning() public method

public PlayerSpawning ( ClientInfo _cInfo, int _chunkViewDim, PlayerProfile _playerProfile ) : void
_cInfo ClientInfo
_chunkViewDim int
_playerProfile PlayerProfile
return void

SavePlayerData() public method

public SavePlayerData ( ClientInfo _cInfo, PlayerDataFile _playerDataFile ) : void
_cInfo ClientInfo
_playerDataFile PlayerDataFile
return void

Property Details

ConfigPath public_oe static_oe property

public static string ConfigPath
return string

GamePath public_oe static_oe property

public static string GamePath
return string

MaxPlayers public_oe static_oe property

public static int MaxPlayers
return int