Property | Type | Description | |
---|---|---|---|
GameModes | List |
Method | 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 ( |
Method | Description | |
---|---|---|
SendGameModeEvent ( string eventName, Packet bytes, NetworkPlayer playerReceiving = null ) : void |
public static GetGameMode ( String name, string version = "-1" ) : |
||
name | String | |
version | string | |
return |
public OnPlayerChooseClass ( NetworkPlayer player, int classChosen ) : void | ||
player | NetworkPlayer | |
classChosen | int | |
return | void |
public OnPlayerChooseTeam ( NetworkPlayer player, int team ) : void | ||
player | NetworkPlayer | |
team | int | |
return | void |
public OnPlayerConnect ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
public OnPlayerDeath ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
public OnPlayerDisconnect ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
public OnPlayerPostPhysicsUpdate ( NetworkPlayer player, bool movedSince = false ) : void | ||
player | NetworkPlayer | |
movedSince | bool | |
return | void |
public OnPlayerPrePhysicsUpdate ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
public OnPlayerSpawn ( NetworkPlayer player ) : void | ||
player | NetworkPlayer | |
return | void |
protected SendGameModeEvent ( string eventName, Packet bytes, NetworkPlayer playerReceiving = null ) : void | ||
eventName | string | |
bytes | Packet | |
playerReceiving | NetworkPlayer | |
return | void |
public Update_PostAll ( |
||
time | ||
return | void |
public Update_PreAll ( |
||
time | ||
return | void |