Nuclide
Software Development Kit for id Technology (BETA)
|
This class is responsible for handling groups of key/value pairs.
It handles entity spawns, respawns, save/load as well as key/value pair loading, as well as inputs/outputs which is our basic entity model.
This is a very low-level class. You're never meant to use this. Use ncEntity as a basis for your classes.
Public Member Functions | |
void | ncDict (void) |
nonvirtual int | GetInteger (string) |
nonvirtual float | GetFloat (string) |
nonvirtual string | GetString (string) |
nonvirtual vector | GetVector (string) |
nonvirtual bool | GetBool (string) |
nonvirtual void | SetDeclBody (string) |
nonvirtual string | GetDeclBody (void) |
nonvirtual void | AddKey (string, string) |
nonvirtual void | RemoveKey (string) |
nonvirtual int | TokenCount (void) |
Static Public Member Functions | |
static ncDict | InitWithSpawnData (string) |
static ncDict | LoadDeclFromFile (string, string) |
void ncDict::ncDict | ( | void | ) |
void ncDict::AddKey | ( | string | keyName, |
string | setValue | ||
) |
bool ncDict::GetBool | ( | string | keyName | ) |
string ncDict::GetDeclBody | ( | void | ) |
float ncDict::GetFloat | ( | string | keyName | ) |
int ncDict::GetInteger | ( | string | keyName | ) |
string ncDict::GetString | ( | string | keyName | ) |
vector ncDict::GetVector | ( | string | keyName | ) |
|
static |
|
static |
void ncDict::RemoveKey | ( | string | keyName | ) |
void ncDict::SetDeclBody | ( | string | textBody | ) |
int ncDict::TokenCount | ( | void | ) |