完成复活

This commit is contained in:
Huoji's
2023-10-04 22:49:16 +08:00
parent 06acf8b24d
commit dd0456b064
9 changed files with 162 additions and 43 deletions

View File

@@ -459,6 +459,9 @@ class CCSPlayerPawn : public CCSPlayerPawnBase {
DECLARE_CLASS(CCSPlayerPawn);
SCHEMA_FIELD(const char*, m_szLastPlaceName)
auto GetPlayerController() -> CCSPlayerController*;
auto ForceRespawnPlayer() {
return CALL_VIRTUAL(void, 324, this);
}
};
class CGameEntitySystem;
@@ -491,4 +494,7 @@ class CCSGameRules {
public:
DECLARE_CLASS(CCSGameRules)
SCHEMA_FIELD(bool, m_bForceTeamChangeSilent)
auto PlayerRespawn(CCSPlayerPawn* PlayerPawn) {
return CALL_VIRTUAL(void, 110, this, PlayerPawn);
}
};