Classes | |
struct | CondtionalParamEntry |
Public Member Functions | |
Conditional () | |
void | load (Common::SeekableReadStream &s) |
int | get (int paramNum) const |
int | evaluate () const |
Public Attributes | |
ConditionalOperation | _operation |
CondtionalParamEntry | _param1 |
CondtionalParamEntry | _param2 |
Static Public Attributes | |
static Common::Array< ConversationVar > * | _vars |
|
inline |
Constructor
void MADS::ScriptEntry::Conditional::load | ( | Common::SeekableReadStream & | s | ) |
Loads data from a passed stream into the parameters structure
int MADS::ScriptEntry::Conditional::get | ( | int | paramNum | ) | const |
Gets the value
int MADS::ScriptEntry::Conditional::evaluate | ( | ) | const |
Evaluates the conditional