mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-03-25 00:48:12 +05:00
20 lines
376 B
C++
20 lines
376 B
C++
#pragma once
|
|
|
|
#include "Attribute.h"
|
|
|
|
class BaseAttribute : public Attribute
|
|
{
|
|
private:
|
|
eATTRIBUTE_ID id;
|
|
double defaultValue;
|
|
bool syncable;
|
|
|
|
protected:
|
|
BaseAttribute(eATTRIBUTE_ID id, double defaultValue);
|
|
|
|
public:
|
|
virtual eATTRIBUTE_ID getId();
|
|
virtual double getDefaultValue();
|
|
virtual bool isClientSyncable();
|
|
virtual BaseAttribute *setSyncable(bool syncable);
|
|
}; |