declare packets + commands

This commit is contained in:
2024-10-13 15:30:57 +02:00
parent 77317df56c
commit 0354ce776b
18 changed files with 461 additions and 273 deletions

View File

@@ -2,14 +2,12 @@
// #include <td/protocol/packet/PacketVisitor.h>
#include <td/protocol/command/CommandDispatcher.h>
#include <td/protocol/command/CommandFactory.h>
#include <td/protocol/command/CommandHandler.h>
#include <td/protocol/command/CommandSerializer.h>
#include <td/protocol/command/CommandVisitor.h>
#include <td/game/GameHistory.h>
class Test : public td::protocol::CommandVisitor {};
class Test2 : public td::protocol::CommandHandler {};
int main(int argc, char** argv) {
// Test visitor;
// td::protocol::packets::ChatMessage chat{{"coucou"}};