|
EvEmu
0.8.4
11 September 2021
|
#include "SlashService.h"


Public Member Functions | |
| SlashService (PyServiceMgr *mgr, CommandDispatcher *cd) | |
| virtual | ~SlashService () |
| PyResult | SlashCommand (Client *client, std::string command) |
Public Member Functions inherited from PyService | |
| PyService (PyServiceMgr *mgr, const char *serviceName) | |
| virtual | ~PyService () |
| virtual PyResult | Call (const std::string &method, PyCallArgs &args) |
| const char * | GetName () const |
Public Member Functions inherited from PyCallable | |
| PyCallable () | |
| virtual | ~PyCallable () |
Protected Member Functions | |
| PyCallable_DECL_CALL (SlashCmd) | |
Protected Member Functions inherited from PyService | |
| PyObject * | _BuildCachedReturn (PySubStream **result, const char *sessionInfo, CacheCheckTime check) |
| virtual PyBoundObject * | CreateBoundObject (Client *pClient, const PyRep *bind_args) |
| virtual PyResult | Handle_MachoResolveObject (PyCallArgs &call) |
| virtual PyResult | Handle_MachoBindObject (PyCallArgs &call) |
Protected Member Functions inherited from PyCallable | |
| void | _SetCallDispatcher (CallDispatcher *d) |
Protected Attributes | |
| Dispatcher *const | m_dispatch |
| CommandDispatcher *const | m_commandDispatch |
Protected Attributes inherited from PyService | |
| PyServiceMgr *const | m_manager |
Additional Inherited Members | |
Protected Types inherited from PyService | |
| enum | CacheCheckTime { check_Always = 0, check_Never, check_in_year, check_in_6_months, check_in_3_months, check_in_1_month, check_in_1_week, check_in_1_day, check_in_12_hours, check_in_6_hours, check_in_3_hours, check_in_2_hours, check_in_1_hour, check_in_30_minutes, check_in_15_minutes, check_in_5_minutes, check_in_1_minute, check_in_30_seconds, check_in_15_seconds, check_in_5_seconds, check_in_1_second, _checkCount } |
Static Protected Attributes inherited from PyService | |
| static const char *const | s_checkTimeStrings [_checkCount] |
Definition at line 32 of file SlashService.h.
| SlashService::SlashService | ( | PyServiceMgr * | mgr, |
| CommandDispatcher * | cd | ||
| ) |
|
virtual |
|
protected |
Definition at line 65 of file SlashService.cpp.
References _log, CommandDispatcher::Execute(), Client::GetAccountRole(), PyService::GetName(), Client::GetName(), m_commandDispatch, and Acct::Role::SLASH.

|
protected |
Definition at line 43 of file SlashService.h.
Referenced by SlashCommand().
|
protected |
Definition at line 41 of file SlashService.h.
Referenced by ~SlashService().