first commit
This commit is contained in:
22
Minecraft.Client/Common/GameRules/StartFeature.h
Normal file
22
Minecraft.Client/Common/GameRules/StartFeature.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
#include "GameRuleDefinition.h"
|
||||
#include "..\..\..\Minecraft.World\StructureFeature.h"
|
||||
|
||||
class StartFeature : public GameRuleDefinition
|
||||
{
|
||||
private:
|
||||
int m_chunkX, m_chunkZ;
|
||||
StructureFeature::EFeatureTypes m_feature;
|
||||
|
||||
public:
|
||||
StartFeature();
|
||||
|
||||
virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_StartFeature; }
|
||||
|
||||
virtual void writeAttributes(DataOutputStream *dos, UINT numAttrs);
|
||||
virtual void addAttribute(const wstring &attributeName, const wstring &attributeValue);
|
||||
|
||||
bool isFeatureChunk(int chunkX, int chunkZ, StructureFeature::EFeatureTypes feature);
|
||||
};
|
||||
Reference in New Issue
Block a user