HPL3/Amnesia: Rebirth/Scripting/cEventDatabase
< 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 AddEvent
- 3.2 Clear
- 3.3 CreateFactStateContainer
- 3.4 DestroyFactStateContainer
- 3.5 GetDefaultMemory
- 3.6 GetEvent
- 3.7 GetEventNum
- 3.8 GetName
- 3.9 GetOwner
- 3.10 GetScene
- 3.11 GetTrigger
- 3.12 PerformEventActions
- 3.13 QueryAddFactStates
- 3.14 QueryBegin
- 3.15 QueryExecute
- 3.16 QueryExecuteMultiOwner
- 3.17 SetupData
- 4 References
Fields
cEventDatabase has no public fields.
Functions
Return Type | Function And Description |
---|---|
cEvent | AddEvent(const tString &in asName, const tString &in asOwner, const tString &in asTrigger, const tString &in asScene) |
void | Clear() |
cFactStateContainer | CreateFactStateContainer() |
void | DestroyFactStateContainer(cFactStateContainer@ apContainer) |
cFactStateContainer | GetDefaultMemory() |
cEvent | GetEvent(int alIdx) |
int | GetEventNum() |
tString | GetName() |
cEventOwner | GetOwner(const tString &in asName, bool abCreateIfNotExist) |
cEventScene | GetScene(const tString &in asName, bool abCreateIfNotExist) |
cEventTrigger | GetTrigger(const tString &in asName, bool abCreateIfNotExist) |
void | PerformEventActions(cEvent@ apEvent) |
void | QueryAddFactStates(cFactStateContainer@ apFactStates) |
void | QueryBegin(cFactStateContainer@ apCustomMemory) |
cEvent | QueryExecute(const tString &in asOwner, const tString &in asTrigger, const tString &in asScene, bool abPerformEventActions) |
cEvent | QueryExecuteMultiOwner(int alOwnerFlags, const tString &in asTrigger, const tString &in asScene, bool abPerformEventActions) |
void | SetupData() |
Details
AddEvent
Clear
void Clear()
Returns:
- void
CreateFactStateContainer
cFactStateContainer@ CreateFactStateContainer()
Returns:
- cFactStateContainer@—
DestroyFactStateContainer
void DestroyFactStateContainer(cFactStateContainer@ apContainer)
Parameters
- apContainer (cFactStateContainer@) —
Returns:
- void
GetDefaultMemory
cFactStateContainer@ GetDefaultMemory()
Returns:
- cFactStateContainer@—
GetEvent
cEvent@ GetEvent(int alIdx)
Parameters
- alIdx (int) —
Returns:
- cEvent@—
GetEventNum
int GetEventNum()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
GetOwner
cEventOwner@ GetOwner(const tString &in asName,
bool abCreateIfNotExist)
Parameters
- asName (tString) —
- abCreateIfNotExist (bool) —
Returns:
- cEventOwner@—
GetScene
cEventScene@ GetScene(const tString &in asName,
bool abCreateIfNotExist)
Parameters
- asName (tString) —
- abCreateIfNotExist (bool) —
Returns:
- cEventScene@—
GetTrigger
cEventTrigger@ GetTrigger(const tString &in asName,
bool abCreateIfNotExist)
Parameters
- asName (tString) —
- abCreateIfNotExist (bool) —
Returns:
- cEventTrigger@—
PerformEventActions
QueryAddFactStates
void QueryAddFactStates(cFactStateContainer@ apFactStates)
Parameters
- apFactStates (cFactStateContainer@) —
Returns:
- void
QueryBegin
void QueryBegin(cFactStateContainer@ apCustomMemory)
Parameters
- apCustomMemory (cFactStateContainer@) —
Returns:
- void
QueryExecute
QueryExecuteMultiOwner
SetupData
void SetupData()
Returns:
- void