Свойство | Type | Description | |
---|---|---|---|
GameModes | List |
Méthode | Description | |
---|---|---|
GenerateGameModes ( ) : void | ||
GetGameMode ( String name, string version = "-1" ) : |
||
GetName ( ) : string | ||
GetVersion ( ) : string | ||
OnGameModeChosen ( ) : void | ||
OnPlayerChooseClass ( NetworkPlayer player, int classChosen ) : void | ||
OnPlayerChooseTeam ( NetworkPlayer player, int team ) : void | ||
OnPlayerConnect ( NetworkPlayer player ) : void | ||
OnPlayerDeath ( NetworkPlayer player ) : void | ||
OnPlayerDisconnect ( NetworkPlayer player ) : void | ||
OnPlayerPostPhysicsUpdate ( NetworkPlayer player, bool movedSince = false ) : void | ||
OnPlayerPrePhysicsUpdate ( NetworkPlayer player ) : void | ||
OnPlayerSpawn ( NetworkPlayer player ) : void | ||
OnRoundEnd ( ) : void | ||
OnRoundStart ( ) : void | ||
ServerGameMode ( ) : System | ||
Update_PostAll ( |
||
Update_PreAll ( |
Méthode | Description | |
---|---|---|
SendGameModeEvent ( string eventName, Packet bytes, NetworkPlayer playerReceiving = null ) : void |
public static GetGameMode ( String name, string version = "-1" ) : |
||
name | String | |
version | string | |
Résultat |
public OnPlayerChooseClass ( NetworkPlayer player, int classChosen ) : void | ||
player | NetworkPlayer | |
classChosen | int | |
Résultat | void |
public OnPlayerChooseTeam ( NetworkPlayer player, int team ) : void | ||
player | NetworkPlayer | |
team | int | |
Résultat | void |
public OnPlayerConnect ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
Résultat | void |
public OnPlayerDeath ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
Résultat | void |
public OnPlayerDisconnect ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
Résultat | void |
public OnPlayerPostPhysicsUpdate ( NetworkPlayer player, bool movedSince = false ) : void | ||
player | NetworkPlayer | |
movedSince | bool | |
Résultat | void |
public OnPlayerPrePhysicsUpdate ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
Résultat | void |
public OnPlayerSpawn ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
Résultat | void |
protected SendGameModeEvent ( string eventName, Packet bytes, NetworkPlayer playerReceiving = null ) : void | ||
eventName | string | |
bytes | Packet | |
playerReceiving | NetworkPlayer | |
Résultat | void |
public Update_PostAll ( |
||
time | ||
Résultat | void |
public Update_PreAll ( |
||
time | ||
Résultat | void |