mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 15:03:36 +00:00
29 lines
960 B
C++
29 lines
960 B
C++
#pragma once
|
|
|
|
#include "XboxStructureActionPlaceBlock.h"
|
|
|
|
class AddItemRuleDefinition;
|
|
class StructurePiece;
|
|
class Level;
|
|
class BoundingBox;
|
|
|
|
class XboxStructureActionPlaceContainer : public XboxStructureActionPlaceBlock
|
|
{
|
|
private:
|
|
std::vector<AddItemRuleDefinition *> m_items;
|
|
public:
|
|
XboxStructureActionPlaceContainer();
|
|
~XboxStructureActionPlaceContainer();
|
|
|
|
virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_PlaceContainer; }
|
|
|
|
virtual void getChildren(std::vector<GameRuleDefinition *> *children);
|
|
virtual GameRuleDefinition *addChild(ConsoleGameRules::EGameRuleType ruleType);
|
|
|
|
// 4J-JEV: Super class handles attr-facing fine.
|
|
//virtual void writeAttributes(DataOutputStream *dos, UINT numAttributes);
|
|
|
|
virtual void addAttribute(const std::wstring &attributeName, const std::wstring &attributeValue);
|
|
|
|
bool placeContainerInLevel(StructurePiece *structure, Level *level, BoundingBox *chunkBB);
|
|
}; |