C# Class ServerTools.API

Inheritance: ModApiAbstract
Afficher le fichier Open project: dmustanger/7dtd-ServerTools Class Usage Examples

Méthodes publiques

Свойство Type Description
ConfigPath string
GamePath string
MaxPlayers int

Méthodes publiques

Méthode 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 méthode

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
Résultat bool

GameAwake() public méthode

public GameAwake ( ) : void
Résultat void

GameShutdown() public méthode

public GameShutdown ( ) : void
Résultat void

PlayerLogin() public méthode

public PlayerLogin ( ClientInfo _cInfo, string _compatibilityVersion ) : void
_cInfo ClientInfo
_compatibilityVersion string
Résultat void

PlayerSpawning() public méthode

public PlayerSpawning ( ClientInfo _cInfo, int _chunkViewDim, PlayerProfile _playerProfile ) : void
_cInfo ClientInfo
_chunkViewDim int
_playerProfile PlayerProfile
Résultat void

SavePlayerData() public méthode

public SavePlayerData ( ClientInfo _cInfo, PlayerDataFile _playerDataFile ) : void
_cInfo ClientInfo
_playerDataFile PlayerDataFile
Résultat void

Property Details

ConfigPath public_oe static_oe property

public static string ConfigPath
Résultat string

GamePath public_oe static_oe property

public static string GamePath
Résultat string

MaxPlayers public_oe static_oe property

public static int MaxPlayers
Résultat int