#include // #include #include #include #include #include #include class Test : public td::protocol::CommandVisitor {}; int main(int argc, char** argv) { // 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; }