Class Application

Inheritance Relationships

Base Types

Class Documentation

class game::Application : public core::ApplicationAbstract, public std::enable_shared_from_this<Application>

The “game” application. The player will connect to this server after authorization.

This application handle the main game logic.

Public Functions

Application(const std::shared_ptr<core::Application> &core_application)
~Application()
void Start() override
void Update(uint32_t elapsedTime) override
std::shared_ptr<core::cache::PlayerCache> GetPlayerCache() const
std::shared_ptr<item::ItemManager> GetItemManager() const
std::shared_ptr<core::Application> GetCoreApplication() const
std::shared_ptr<formats::AnimationManager> GetAnimationManager() const
std::shared_ptr<formats::JobManager> GetJobManager() const
std::shared_ptr<environment::World> GetWorld() const
std::shared_ptr<core::networking::Server> GetServer() const
std::shared_ptr<game::environment::OnlinePlayerCache> GetOnlinePlayerCache() const
const std::map<uint32_t, formats::Monster> &GetMonsters() const
const formats::Monster &GetMonster(uint32_t id) const

Public Static Functions

std::shared_ptr<Application> GetInstance()