24 lines
346 B
C
24 lines
346 B
C
|
|
#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;
|
||
|
|
};
|