mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-25 05:50:44 +00:00
funny
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "GameRuleDefinition.h"
|
||||
|
||||
class NamedAreaRuleDefinition : public GameRuleDefinition
|
||||
{
|
||||
private:
|
||||
wstring m_name;
|
||||
AABB *m_area;
|
||||
|
||||
public:
|
||||
NamedAreaRuleDefinition();
|
||||
~NamedAreaRuleDefinition();
|
||||
|
||||
virtual void writeAttributes(DataOutputStream *dos, UINT numAttributes);
|
||||
|
||||
virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_NamedArea; }
|
||||
|
||||
virtual void addAttribute(const wstring &attributeName, const wstring &attributeValue);
|
||||
|
||||
AABB *getArea() { return m_area; }
|
||||
wstring getName() { return m_name; }
|
||||
};
|
||||
Reference in New Issue
Block a user