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