|
hpl3:community:scripting:classes:iscrplayerstate_interface [2015/11/07 04:05] abion47 created |
hpl3:community:scripting:classes:iscrplayerstate_interface [2015/11/07 04:25] (current) abion47 [Functions] |
||
|---|---|---|---|
| Line 9: | Line 9: | ||
| ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ||
| | [[cLuxPlayerState]]@ | GetBase | | | | | [[cLuxPlayerState]]@ | 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 | 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 | OnEnterState | int alPrevStateId | | | | void | OnEnterState | int alPrevStateId | | | ||
| | void | OnLeaveState | int alNextStateId | | | | void | OnLeaveState | int alNextStateId | | | ||
| Line 23: | Line 23: | ||
| | void | PostUpdate | float afTimeStep | | | | void | PostUpdate | float afTimeStep | | | ||
| | bool | OnAction | int alAction, \\ bool abPressed | | | | bool | OnAction | int alAction, \\ bool abPressed | | | ||
| - | | bool | OnAnalogInput | int alAnalogId, \\ const avAmount | | | + | | bool | OnAnalogInput | int alAnalogId, \\ const [[cVector3f]] &in avAmount | | |
| | bool | OnExitPressed | | | | | bool | OnExitPressed | | | | ||
| - | | bool | AllowBuoyancy | apBody | | | + | | bool | AllowBuoyancy | [[iPhysicsBody]]@ apBody | | |
| - | | float | DrawDebugOutput | apSet, \\ apFont, \\ float afStartY | | | + | | float | DrawDebugOutput | [[cGuiSet]]@ apSet, \\ [[iFontData]]@ apFont, \\ float afStartY | | |
| ====Remarks==== | ====Remarks==== | ||