first commit

This commit is contained in:
murdle
2026-03-01 02:38:58 +02:00
commit 19250b9db4
19111 changed files with 4358159 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
class Command;
class CommandSender;
class CommandDispatcher
{
private:
#ifdef __ORBIS__
unordered_map<EGameCommand, Command *,std::hash<int>> commandsById;
#else
unordered_map<EGameCommand, Command *> commandsById;
#endif
unordered_set<Command *> commands;
public:
void performCommand(shared_ptr<CommandSender> sender, EGameCommand command, byteArray commandData);
Command *addCommand(Command *command);
};