forked from metin2/server
27 lines
245 B
C++
27 lines
245 B
C++
|
#include "Base.h"
|
||
|
|
||
|
CBase::CBase()
|
||
|
{
|
||
|
id = 0;
|
||
|
}
|
||
|
|
||
|
CBase::~CBase()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
bool CBase::isNumber()
|
||
|
{
|
||
|
return (id & MID_NUMBER);
|
||
|
}
|
||
|
|
||
|
bool CBase::isVar()
|
||
|
{
|
||
|
return (id & MID_VARIABLE);
|
||
|
}
|
||
|
|
||
|
bool CBase::isSymbol()
|
||
|
{
|
||
|
return (id & MID_SYMBOL);
|
||
|
}
|
||
|
|