2004-03-04 16:08:31 +00:00
|
|
|
// CstrikePlayer.cpp: implementation of the CCstrikePlayer class.
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "CstrikePlayer.h"
|
|
|
|
#include <string.h> // strcpy()
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
// Construction/Destruction
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
CCstrikePlayer::CCstrikePlayer()
|
|
|
|
{
|
2004-03-29 14:49:50 +00:00
|
|
|
modelled = false;
|
|
|
|
inspectModel = false;
|
2004-03-04 16:08:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CCstrikePlayer::GetModelled()
|
|
|
|
{
|
|
|
|
return modelled;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CCstrikePlayer::SetModelled(bool modelledIn)
|
|
|
|
{
|
|
|
|
if (!modelledIn)
|
|
|
|
SetInspectModel(false);
|
|
|
|
|
|
|
|
return modelled = modelledIn;
|
|
|
|
}
|
|
|
|
|
|
|
|
const char* CCstrikePlayer::GetModel()
|
|
|
|
{
|
|
|
|
return model;
|
|
|
|
}
|
|
|
|
|
2004-03-08 09:18:06 +00:00
|
|
|
void CCstrikePlayer::SetModel(const char* modelIn)
|
2004-03-04 16:08:31 +00:00
|
|
|
{
|
2004-03-08 09:18:06 +00:00
|
|
|
strcpy(model, modelIn);
|
2004-03-04 16:08:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CCstrikePlayer::GetInspectModel()
|
|
|
|
{
|
|
|
|
return inspectModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CCstrikePlayer::SetInspectModel(bool inspectModelIn)
|
|
|
|
{
|
|
|
|
inspectModel = inspectModelIn;
|
2004-03-29 14:19:02 +00:00
|
|
|
}
|