Add Discord RPC back with new features, add beta splitscreen support, PR's from MCLCE used in this https://github.com/MCLCE/MinecraftConsoles/pull/1044 https://github.com/MCLCE/MinecraftConsoles/pull/1136 https://github.com/MCLCE/MinecraftConsoles/pull/1245
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);
|
|
}; |