mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-08-08 14:46:54 +00:00
feat: init
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#include "stdafx.h"
|
||||
|
||||
#include "BaseAttribute.h"
|
||||
|
||||
BaseAttribute::BaseAttribute(eATTRIBUTE_ID id, double defaultValue)
|
||||
{
|
||||
this->id = id;
|
||||
this->defaultValue = defaultValue;
|
||||
syncable = false;
|
||||
}
|
||||
|
||||
eATTRIBUTE_ID BaseAttribute::getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
|
||||
double BaseAttribute::getDefaultValue()
|
||||
{
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
bool BaseAttribute::isClientSyncable()
|
||||
{
|
||||
return syncable;
|
||||
}
|
||||
|
||||
BaseAttribute *BaseAttribute::setSyncable(bool syncable)
|
||||
{
|
||||
this->syncable = syncable;
|
||||
return this;
|
||||
}
|
||||
Reference in New Issue
Block a user