Class Application

Nested Relationships

Inheritance Relationships

Base Type

  • public std::enable_shared_from_this< Application >

Class Documentation

class simulator::Application : public std::enable_shared_from_this<Application>

Public Functions

Application()
~Application()
boost::asio::io_context &GetContext()
uint32_t GetCoreTime()
uint32_t GetServerTime()
std::shared_ptr<entity::EntityManager> GetEntityManager()
std::shared_ptr<networking::ClientConnector> GetConnector()
std::shared_ptr<simulations::Simulation> GetSimulation()
uint32_t GetLoginKey()
const std::string &GetBotUserName()
const std::string &GetBotPassword()
void SetLoginKey(uint32_t key)
int SetOptions(boost::program_options::variables_map &vm, std::vector<std::string> &unrecognizedOptions)
void SetServerTime(uint32_t tm)
void Start()

Public Static Functions

std::shared_ptr<Application> GetInstance()
struct BotOptions

Public Members

std::string userName
std::string password
uint8_t defaultChar
std::string authIP
std::string gameIP
uint16_t authPort
uint16_t gamePort
bool tryReconnect
bool reconnectIfFailed