![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
Internal Editor game rule.
Can not be overriden
Public Member Functions | |
| void | ncGameRule_Editor (void) |
| virtual void | Save (float) |
| Handles saving a copy of this entity to a given filehandle. More... | |
| virtual void | Restore (string, string) |
| Similar to ncIO::SpawnKey() but for save-game fields. More... | |
| virtual void | RestoreComplete (void) |
| Called when the entity has been successfully restored from a savegame file. More... | |
| virtual void | LevelNewParms (void) |
| Overridable: Called to set up new level parms for any ncPlayer. More... | |
| virtual void | LevelChangeParms (ncPlayer) |
| Overridable: Called to store parms for a specific ncPlayer. More... | |
| virtual void | LevelDecodeParms (ncPlayer) |
| Overridable: Called to decode parms for a specific ncPlayer. More... | |
| virtual void | PlayerSpawn (ncPlayer) |
| Overridable: Called when a ncPlayer spawns, called sometime after joining. More... | |
| virtual void | InitPostEnts (void) |
| Overridable: Called when all map entities have initialized. More... | |
| virtual bool | PlayerRequestRespawn (ncPlayer) |
| Overridable: called when a ncPlayer requests a respawn. More... | |
| virtual void | Precache (void) |
| Overridable: Called from initents(). More... | |
| virtual void | Shutdown (void) |
| Overridable: Called from SV_Shutdown(). More... | |
| virtual void | FrameStart (void) |
| Overridable: Called every server frame. More... | |
| virtual string | Title (void) |
| Returns the title of the gamemode running. More... | |
| virtual bool | ConsoleCommand (ncPlayer, string) |
| Overridable: Called when the server issues a console command. More... | |
| virtual bool | ClientCommand (ncClient, string) |
| Overridable: Called when a client issues a client command. More... | |
| nonvirtual int | NumActiveGamePlayers (void) |
| nonvirtual int | NumActiveEditors (void) |
| void ncGameRule_Editor::ncGameRule_Editor | ( | void | ) |
|
virtual |
Overridable: Called when a client issues a client command.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called when the server issues a console command.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called every server frame.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called when all map entities have initialized.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called to store parms for a specific ncPlayer.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called to decode parms for a specific ncPlayer.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called to set up new level parms for any ncPlayer.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
| int ncGameRule_Editor::NumActiveEditors | ( | void | ) |
| int ncGameRule_Editor::NumActiveGamePlayers | ( | void | ) |
|
virtual |
Overridable: called when a ncPlayer requests a respawn.
In a multiplayer game, it'll put you back into the game as a player. In a singleplayer game, it might load the most recent save.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called when a ncPlayer spawns, called sometime after joining.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called from initents().
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Similar to ncIO::SpawnKey() but for save-game fields.
Whatever you write into file handles within your ncIO::Save() method needs to be read back in here.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Called when the entity has been successfully restored from a savegame file.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Handles saving a copy of this entity to a given filehandle.
Within you want to use the ncIO::SaveFloat() etc. methods to write the internal member attributes to the specified file handle.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Overridable: Called from SV_Shutdown().
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.
|
virtual |
Returns the title of the gamemode running.
Reimplemented from ncRuleDelegate.
Reimplemented in ncGameRule_Home.