TDME2 1.9.121
Classes | Public Types | Public Attributes | List of all members
MiniScript::ScriptState Struct Reference

#include <tdme/utilities/MiniScript.h>

Collaboration diagram for MiniScript::ScriptState:
Collaboration graph

Classes

struct  StateMachineState
 

Public Types

enum  EndType { ENDTYPE_FOR , ENDTYPE_IF }
 
enum  ConditionType { SCRIPT , CONDITIONTYPE_FORTIME }
 

Public Attributes

bool running { false }
 
int scriptIdx { -1 }
 
int statementIdx { -1 }
 
int64_t timeWaitStarted { -1LL }
 
int64_t timeWaitTime { -1LL }
 
string id
 
unordered_map< string, ScriptVariable * > variables
 
unordered_map< int, int64_t > forTimeStarted
 
stack< bool > conditionStack
 
stack< EndTypeendTypeStack
 
StateMachineState state
 
vector< string > enabledNamedConditions
 
int64_t timeEnabledConditionsCheckLast { -1LL }
 

Detailed Description

Definition at line 679 of file MiniScript.h.

Member Enumeration Documentation

◆ ConditionType

Enumerator
SCRIPT 
CONDITIONTYPE_FORTIME 

Definition at line 681 of file MiniScript.h.

◆ EndType

enum EndType
Enumerator
ENDTYPE_FOR 
ENDTYPE_IF 

Definition at line 680 of file MiniScript.h.

Member Data Documentation

◆ conditionStack

stack<bool> conditionStack

Definition at line 698 of file MiniScript.h.

◆ enabledNamedConditions

vector<string> enabledNamedConditions

Definition at line 701 of file MiniScript.h.

◆ endTypeStack

stack<EndType> endTypeStack

Definition at line 699 of file MiniScript.h.

◆ forTimeStarted

unordered_map<int, int64_t> forTimeStarted

Definition at line 697 of file MiniScript.h.

◆ id

string id

Definition at line 695 of file MiniScript.h.

◆ running

bool running { false }

Definition at line 690 of file MiniScript.h.

◆ scriptIdx

int scriptIdx { -1 }

Definition at line 691 of file MiniScript.h.

◆ state

Definition at line 700 of file MiniScript.h.

◆ statementIdx

int statementIdx { -1 }

Definition at line 692 of file MiniScript.h.

◆ timeEnabledConditionsCheckLast

int64_t timeEnabledConditionsCheckLast { -1LL }

Definition at line 702 of file MiniScript.h.

◆ timeWaitStarted

int64_t timeWaitStarted { -1LL }

Definition at line 693 of file MiniScript.h.

◆ timeWaitTime

int64_t timeWaitTime { -1LL }

Definition at line 694 of file MiniScript.h.

◆ variables

unordered_map<string, ScriptVariable*> variables

Definition at line 696 of file MiniScript.h.


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