Files
csgo2_tiny_server_plugin_sy…/csgo2/player.h

36 lines
843 B
C
Raw Normal View History

2023-10-01 02:28:13 +08:00
#pragma once
#include "pch.h"
#include "schema.h"
#include "native_sdk/entity/cbaseentity.h"
2023-10-02 05:03:37 +08:00
#include "sdk/player/playerslot.h"
2023-10-01 02:28:13 +08:00
class CBasePlayer {
2023-10-02 05:03:37 +08:00
public:
auto ForceRespawn() -> void;
2023-10-01 02:28:13 +08:00
};
2023-10-02 05:03:37 +08:00
class CPlayer_MovementServices {
public:
DECLARE_CLASS(CPlayer_MovementServices);
2023-10-01 02:28:13 +08:00
};
2023-10-02 05:03:37 +08:00
class CCSPlayerController_InGameMoneyServices {
public:
DECLARE_CLASS(CCSPlayerController_InGameMoneyServices);
2023-10-01 02:28:13 +08:00
2023-10-02 05:03:37 +08:00
SCHEMA_FIELD(int, m_iAccount)
2023-10-01 02:28:13 +08:00
};
2023-10-02 05:03:37 +08:00
class CBasePlayerPawn : public CBaseEntity {
public:
DECLARE_CLASS(CBasePlayerPawn);
2023-10-01 02:28:13 +08:00
2023-10-02 05:03:37 +08:00
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)
2023-10-01 02:28:13 +08:00
};