blob: ae7d32f7d5c1551be818c2cdb0775b9536092d5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
}
|