Go to the source code of this file.
|
| CAVESTORY_MOD_API BOOL | CSM_Player_Kill (SafeClientInterface *pSCI, bool bResetVelocity=true, PlayerDeathType iDeathType=PlayerDeathType::DEATHTYPE_UNKNOWN, NPCHAR *pKillerNpc=NULL, CaveNet::DataStructures::NetClient *pKillerClient=NULL, BOOL bSimulating=FALSE) |
| | Run standard code to kill a player. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_Animate (BOOL bKey, SafeClientInterface *pSCI) |
| | Run standard code to animate a player. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_ActCamera (BOOL bKey, SafeClientInterface *pSCI) |
| | Run standard code to process a player's camera. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_AirProcess (SafeClientInterface *pSCI, BOOL bSimulating=FALSE) |
| | Run standard code to process amount of air for players. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_ResetFlag (SafeClientInterface *pSCI) |
| | Reset player collision flags. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_GetTrg (SafeClientInterface *pSCI) |
| | Get KeyTrg from a player. More...
|
| |
| CAVESTORY_MOD_API BOOL | CSM_Player_Act (BOOL bKey, SafeClientInterface *pSCI, BOOL bRecord=TRUE, BOOL bSimulating=FALSE) |
| | Run standard code to make a player act. More...
|
| |
◆ CSM_Player_Act()
Run standard code to make a player act.
- Parameters
-
| bKey | Allow key input. |
| pSCI | The interface to use. |
| bRecord | Whether or not to record to the active demo. |
| bSimulating | Whether this is a simulation frame or not. |
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_ActCamera()
Run standard code to process a player's camera.
- Parameters
-
| bKey | Allow key input. |
| pSCI | The interface to use. |
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_AirProcess()
Run standard code to process amount of air for players.
- Parameters
-
| pSCI | The interface to use. |
| bSimulating | If this is true, then the player cannot run the drown event. |
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_Animate()
Run standard code to animate a player.
- Parameters
-
| bKey | Allow key input. |
| pSCI | The interface to use. |
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_GetTrg()
Get KeyTrg from a player.
- Parameters
-
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_Kill()
Run standard code to kill a player.
- Parameters
-
| pSCI | The interface to use. |
| bResetVelocity | Reset the player's velocity. |
| iDeathType | The type of death. |
| pKillerNpc | The NPC that killed this player (if applicable). |
| pKillerClient | The client that killed this player (if applicable). |
| bSimulating | Whether this is a simulation frame or not. |
- Returns
- Returns TRUE on success, FALSE otherwise.
◆ CSM_Player_ResetFlag()
Reset player collision flags.
- Parameters
-
- Returns
- Returns TRUE on success, FALSE otherwise.