增加pawn名字

This commit is contained in:
Huoji's
2023-10-02 05:03:37 +08:00
parent 1bae80e38d
commit 7d24c5a405
16 changed files with 167 additions and 127 deletions

View File

@@ -2,37 +2,34 @@
#include "pch.h"
#include "schema.h"
#include "native_sdk/entity/cbaseentity.h"
#include "sdk/player/playerslot.h"
class CBasePlayer {
public:
auto ForceRespawn() -> void;
public:
auto ForceRespawn() -> void;
};
class CPlayer_MovementServices
{
public:
DECLARE_CLASS(CPlayer_MovementServices);
class CPlayer_MovementServices {
public:
DECLARE_CLASS(CPlayer_MovementServices);
};
class CCSPlayerController_InGameMoneyServices
{
public:
DECLARE_CLASS(CCSPlayerController_InGameMoneyServices);
class CCSPlayerController_InGameMoneyServices {
public:
DECLARE_CLASS(CCSPlayerController_InGameMoneyServices);
SCHEMA_FIELD(int, m_iAccount)
SCHEMA_FIELD(int, m_iAccount)
};
class CBasePlayerPawn : public CBaseEntity
{
public:
DECLARE_CLASS(CBasePlayerPawn);
class CBasePlayerPawn : public CBaseEntity {
public:
DECLARE_CLASS(CBasePlayerPawn);
SCHEMA_FIELD(CPlayer_MovementServices*, m_pMovementServices)
SCHEMA_FIELD(uint8_t*, m_pWeaponServices)
SCHEMA_FIELD(uint8_t**, m_pItemServices)
SCHEMA_FIELD(CPlayer_MovementServices*, m_pMovementServices)
SCHEMA_FIELD(uint8_t*, m_pWeaponServices)
SCHEMA_FIELD(uint8_t**, m_pItemServices)
};
class CCSPlayerPawn : public CBasePlayerPawn {
public:
DECLARE_CLASS(CCSPlayerPawn);
SCHEMA_FIELD(const char*, m_szLastPlaceName)
};
class CCSPlayerPawn : public CBasePlayerPawn
{
public:
DECLARE_CLASS(CCSPlayerPawn);
SCHEMA_FIELD(const char*, m_szLastPlaceName)
};