#include <ClientParams.h>

Public Member Functions | |
| const char * | getConnect () |
| const char * | getClientFile () |
| const char * | getSaveFile () |
| const char * | getUserName () |
| const char * | getPassword () |
| const char * | getNonParam () |
| int | getExitTime () |
| bool | getStartCustom () |
| bool | getConnectedToServer () |
| void | setStartCustom (bool custom) |
| void | setClientFile (const char *file) |
| void | setSaveFile (const char *file) |
| void | setUserName (const char *username) |
| void | setPassword (const char *password) |
| void | setConnect (const char *address) |
| void | setExitTime (int time) |
| void | reset () |
Static Public Member Functions | |
| static ClientParams * | instance () |
Protected Attributes | |
| OptionEntryString | connect_ |
| OptionEntryString | client_ |
| OptionEntryString | password_ |
| OptionEntryString | username_ |
| OptionEntryString | save_ |
| OptionEntryString | nonParam_ |
| OptionEntryBool | startcustom_ |
| OptionEntryInt | exittime_ |
Static Protected Attributes | |
| static ClientParams * | instance_ = 0 |
Private Member Functions | |
| ClientParams () | |
| virtual | ~ClientParams () |
Definition at line 26 of file ClientParams.h.
| ClientParams::ClientParams | ( | ) | [private] |
Definition at line 35 of file ClientParams.cpp.
| ClientParams::~ClientParams | ( | ) | [private, virtual] |
Definition at line 56 of file ClientParams.cpp.
| ClientParams * ClientParams::instance | ( | ) | [static] |
Definition at line 25 of file ClientParams.cpp.
References instance_.
Referenced by InfoMap::addAdapters(), ClientWindowSetup::addCommonComponents(), OptionsDisplayConsole::addDisplayToConsole(), ScoreDialog::addLine(), SettingsSelectDialog::buttonDown(), SaveSelectDialog::buttonDown(), PlayerDialog::buttonDown(), NetworkSelectDialog::buttonDown(), ModSubSelectDialog::buttonDown(), AuthDialog::buttonDown(), checkLaunchFile(), QuitDialog::display(), PlayerDialog::display(), AuthDialog::display(), ScoreDialog::draw(), initClient(), initComs(), ClientInitializeHandler::initialize(), ScorchedServer::instance(), SpeedChange::keyboardCheck(), PlayerDialog::keyDown(), main(), StartDialog::mouseDown(), PlayerDialog::nextPlayer(), PlayerDialog::PlayerDialog(), TankMenus::PlayerMenu::PlayerMenu(), ClientConnectionAuthHandler::processMessage(), ClientConnectionAcceptHandler::processMessage(), ClientConnectionAuthHandler::sendAuth(), SpeedChange::setSpeed(), TankMenus::showTankDetails(), MainCamera::simulate(), ClientProcessingLoop::simulate(), startClientInternal(), and ConnectDialog::tryConnection().
| const char* ClientParams::getConnect | ( | ) | [inline] |
Definition at line 31 of file ClientParams.h.
References connect_, and OptionEntryString::getValue().
Referenced by getConnectedToServer(), and ConnectDialog::tryConnection().
| const char* ClientParams::getClientFile | ( | ) | [inline] |
Definition at line 32 of file ClientParams.h.
References client_, and OptionEntryString::getValue().
Referenced by startClientInternal().
| const char* ClientParams::getSaveFile | ( | ) | [inline] |
| const char* ClientParams::getUserName | ( | ) | [inline] |
Definition at line 34 of file ClientParams.h.
References OptionEntryString::getValue(), and username_.
Referenced by ClientConnectionAuthHandler::processMessage().
| const char* ClientParams::getPassword | ( | ) | [inline] |
Definition at line 35 of file ClientParams.h.
References OptionEntryString::getValue(), and password_.
Referenced by ClientConnectionAuthHandler::processMessage().
| const char* ClientParams::getNonParam | ( | ) | [inline] |
Definition at line 36 of file ClientParams.h.
References OptionEntryString::getValue(), and nonParam_.
| int ClientParams::getExitTime | ( | ) | [inline] |
| bool ClientParams::getStartCustom | ( | ) | [inline] |
Definition at line 38 of file ClientParams.h.
References OptionEntryBool::getValue(), and startcustom_.
| bool ClientParams::getConnectedToServer | ( | ) | [inline] |
Definition at line 39 of file ClientParams.h.
References getConnect().
Referenced by OptionsDisplayConsole::addDisplayToConsole(), PlayerDialog::buttonDown(), QuitDialog::display(), ScoreDialog::draw(), ClientConnectionAcceptHandler::processMessage(), SpeedChange::setSpeed(), and TankMenus::showTankDetails().
| void ClientParams::setStartCustom | ( | bool | custom | ) | [inline] |
Definition at line 41 of file ClientParams.h.
References OptionEntryBool::setValue(), and startcustom_.
Referenced by SettingsSelectDialog::buttonDown().
| void ClientParams::setClientFile | ( | const char * | file | ) | [inline] |
Definition at line 42 of file ClientParams.h.
References client_, and OptionEntryString::setValue().
Referenced by ModSubSelectDialog::buttonDown(), and StartDialog::mouseDown().
| void ClientParams::setSaveFile | ( | const char * | file | ) | [inline] |
Definition at line 43 of file ClientParams.h.
References save_, and OptionEntryString::setValue().
Referenced by SaveSelectDialog::buttonDown().
| void ClientParams::setUserName | ( | const char * | username | ) | [inline] |
Definition at line 44 of file ClientParams.h.
References OptionEntryString::setValue(), and username_.
Referenced by AuthDialog::buttonDown().
| void ClientParams::setPassword | ( | const char * | password | ) | [inline] |
Definition at line 45 of file ClientParams.h.
References password_, and OptionEntryString::setValue().
Referenced by AuthDialog::buttonDown().
| void ClientParams::setConnect | ( | const char * | address | ) | [inline] |
Definition at line 46 of file ClientParams.h.
References connect_, and OptionEntryString::setValue().
Referenced by NetworkSelectDialog::buttonDown(), and checkLaunchFile().
| void ClientParams::setExitTime | ( | int | time | ) | [inline] |
Definition at line 47 of file ClientParams.h.
References exittime_, and OptionEntryInt::setValue().
Referenced by main().
| void ClientParams::reset | ( | ) |
Definition at line 61 of file ClientParams.cpp.
References client_, connect_, exittime_, OptionEntryInt::getDefaultValueAsString(), OptionEntryBool::getDefaultValueAsString(), OptionEntryString::getDefaultValueAsString(), password_, save_, OptionEntryInt::setValueFromString(), OptionEntryBool::setValueFromString(), OptionEntryString::setValueFromString(), startcustom_, and username_.
Referenced by SettingsSelectDialog::buttonDown(), SaveSelectDialog::buttonDown(), NetworkSelectDialog::buttonDown(), ModSubSelectDialog::buttonDown(), and StartDialog::mouseDown().
ClientParams * ClientParams::instance_ = 0 [static, protected] |
OptionEntryString ClientParams::connect_ [protected] |
Definition at line 54 of file ClientParams.h.
Referenced by getConnect(), reset(), and setConnect().
OptionEntryString ClientParams::client_ [protected] |
Definition at line 55 of file ClientParams.h.
Referenced by getClientFile(), reset(), and setClientFile().
OptionEntryString ClientParams::password_ [protected] |
Definition at line 56 of file ClientParams.h.
Referenced by getPassword(), reset(), and setPassword().
OptionEntryString ClientParams::username_ [protected] |
Definition at line 57 of file ClientParams.h.
Referenced by getUserName(), reset(), and setUserName().
OptionEntryString ClientParams::save_ [protected] |
Definition at line 58 of file ClientParams.h.
Referenced by getSaveFile(), reset(), and setSaveFile().
OptionEntryString ClientParams::nonParam_ [protected] |
OptionEntryBool ClientParams::startcustom_ [protected] |
Definition at line 60 of file ClientParams.h.
Referenced by getStartCustom(), reset(), and setStartCustom().
OptionEntryInt ClientParams::exittime_ [protected] |
Definition at line 61 of file ClientParams.h.
Referenced by getExitTime(), reset(), and setExitTime().
1.5.3