Represents game variable. More...
Represents game variable.
For the GameVar class following types of the operations are overloaded:
bool
.int
. Public Member Functions | |
int | GetValue () |
int | GetMin () |
int | GetMax () |
bool | IsQuest () |
uint | GetQuestStr () |
Overloaded equality operators | |
int | opCmp (const GameVar&) |
int | opCmp (const int) |
bool | opEquals (const GameVar&) |
bool | opEquals (const int) |
Overloaded assignment operators | |
GameVar& | opAssign (const GameVar&) |
GameVar& | opAssign (const int) |
GameVar& | opDivAssign (const GameVar&) |
GameVar& | opDivAssign (const int) |
GameVar& | opMulAssign (const GameVar&) |
GameVar& | opMulAssign (const int) |
GameVar& | opSubAssign (const GameVar&) |
GameVar& | opSubAssign (const int) |
GameVar& | opAddAssign (const GameVar&) |
GameVar& | opAddAssign (const int) |
Overloaded arithmetic operators | |
int | opAdd (const GameVar&) |
int | opAdd (const int) |
int | opSub (const GameVar&) |
int | opSub (const int) |
int | opDiv (const GameVar&) |
int | opDiv (const int) |
int | opMul (const GameVar&) |
int | opMul (const int) |
int GetValue | ( | ) |
int GetMin | ( | ) |
int GetMax | ( | ) |
bool IsQuest | ( | ) |
uint GetQuestStr | ( | ) |
int opCmp | ( | const GameVar& | ) |
int opCmp | ( | const | int | ) |
bool opEquals | ( | const GameVar& | ) |
bool opEquals | ( | const | int | ) |
GameVar& opAssign | ( | const | int | ) |
GameVar& opDivAssign | ( | const | int | ) |
GameVar& opMulAssign | ( | const | int | ) |
GameVar& opSubAssign | ( | const | int | ) |
GameVar& opAddAssign | ( | const | int | ) |
int opAdd | ( | const GameVar& | ) |
int opAdd | ( | const | int | ) |
int opSub | ( | const GameVar& | ) |
int opSub | ( | const | int | ) |
int opDiv | ( | const GameVar& | ) |
int opDiv | ( | const | int | ) |
int opMul | ( | const GameVar& | ) |
int opMul | ( | const | int | ) |