#include <ArgsHandler.hpp>
Collaboration diagram for cli::ArgsConfig:Static Public Member Functions | |
| static ArgsConfig | fromFile (const std::string &path) |
Public Attributes | |
| bool | exit = false |
| unsigned int | width = utl::Config::Window::DEFAULT_WINDOW_WIDTH |
| unsigned int | height = utl::Config::Window::DEFAULT_WINDOW_HEIGHT |
| unsigned int | frameLimit = utl::Config::Window::DEFAULT_WINDOW_FRAME_LIMIT |
| bool | fullscreen = utl::Config::Window::DEFAULT_WINDOW_FULLSCREEN |
| std::string | host = utl::Config::Network::DEFAULT_NETWORK_HOST |
| unsigned int | port = utl::Config::Network::DEFAULT_NETWORK_PORT |
| std::string | player_name = utl::Config::Player::DEFAULT_PLAYER_NAME |
| std::string | audio_lib_path = utl::Path::Plugin::PLUGIN_AUDIO_SFML.string() |
| std::string | network_lib_path = utl::Path::Plugin::PLUGIN_NETWORK_ASIO_CLIENT.string() |
| std::string | renderer_lib_path = utl::Path::Plugin::PLUGIN_RENDERER_SFML.string() |
| std::string | game_solo_lib_path = utl::Path::Plugin::PLUGIN_GAME_SOLO.string() |
| std::string | game_multi_lib_path = utl::Path::Plugin::PLUGIN_GAME_MULTI.string() |
Definition at line 18 of file ArgsHandler.hpp.
|
static |
Definition at line 26 of file argsHandler.cpp.
References audio_lib_path, frameLimit, fullscreen, game_multi_lib_path, game_solo_lib_path, height, host, network_lib_path, player_name, port, renderer_lib_path, and width.
Referenced by cli::ArgsHandler::ParseArgs().
Here is the caller graph for this function:| std::string cli::ArgsConfig::audio_lib_path = utl::Path::Plugin::PLUGIN_AUDIO_SFML.string() |
Definition at line 28 of file ArgsHandler.hpp.
Referenced by cli::Client::Client(), and fromFile().
| bool cli::ArgsConfig::exit = false |
Definition at line 20 of file ArgsHandler.hpp.
Referenced by main().
| unsigned int cli::ArgsConfig::frameLimit = utl::Config::Window::DEFAULT_WINDOW_FRAME_LIMIT |
Definition at line 23 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| bool cli::ArgsConfig::fullscreen = utl::Config::Window::DEFAULT_WINDOW_FULLSCREEN |
Definition at line 24 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| std::string cli::ArgsConfig::game_multi_lib_path = utl::Path::Plugin::PLUGIN_GAME_MULTI.string() |
Definition at line 32 of file ArgsHandler.hpp.
Referenced by cli::Client::Client(), and fromFile().
| std::string cli::ArgsConfig::game_solo_lib_path = utl::Path::Plugin::PLUGIN_GAME_SOLO.string() |
Definition at line 31 of file ArgsHandler.hpp.
Referenced by cli::Client::Client(), and fromFile().
| unsigned int cli::ArgsConfig::height = utl::Config::Window::DEFAULT_WINDOW_HEIGHT |
Definition at line 22 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| std::string cli::ArgsConfig::host = utl::Config::Network::DEFAULT_NETWORK_HOST |
Definition at line 25 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| std::string cli::ArgsConfig::network_lib_path = utl::Path::Plugin::PLUGIN_NETWORK_ASIO_CLIENT.string() |
Definition at line 29 of file ArgsHandler.hpp.
Referenced by cli::Client::Client(), and fromFile().
| std::string cli::ArgsConfig::player_name = utl::Config::Player::DEFAULT_PLAYER_NAME |
Definition at line 27 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| unsigned int cli::ArgsConfig::port = utl::Config::Network::DEFAULT_NETWORK_PORT |
Definition at line 26 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().
| std::string cli::ArgsConfig::renderer_lib_path = utl::Path::Plugin::PLUGIN_RENDERER_SFML.string() |
Definition at line 30 of file ArgsHandler.hpp.
Referenced by cli::Client::Client(), and fromFile().
| unsigned int cli::ArgsConfig::width = utl::Config::Window::DEFAULT_WINDOW_WIDTH |
Definition at line 21 of file ArgsHandler.hpp.
Referenced by fromFile(), and cli::Client::setupConfig().