HPL3/Amnesia: Rebirth/Scripting/iLuxHeroStatsHandler

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

iLuxHeroStatsHandler has no public fields.

Functions

Return Type Function And Description
void CreateHeroStat(int alID, const tString &in asName)
int GetHeroStatAmount(int alID)
tString GetHeroStatDescription(int alID)
tString GetHeroStatName(int alID)
void IncreaseHeroStatAmount(int alID, int alAmount)
void RegisterHeroStats()
void SetHeroStatAmount(int alID, int alAmount)

Details

CreateHeroStat

void CreateHeroStat(int alID,
                    const tString &in asName)


Parameters

  • alID (int) —
  • asName (tString) —

Returns:

  • void

GetHeroStatAmount

int GetHeroStatAmount(int alID)


Parameters

  • alID (int) —

Returns:

  • int

GetHeroStatDescription

tString GetHeroStatDescription(int alID)


Parameters

  • alID (int) —

Returns:

  • tString

GetHeroStatName

tString GetHeroStatName(int alID)


Parameters

  • alID (int) —

Returns:

  • tString

IncreaseHeroStatAmount

void IncreaseHeroStatAmount(int alID,
                            int alAmount)


Parameters

  • alID (int) —
  • alAmount (int) —

Returns:

  • void

RegisterHeroStats

void RegisterHeroStats()

Returns:

  • void

SetHeroStatAmount

void SetHeroStatAmount(int alID,
                       int alAmount)


Parameters

  • alID (int) —
  • alAmount (int) —

Returns:

  • void

References

See all references...