HPL3/Amnesia: Rebirth/Scripting/iScrPlayerState Interface
< 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 AllowBuoyancy
- 3.2 CharBody_GravityCollide
- 3.3 CharBody_HitGround
- 3.4 CreateWorldEntities
- 3.5 DestroyWorldEntities
- 3.6 DrawDebugOutput
- 3.7 GetBase
- 3.8 LoadUserConfig
- 3.9 OnAction
- 3.10 OnAnalogInput
- 3.11 OnEnterState
- 3.12 OnExitPressed
- 3.13 OnLeaveState
- 3.14 OnMapEnter
- 3.15 OnMapLeave
- 3.16 PostUpdate
- 3.17 Reset
- 3.18 SaveUserConfig
- 3.19 Update
- 4 References
Fields
iScrPlayerState_Interface has no public fields.
Functions
Return Type | Function And Description |
---|---|
bool | AllowBuoyancy(iPhysicsBody@ apBody) |
void | CharBody_GravityCollide(iCharacterBody@ apCharBody, iPhysicsBody@ apBody, cCollideData@ apCollideData) |
void | CharBody_HitGround(iCharacterBody@ apCharBody, const cVector3f &in avVel) |
void | CreateWorldEntities(cLuxMap@ apMap) |
void | DestroyWorldEntities(cLuxMap@ apMap) |
float | DrawDebugOutput(cGuiSet@ apSet, iFontData@ apFont, float afStartY) |
cLuxPlayerState | GetBase() |
void | LoadUserConfig() |
bool | OnAction(int alAction, bool abPressed) |
bool | OnAnalogInput(int alAnalogId, const cVector3f &in avAmount) |
void | OnEnterState(int alPrevStateId) |
bool | OnExitPressed() |
void | OnLeaveState(int alNextStateId) |
void | OnMapEnter(cLuxMap@ apMap) |
void | OnMapLeave(cLuxMap@ apMap) |
void | PostUpdate(float afTimeStep) |
void | Reset() |
void | SaveUserConfig() |
void | Update(float afTimeStep) |
Details
AllowBuoyancy
CharBody_GravityCollide
void CharBody_GravityCollide(iCharacterBody@ apCharBody,
iPhysicsBody@ apBody,
cCollideData@ apCollideData)
Parameters
- apCharBody (iCharacterBody@) —
- apBody (iPhysicsBody@) —
- apCollideData (cCollideData@) —
Returns:
- void
CharBody_HitGround
void CharBody_HitGround(iCharacterBody@ apCharBody,
const cVector3f &in avVel)
Parameters
- apCharBody (iCharacterBody@) —
- avVel (cVector3f) —
Returns:
- void
CreateWorldEntities
DestroyWorldEntities
DrawDebugOutput
float DrawDebugOutput(cGuiSet@ apSet,
iFontData@ apFont,
float afStartY)
Parameters
- apSet (cGuiSet@) —
- apFont (iFontData@) —
- afStartY (float) —
Returns:
- float—
GetBase
cLuxPlayerState@ GetBase()
Returns:
- cLuxPlayerState@—
LoadUserConfig
void LoadUserConfig()
Returns:
- void
OnAction
bool OnAction(int alAction,
bool abPressed)
Parameters
- alAction (int) —
- abPressed (bool) —
Returns:
- bool—
OnAnalogInput
bool OnAnalogInput(int alAnalogId,
const cVector3f &in avAmount)
Parameters
- alAnalogId (int) —
- avAmount (cVector3f) —
Returns:
- bool—
OnEnterState
void OnEnterState(int alPrevStateId)
Parameters
- alPrevStateId (int) —
Returns:
- void
OnExitPressed
bool OnExitPressed()
Returns:
- bool—
OnLeaveState
void OnLeaveState(int alNextStateId)
Parameters
- alNextStateId (int) —
Returns:
- void
OnMapEnter
OnMapLeave
PostUpdate
void PostUpdate(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
Reset
void Reset()
Returns:
- void
SaveUserConfig
void SaveUserConfig()
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void