Autohost logic. More...
#include <autohost.h>

Public Member Functions | |
| AutoHost (Battle &battle) | |
| void | SetEnabled (const bool enabled) |
| bool | GetEnabled () const |
| void | OnSaidBattle (const wxString &nick, const wxString &msg) |
| void | OnUserAdded (User &user) |
| Should only be called if user isn't immediately kicked (ban / rank limit). | |
| void | OnUserRemoved (User &user) |
Private Member Functions | |
| void | StartBattle () |
Private Attributes | |
| Battle & | m_battle |
| bool | m_enabled |
| time_t | m_lastActionTime |
| wxArrayString | m_userlist |
Autohost logic.
Definition at line 15 of file autohost.h.
| AutoHost::AutoHost | ( | Battle & | battle | ) |
Definition at line 15 of file autohost.cpp.
| bool AutoHost::GetEnabled | ( | ) | const |
Definition at line 28 of file autohost.cpp.
Definition at line 33 of file autohost.cpp.
| void AutoHost::OnUserAdded | ( | User & | user | ) |
Should only be called if user isn't immediately kicked (ban / rank limit).
Definition at line 266 of file autohost.cpp.
| void AutoHost::OnUserRemoved | ( | User & | user | ) |
Definition at line 276 of file autohost.cpp.
| void AutoHost::SetEnabled | ( | const bool | enabled | ) |
Definition at line 23 of file autohost.cpp.
| void AutoHost::StartBattle | ( | ) | [private] |
Definition at line 293 of file autohost.cpp.
Battle& AutoHost::m_battle [private] |
Definition at line 31 of file autohost.h.
bool AutoHost::m_enabled [private] |
Definition at line 33 of file autohost.h.
time_t AutoHost::m_lastActionTime [private] |
Definition at line 34 of file autohost.h.
wxArrayString AutoHost::m_userlist [private] |
Definition at line 35 of file autohost.h.
1.6.3