DDraceNetwork Docs
CTuningParams Class Reference

#include <gamecore.h>

Public Member Functions

 CTuningParams ()
 
bool Set (int Index, float Value)
 
bool Set (const char *pName, float Value)
 
bool Get (int Index, float *pValue) const
 
bool Get (const char *pName, float *pValue) const
 
float GetWeaponFireDelay (int Weapon) const
 

Static Public Member Functions

static int Num ()
 
static const char * Name (int Index)
 

Static Private Attributes

static const char * ms_apNames []
 

Constructor & Destructor Documentation

◆ CTuningParams()

CTuningParams::CTuningParams ( )
inline

Member Function Documentation

◆ Get() [1/2]

bool CTuningParams::Get ( const char *  pName,
float *  pValue 
) const

◆ Get() [2/2]

bool CTuningParams::Get ( int  Index,
float *  pValue 
) const

◆ GetWeaponFireDelay()

float CTuningParams::GetWeaponFireDelay ( int  Weapon) const

◆ Name()

static const char * CTuningParams::Name ( int  Index)
inlinestatic

◆ Num()

static int CTuningParams::Num ( )
inlinestatic

◆ Set() [1/2]

bool CTuningParams::Set ( const char *  pName,
float  Value 
)

◆ Set() [2/2]

bool CTuningParams::Set ( int  Index,
float  Value 
)

Member Data Documentation

◆ ms_apNames

const char * CTuningParams::ms_apNames
staticprivate
Initial value:
=
{
#define MACRO_TUNING_PARAM(Name, ScriptName, Value, Description)
}

The documentation for this class was generated from the following files: