HPL3/Amnesia: Rebirth/Scripting/cLuxEventDatabaseHandler

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

cLuxEventDatabaseHandler has no public fields.

Functions

Return Type Function And Description
cEventDatabase GetEventDataBase()
cEvent Query(const tString &in asOwner, const tString &in asTrigger, cFactStateContainer@ apExtraFacts)
cEvent QueryToAll(int alOwnerFlags, const tString &in asTrigger, cFactStateContainer@ apExtraFacts)
void RemoveGlobalFact(const tString &in asFact)
void RemoveLocalFact(const tString &in asFact)
void SetGlobalFact(const tString &in asFact)
void SetGlobalFactFloat(const tString &in asFact, float afVal)
void SetGlobalFactInt(const tString &in asFact, int alVal)
void SetGlobalFactString(const tString &in asFact, const tString &in asStr)
void SetLocalFact(const tString &in asFact)
void SetLocalFactFloat(const tString &in asFact, float afVal)
void SetLocalFactInt(const tString &in asFact, int alVal)
void SetLocalFactString(const tString &in asFact, const tString &in asStr)
bool UseStandardTriggers()

Details

GetEventDataBase

cEventDatabase@ GetEventDataBase()

Returns:

  • cEventDatabase@

Query

cEvent@ Query(const tString &in asOwner,
              const tString &in asTrigger,
              cFactStateContainer@ apExtraFacts)


Parameters

Returns:

  • cEvent@

QueryToAll

cEvent@ QueryToAll(int alOwnerFlags,
                   const tString &in asTrigger,
                   cFactStateContainer@ apExtraFacts)


Parameters

Returns:

  • cEvent@

RemoveGlobalFact

void RemoveGlobalFact(const tString &in asFact)


Parameters

Returns:

  • void

RemoveLocalFact

void RemoveLocalFact(const tString &in asFact)


Parameters

Returns:

  • void

SetGlobalFact

void SetGlobalFact(const tString &in asFact)


Parameters

Returns:

  • void

SetGlobalFactFloat

void SetGlobalFactFloat(const tString &in asFact,
                        float afVal)


Parameters

  • asFact (tString) —
  • afVal (float) —

Returns:

  • void

SetGlobalFactInt

void SetGlobalFactInt(const tString &in asFact,
                      int alVal)


Parameters

  • asFact (tString) —
  • alVal (int) —

Returns:

  • void

SetGlobalFactString

void SetGlobalFactString(const tString &in asFact,
                         const tString &in asStr)


Parameters

Returns:

  • void

SetLocalFact

void SetLocalFact(const tString &in asFact)


Parameters

Returns:

  • void

SetLocalFactFloat

void SetLocalFactFloat(const tString &in asFact,
                       float afVal)


Parameters

  • asFact (tString) —
  • afVal (float) —

Returns:

  • void

SetLocalFactInt

void SetLocalFactInt(const tString &in asFact,
                     int alVal)


Parameters

  • asFact (tString) —
  • alVal (int) —

Returns:

  • void

SetLocalFactString

void SetLocalFactString(const tString &in asFact,
                        const tString &in asStr)


Parameters

Returns:

  • void

UseStandardTriggers

bool UseStandardTriggers()

Returns:

  • bool

References

See all references...