forked from metin2/client
28 lines
325 B
C++
28 lines
325 B
C++
#include "../StdAfx.h"
|
|
#include "Base.h"
|
|
|
|
CBase::CBase()
|
|
{
|
|
id = 0;
|
|
}
|
|
|
|
CBase::~CBase()
|
|
{
|
|
}
|
|
|
|
bool CBase::isNumber()
|
|
{
|
|
return (id & MID_NUMBER) != 0 ? true : false;
|
|
}
|
|
|
|
bool CBase::isVar()
|
|
{
|
|
return (id & MID_VARIABLE) != 0 ? true : false;
|
|
}
|
|
|
|
bool CBase::isSymbol()
|
|
{
|
|
return (id & MID_SYMBOL) != 0 ? true : false;
|
|
}
|
|
|