2004-03-04 19:08:31 +03:00
|
|
|
// CstrikePlayer.cpp: implementation of the CCstrikePlayer class.
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "CstrikePlayer.h"
|
|
|
|
#include <string.h> // strcpy()
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
// Construction/Destruction
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
CCstrikePlayer::CCstrikePlayer()
|
|
|
|
{
|
|
|
|
SetModelled(false);
|
|
|
|
SetInspectModel(false);
|
|
|
|
}
|
|
|
|
|
|
|
|
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 12:18:06 +03:00
|
|
|
void CCstrikePlayer::SetModel(const char* modelIn)
|
2004-03-04 19:08:31 +03:00
|
|
|
{
|
2004-03-08 12:18:06 +03:00
|
|
|
strcpy(model, modelIn);
|
2004-03-04 19:08:31 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
bool CCstrikePlayer::GetInspectModel()
|
|
|
|
{
|
|
|
|
return inspectModel;
|
|
|
|
}
|
|
|
|
|
|
|
|
void CCstrikePlayer::SetInspectModel(bool inspectModelIn)
|
|
|
|
{
|
|
|
|
inspectModel = inspectModelIn;
|
|
|
|
}
|