mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-28 04:25:40 +00:00
restructure codebase according to vcproj filters
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
// using namespace std;
|
||||
|
||||
#include "GameRuleDefinition.h"
|
||||
#include "../../../../../../Minecraft.World/net/minecraft/Pos.h"
|
||||
|
||||
class UseTileRuleDefinition : public GameRuleDefinition {
|
||||
private:
|
||||
// These values should map directly to the xsd definition for this Rule
|
||||
int m_tileId;
|
||||
bool m_useCoords;
|
||||
Pos m_coordinates;
|
||||
|
||||
public:
|
||||
UseTileRuleDefinition();
|
||||
|
||||
ConsoleGameRules::EGameRuleType getActionType() {
|
||||
return ConsoleGameRules::eGameRuleType_UseTileRule;
|
||||
}
|
||||
|
||||
virtual void writeAttributes(DataOutputStream* dos,
|
||||
unsigned int numAttributes);
|
||||
virtual void addAttribute(const std::wstring& attributeName,
|
||||
const std::wstring& attributeValue);
|
||||
|
||||
virtual bool onUseTile(GameRule* rule, int tileId, int x, int y, int z);
|
||||
};
|
||||
Reference in New Issue
Block a user