mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 22:57:13 +00:00
23 lines
541 B
C++
23 lines
541 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
#include "Minecraft.World/net/minecraft/world/level/tile/entity/net.minecraft.world.level.tile.entity.h"
|
|
|
|
class CommandBlockEntity;
|
|
|
|
class IUIScene_CommandBlockMenu {
|
|
public:
|
|
virtual ~IUIScene_CommandBlockMenu() = default;
|
|
void Initialise(CommandBlockEntity* commandBlock);
|
|
|
|
protected:
|
|
void ConfirmButtonClicked();
|
|
|
|
virtual std::wstring GetCommand() = 0;
|
|
virtual void SetCommand(std::wstring command) = 0;
|
|
virtual int GetPad() = 0;
|
|
|
|
private:
|
|
CommandBlockEntity* m_commandBlock;
|
|
};
|