Planeshift
|
This class holds the master list of all trade processes possible in the game. More...
#include <pstrade.h>
Public Member Functions | |
csString | GetAnimation () const |
const char * | GetConstraintString () const |
uint32 | GetEquipementId () const |
uint32 | GetGarbageId () const |
int | GetGarbageQty () const |
unsigned int | GetMaxPrimarySkill () const |
unsigned int | GetMaxSecondarySkill () const |
unsigned int | GetMinPrimarySkill () const |
unsigned int | GetMinSecondarySkill () const |
csString | GetName () const |
int | GetPrimaryPracticePts () const |
int | GetPrimaryQualFactor () const |
int | GetPrimarySkillId () const |
uint32 | GetProcessId () const |
csString & | GetRenderEffect () |
MathScript * | GetScript () |
Gets the script associated to this process. | |
csString | GetScriptName () const |
Gets the name of the script associated to this process. | |
int | GetSecondaryPracticePts () const |
int | GetSecondaryQualFactor () const |
int | GetSecondarySkillId () const |
int | GetSubprocessId () const |
uint32 | GetWorkItemId () const |
bool | Load (iResultRow &row) |
psTradeProcesses () | |
~psTradeProcesses () | |
iScriptableVar implementation | |
Functions that implement the iScriptableVar interface. | |
const char * | ToString () |
Returns the name of the current process. | |
double | CalcFunction (MathEnvironment *env, const char *functionName, const double *params) |
Does nothing right now just returns 0 for anything passed. | |
double | GetProperty (MathEnvironment *env, const char *ptr) |
Returns the requested variable stored in this process. | |
Protected Attributes | |
csString | animation |
csString | constraints |
uint32 | equipmentId |
uint32 | garbageId |
int | garbageQty |
int | maxPriSkill |
int | maxSecSkill |
int | minPriSkill |
int | minSecSkill |
csString | name |
int | priPracticePts |
int | priQualFactor |
int | priSkillId |
uint32 | processId |
csString | renderEffect |
MathScript * | script |
csString | scriptName |
int | secPracticePts |
int | secQualFactor |
int | secSkillId |
int | subprocess |
uint32 | workItemId |
This class holds the master list of all trade processes possible in the game.
This class is read only since it is cached and shared by multiple users.
psTradeProcesses::psTradeProcesses | ( | ) |
psTradeProcesses::~psTradeProcesses | ( | ) |
double psTradeProcesses::CalcFunction | ( | MathEnvironment * | env, |
const char * | functionName, | ||
const double * | params | ||
) | [virtual] |
Does nothing right now just returns 0 for anything passed.
Implements iScriptableVar.
csString psTradeProcesses::GetAnimation | ( | ) | const [inline] |
const char* psTradeProcesses::GetConstraintString | ( | ) | const [inline] |
uint32 psTradeProcesses::GetEquipementId | ( | ) | const [inline] |
int psTradeProcesses::GetPrimaryPracticePts | ( | ) | const [inline] |
int psTradeProcesses::GetPrimaryQualFactor | ( | ) | const [inline] |
int psTradeProcesses::GetPrimarySkillId | ( | ) | const [inline] |
double psTradeProcesses::GetProperty | ( | MathEnvironment * | env, |
const char * | ptr | ||
) | [virtual] |
Returns the requested variable stored in this process.
env | The MathEnviroment. |
ptr | A pointer to a char array stating the requested variable. |
Implements iScriptableVar.
MathScript* psTradeProcesses::GetScript | ( | ) | [inline] |
csString psTradeProcesses::GetScriptName | ( | ) | const [inline] |
int psTradeProcesses::GetSecondaryPracticePts | ( | ) | const [inline] |
int psTradeProcesses::GetSecondaryQualFactor | ( | ) | const [inline] |
int psTradeProcesses::GetSecondarySkillId | ( | ) | const [inline] |
bool psTradeProcesses::Load | ( | iResultRow & | row | ) |
const char* psTradeProcesses::ToString | ( | ) | [virtual] |
Returns the name of the current process.
Implements iScriptableVar.
csString psTradeProcesses::animation [protected] |
csString psTradeProcesses::constraints [protected] |
uint32 psTradeProcesses::equipmentId [protected] |
uint32 psTradeProcesses::garbageId [protected] |
int psTradeProcesses::garbageQty [protected] |
int psTradeProcesses::maxPriSkill [protected] |
int psTradeProcesses::maxSecSkill [protected] |
int psTradeProcesses::minPriSkill [protected] |
int psTradeProcesses::minSecSkill [protected] |
csString psTradeProcesses::name [protected] |
int psTradeProcesses::priPracticePts [protected] |
int psTradeProcesses::priQualFactor [protected] |
int psTradeProcesses::priSkillId [protected] |
uint32 psTradeProcesses::processId [protected] |
csString psTradeProcesses::renderEffect [protected] |
MathScript* psTradeProcesses::script [protected] |
csString psTradeProcesses::scriptName [protected] |
int psTradeProcesses::secPracticePts [protected] |
int psTradeProcesses::secQualFactor [protected] |
int psTradeProcesses::secSkillId [protected] |
int psTradeProcesses::subprocess [protected] |
uint32 psTradeProcesses::workItemId [protected] |