|
hpl3:community:scripting:classes:iscrplayer_interface [2015/11/07 04:06] abion47 created |
hpl3:community:scripting:classes:iscrplayer_interface [2015/11/07 04:23] (current) abion47 [Functions] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ||
| | [[cLuxPlayer]]@ | GetBase | | | | | [[cLuxPlayer]]@ | GetBase | | | | ||
| - | | void | CharBody_GravityCollide | apCharBody, \\ apBody, \\ apCollideData | | | + | | void | CharBody_GravityCollide | [[iCharacterBody]]@ apCharBody, \\ [[iPhysicsBody]]@ apBody, \\ [[cCollideData]]@ apCollideData | | |
| - | | void | CharBody_HitGround | apCharBody, \\ const avVel | | | + | | void | CharBody_HitGround | [[iCharacterBody]]@ apCharBody, \\ const [[cVector3f]] &in avVel | | |
| | void | Update | float afTimeStep | | | | void | Update | float afTimeStep | | | ||
| | void | PostUpdate | float afTimeStep | | | | void | PostUpdate | float afTimeStep | | | ||
| Line 17: | Line 17: | ||
| | void | LoadUserConfig | | | | | void | LoadUserConfig | | | | ||
| | void | SaveUserConfig | | | | | void | SaveUserConfig | | | | ||
| - | | void | OnMapEnter | apMap | | | + | | void | OnMapEnter | [[cLuxMap]]@ apMap | | |
| - | | void | OnMapLeave | apMap | | | + | | void | OnMapLeave | [[cLuxMap]]@ apMap | | |
| - | | void | CreateWorldEntities | apMap | | | + | | void | CreateWorldEntities | [[cLuxMap]]@ apMap | | |
| - | | void | DestroyWorldEntities | apMap | | | + | | void | DestroyWorldEntities | [[cLuxMap]]@ apMap | | |
| - | | void | OnEnterContainer | const &in asOldContainer | | | + | | void | OnEnterContainer | const [[tString]] &in asOldContainer | | |
| - | | void | OnLeaveContainer | const &in asNewContainer | | | + | | void | OnLeaveContainer | const [[tString]] &in asNewContainer | | |
| - | | void | PreloadData | apMap | | | + | | void | PreloadData | [[cLuxMap]]@ apMap | | |
| | void | OnExitPressed | | | | | void | OnExitPressed | | | | ||
| | void | OnAction | int alAction, \\ bool abPressed | | | | void | OnAction | int alAction, \\ bool abPressed | | | ||
| - | | void | OnAnalogInput | int alAnalogId, \\ const avAmount | | | + | | void | OnAnalogInput | int alAnalogId, \\ const [[cVector3f]] &in avAmount | | |
| | void | OnUnderwaterEffectActive | bool abX, \\ bool abUseStartAndEndEffects | | | | void | OnUnderwaterEffectActive | bool abX, \\ bool abUseStartAndEndEffects | | | ||
| | int | GetCharacterState | | | | | int | GetCharacterState | | | | ||
| | void | SetCharacterState | int alState | | | | void | SetCharacterState | int alState | | | ||
| - | | float | DrawDebugOutput | apSet, \\ apFont, \\ float afStartY | | | + | | float | DrawDebugOutput | [[cGuiSet]]@ apSet, \\ [[iFontData]] apFont, \\ float afStartY | | |
| - | | void | SetupStartPos | const &in avPos, \\ float afAngle, \\ bool abCrouching | | | + | | void | SetupStartPos | const [[cVector3f]] &in avPos, \\ float afAngle, \\ bool abCrouching | | |
| ====Remarks==== | ====Remarks==== | ||