Nuclide
Software Development Kit for id Technology (BETA)
entityDefAPI_t Struct Reference

Public Member Functions

string GetString (string defName, string keyName)
 Returns the string value of a EntityDef key. More...
 
int GetInteger (string defName, string keyName)
 Returns the integer value of a EntityDef key. More...
 
float GetFloat (string defName, string keyName)
 Returns the floating-point value of a EntityDef key. More...
 
float GetBool (string defName, string keyName)
 Returns the boolean value of a EntityDef key. More...
 
vector GetVector (string defName, string keyName)
 Returns the vector value of a EntityDef key. More...
 

Member Function Documentation

◆ GetBool()

float entityDefAPI_t::GetBool ( string  defName,
string  keyName 
)

Returns the boolean value of a EntityDef key.

Parameters
defNamespecifies the EntityDef name in question
keyNamespecifies the EntityDef key to query.
Returns
The value in boolean form.

◆ GetFloat()

float entityDefAPI_t::GetFloat ( string  defName,
string  keyName 
)

Returns the floating-point value of a EntityDef key.

Parameters
defNamespecifies the EntityDef name in question
keyNamespecifies the EntityDef key to query.
Returns
The value in floating-point format.

◆ GetInteger()

int entityDefAPI_t::GetInteger ( string  defName,
string  keyName 
)

Returns the integer value of a EntityDef key.

Parameters
defNamespecifies the EntityDef name in question
keyNamespecifies the EntityDef key to query.
Returns
The value in integer format.

◆ GetString()

string entityDefAPI_t::GetString ( string  defName,
string  keyName 
)

Returns the string value of a EntityDef key.

Parameters
defNamespecifies the EntityDef name in question
keyNamespecifies the EntityDef key to query.
Returns
The value in string format.

◆ GetVector()

vector entityDefAPI_t::GetVector ( string  defName,
string  keyName 
)

Returns the vector value of a EntityDef key.

Parameters
defNamespecifies the EntityDef name in question
keyNamespecifies the EntityDef key to query.
Returns
The value in vector form.

The documentation for this struct was generated from the following file: