HPL3/Amnesia: Rebirth/Scripting/iScrPlayer 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 CharBody_GravityCollide
- 3.2 CharBody_HitGround
- 3.3 CreateWorldEntities
- 3.4 DestroyWorldEntities
- 3.5 DrawDebugOutput
- 3.6 GetBase
- 3.7 GetCharacterState
- 3.8 LoadUserConfig
- 3.9 OnAction
- 3.10 OnAnalogInput
- 3.11 OnDraw
- 3.12 OnEnterContainer
- 3.13 OnExitPressed
- 3.14 OnLeaveContainer
- 3.15 OnMapEnter
- 3.16 OnMapLeave
- 3.17 OnUnderwaterEffectActive
- 3.18 PostUpdate
- 3.19 PreloadData
- 3.20 Reset
- 3.21 SaveUserConfig
- 3.22 SetCharacterState
- 3.23 SetupStartPos
- 3.24 Update
- 4 References
Fields
iScrPlayer_Interface has no public fields.
Functions
Return Type | Function And Description |
---|---|
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) |
cLuxPlayer | GetBase() |
int | GetCharacterState() |
void | LoadUserConfig() |
void | OnAction(int alAction, bool abPressed) |
void | OnAnalogInput(int alAnalogId, const cVector3f &in avAmount) |
void | OnDraw(float afFrameTime) |
void | OnEnterContainer(const tString &in asOldContainer) |
void | OnExitPressed() |
void | OnLeaveContainer(const tString &in asNewContainer) |
void | OnMapEnter(cLuxMap@ apMap) |
void | OnMapLeave(cLuxMap@ apMap) |
void | OnUnderwaterEffectActive(bool abX, bool abUseStartAndEndEffects) |
void | PostUpdate(float afTimeStep) |
void | PreloadData(cLuxMap@ apMap) |
void | Reset() |
void | SaveUserConfig() |
void | SetCharacterState(int alState) |
void | SetupStartPos(const cVector3f &in avPos, float afAngle, bool abCrouching) |
void | Update(float afTimeStep) |
Details
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
cLuxPlayer@ GetBase()
Returns:
- cLuxPlayer@—
GetCharacterState
int GetCharacterState()
Returns:
- int—
LoadUserConfig
void LoadUserConfig()
Returns:
- void
OnAction
void OnAction(int alAction,
bool abPressed)
Parameters
- alAction (int) —
- abPressed (bool) —
Returns:
- void
OnAnalogInput
void OnAnalogInput(int alAnalogId,
const cVector3f &in avAmount)
Parameters
- alAnalogId (int) —
- avAmount (cVector3f) —
Returns:
- void
OnDraw
void OnDraw(float afFrameTime)
Parameters
- afFrameTime (float) —
Returns:
- void
OnEnterContainer
void OnEnterContainer(const tString &in asOldContainer)
Parameters
- asOldContainer (tString) —
Returns:
- void
OnExitPressed
void OnExitPressed()
Returns:
- void
OnLeaveContainer
void OnLeaveContainer(const tString &in asNewContainer)
Parameters
- asNewContainer (tString) —
Returns:
- void
OnMapEnter
OnMapLeave
OnUnderwaterEffectActive
void OnUnderwaterEffectActive(bool abX,
bool abUseStartAndEndEffects)
Parameters
- abX (bool) —
- abUseStartAndEndEffects (bool) —
Returns:
- void
PostUpdate
void PostUpdate(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void
PreloadData
Reset
void Reset()
Returns:
- void
SaveUserConfig
void SaveUserConfig()
Returns:
- void
SetCharacterState
void SetCharacterState(int alState)
Parameters
- alState (int) —
Returns:
- void
SetupStartPos
void SetupStartPos(const cVector3f &in avPos,
float afAngle,
bool abCrouching)
Parameters
- avPos (cVector3f) —
- afAngle (float) —
- abCrouching (bool) —
Returns:
- void
Update
void Update(float afTimeStep)
Parameters
- afTimeStep (float) —
Returns:
- void