HPL3/Amnesia: Rebirth/Scripting/cEvent
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
- 1 Fields
- 2 Functions
- 3 Details
- 3.1 AddActionFactSet
- 3.2 AddActionFloatOp
- 3.3 AddActionIntOp
- 3.4 AddActionStringSet
- 3.5 AddCriteria
- 3.6 AddCriteriaFloatCompare
- 3.7 AddCriteriaFloatCompare
- 3.8 AddCriteriaIntCompare
- 3.9 AddCriteriaIntCompare
- 3.10 AddCriteriaStringCompare
- 3.11 GetActionNum
- 3.12 GetCriterionNum
- 3.13 GetId
- 3.14 GetName
- 3.15 GetOutput
- 3.16 GetOutputId
- 3.17 SetOutput
- 3.18 SetOutputId
- 4 References
Fields
cEvent has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | AddActionFactSet(const tString &in asFact) |
void | AddActionFloatOp(const tString &in asFact, float afValue, eEventOpType aOpType) |
void | AddActionIntOp(const tString &in asFact, int alValue, eEventOpType aOpType) |
void | AddActionStringSet(const tString &in asFact, const tString &in asValue) |
void | AddCriteria(const tString &in asFactName) |
void | AddCriteriaFloatCompare(const tString &in asFactName, float afValue, eEventCompareType aCompareType) |
void | AddCriteriaFloatCompare(const tString &in asFactName, float afMin, float afMax, eEventCompareType aCompareType) |
void | AddCriteriaIntCompare(const tString &in asFactName, int alValue, eEventCompareType aCompareType) |
void | AddCriteriaIntCompare(const tString &in asFactName, int alMin, int alMax, eEventCompareType aCompareType) |
void | AddCriteriaStringCompare(const tString &in asFactName, const tString &in asValue, eEventCompareType aCompareType) |
int | GetActionNum() |
int | GetCriterionNum() |
int | GetId() |
tString | GetName() |
tString | GetOutput() |
int | GetOutputId(int alId) |
void | SetOutput(const tString &in asOutput) |
void | SetOutputId(int alId) |
Details
AddActionFactSet
AddActionFloatOp
void AddActionFloatOp(const tString &in asFact,
float afValue,
eEventOpType aOpType)
Parameters
- asFact (tString) —
- afValue (float) —
- aOpType (eEventOpType) —
Returns:
- void
AddActionIntOp
void AddActionIntOp(const tString &in asFact,
int alValue,
eEventOpType aOpType)
Parameters
- asFact (tString) —
- alValue (int) —
- aOpType (eEventOpType) —
Returns:
- void
AddActionStringSet
AddCriteria
AddCriteriaFloatCompare
void AddCriteriaFloatCompare(const tString &in asFactName,
float afValue,
eEventCompareType aCompareType)
Parameters
- asFactName (tString) —
- afValue (float) —
- aCompareType (eEventCompareType) —
Returns:
- void
AddCriteriaFloatCompare
void AddCriteriaFloatCompare(const tString &in asFactName,
float afMin,
float afMax,
eEventCompareType aCompareType)
Parameters
- asFactName (tString) —
- afMin (float) —
- afMax (float) —
- aCompareType (eEventCompareType) —
Returns:
- void
AddCriteriaIntCompare
void AddCriteriaIntCompare(const tString &in asFactName,
int alValue,
eEventCompareType aCompareType)
Parameters
- asFactName (tString) —
- alValue (int) —
- aCompareType (eEventCompareType) —
Returns:
- void
AddCriteriaIntCompare
void AddCriteriaIntCompare(const tString &in asFactName,
int alMin,
int alMax,
eEventCompareType aCompareType)
Parameters
- asFactName (tString) —
- alMin (int) —
- alMax (int) —
- aCompareType (eEventCompareType) —
Returns:
- void
AddCriteriaStringCompare
void AddCriteriaStringCompare(const tString &in asFactName,
const tString &in asValue,
eEventCompareType aCompareType)
Parameters
- asFactName (tString) —
- asValue (tString) —
- aCompareType (eEventCompareType) —
Returns:
- void
GetActionNum
int GetActionNum()
Returns:
- int—
GetCriterionNum
int GetCriterionNum()
Returns:
- int—
GetId
int GetId()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
GetOutput
const tString& GetOutput()
Returns:
- const tString&—
GetOutputId
int GetOutputId(int alId)
Parameters
- alId (int) —
Returns:
- int—
SetOutput
SetOutputId
void SetOutputId(int alId)
Parameters
- alId (int) —
Returns:
- void