Files
MinecraftPS3Edition/Minecraft.World/CommandDispatcher.h
T
2026-03-08 15:26:08 -05:00

15 lines
328 B
C++

#pragma once
class Command;
class CommandSender;
class CommandDispatcher
{
private:
unordered_map<EGameCommand, Command *> commandsById;
unordered_set<Command *> commands;
public:
void performCommand(shared_ptr<CommandSender> sender, EGameCommand command, byteArray commandData);
Command *addCommand(Command *command);
};