Removed some unneeded stuff from class.
This commit is contained in:
parent
add716276b
commit
08fea0eea1
|
@ -13,7 +13,6 @@ CCstrikePlayer::CCstrikePlayer()
|
|||
{
|
||||
modelled = false;
|
||||
inspectModel = false;
|
||||
online = false;
|
||||
}
|
||||
|
||||
bool CCstrikePlayer::GetModelled()
|
||||
|
@ -48,20 +47,3 @@ void CCstrikePlayer::SetInspectModel(bool inspectModelIn)
|
|||
{
|
||||
inspectModel = inspectModelIn;
|
||||
}
|
||||
|
||||
bool CCstrikePlayer::GetOnline()
|
||||
{
|
||||
return online;
|
||||
}
|
||||
|
||||
void CCstrikePlayer::SetOnline(bool onlineIn)
|
||||
{
|
||||
online = onlineIn;
|
||||
}
|
||||
|
||||
void CCstrikePlayer::Initialize()
|
||||
{
|
||||
SetModelled(false);
|
||||
SetInspectModel(false);
|
||||
SetOnline(false);
|
||||
}
|
|
@ -10,8 +10,6 @@ class CCstrikePlayer
|
|||
public:
|
||||
CCstrikePlayer();
|
||||
|
||||
void Initialize();
|
||||
|
||||
bool GetModelled();
|
||||
bool SetModelled(bool modelledIn);
|
||||
const char* GetModel();
|
||||
|
@ -20,13 +18,10 @@ public:
|
|||
bool GetInspectModel();
|
||||
void SetInspectModel(bool inspectModelIn);
|
||||
|
||||
bool GetOnline();
|
||||
void SetOnline(bool onlineIn);
|
||||
|
||||
private:
|
||||
bool inspectModel;
|
||||
bool modelled;
|
||||
bool online;
|
||||
char model[32];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user