添加项目文件。
This commit is contained in:
3
csgo2/sdk/player/player.h
Normal file
3
csgo2/sdk/player/player.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
#include "../sdk.h"
|
||||
class CBasePlayer;
|
||||
24
csgo2/sdk/player/playerslot.h
Normal file
24
csgo2/sdk/player/playerslot.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
#include "../sdk.h"
|
||||
class CPlayerSlot
|
||||
{
|
||||
public:
|
||||
CPlayerSlot(int slot) : m_Data(slot)
|
||||
{
|
||||
}
|
||||
|
||||
int Get() const
|
||||
{
|
||||
return m_Data;
|
||||
}
|
||||
|
||||
bool operator==(const CPlayerSlot& other) const {
|
||||
return other.m_Data == m_Data;
|
||||
}
|
||||
bool operator!=(const CPlayerSlot& other) const {
|
||||
return other.m_Data != m_Data;
|
||||
}
|
||||
|
||||
private:
|
||||
int m_Data;
|
||||
};
|
||||
Reference in New Issue
Block a user