Nuclide
Software Development Kit for id Technology
|
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 NSEntity as a basis for your classes.
Public Member Functions | |
void | NSDict (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 NSDict | InitWithSpawnData (string) |
static NSDict | LoadDeclFromFile (string, string) |
void NSDict::NSDict | ( | void | ) |
void NSDict::AddKey | ( | string | keyName, |
string | setValue | ||
) |
bool NSDict::GetBool | ( | string | keyName | ) |
string NSDict::GetDeclBody | ( | void | ) |
float NSDict::GetFloat | ( | string | keyName | ) |
int NSDict::GetInteger | ( | string | keyName | ) |
string NSDict::GetString | ( | string | keyName | ) |
vector NSDict::GetVector | ( | string | keyName | ) |
|
static |
|
static |
void NSDict::RemoveKey | ( | string | keyName | ) |
void NSDict::SetDeclBody | ( | string | textBody | ) |
int NSDict::TokenCount | ( | void | ) |