#include "network.h" #include "loginhandler.h" #include "../logindata.h" class NetHandler { public: NetHandler(); ~NetHandler(); static NetHandler *getNetInstance(); void loadHandlers(); Network *getNetwork(); void clean_up(); // for restart void accountLogin(LoginData *loginData); void charLogin(LoginData *loginData); void mapLogin(LoginData *loginData); void attemptCharSelect(); void mapLoaded(); void privateMessage(std::string name, std::string msg); void publicMessage(std::string msg); void ping(int tick); void sit(); private: };