ScummVM API documentation
MADS::ScriptEntry::Conditional Struct Reference

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
 

Constructor & Destructor Documentation

◆ Conditional()

MADS::ScriptEntry::Conditional::Conditional ( )
inline

Constructor

Member Function Documentation

◆ load()

void MADS::ScriptEntry::Conditional::load ( Common::SeekableReadStream s)

Loads data from a passed stream into the parameters structure

◆ get()

int MADS::ScriptEntry::Conditional::get ( int  paramNum) const

Gets the value

◆ evaluate()

int MADS::ScriptEntry::Conditional::evaluate ( ) const

Evaluates the conditional


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