Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
478 B · 31 lines
C++
at master
12345678910111213141516171819202122232425262728293031#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;}