gros push encore

This commit is contained in:
2024-10-07 19:48:36 +02:00
parent 701b815dc1
commit 77317df56c
28 changed files with 777 additions and 105 deletions

View File

@@ -1,6 +1,23 @@
#include <iostream>
// #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>
class Test : public td::protocol::CommandVisitor {};
class Test2 : public td::protocol::CommandHandler {};
int main(int argc, char** argv) {
std::cout << "hello world!" << std::endl;
return 0;
// Test visitor;
// td::protocol::packets::ChatMessage chat{{"coucou"}};
// visitor.Check(chat);
td::protocol::commands::UpgradeTower com{{1, 2}};
std::cout << (unsigned)com.GetType() << std::endl;
td::protocol::CommandDispatcher disptacher;
return 0;
}