EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
LSCService.cpp File Reference
#include <boost/algorithm/string.hpp>
#include "eve-server.h"
#include "PyServiceCD.h"
#include "admin/CommandDispatcher.h"
#include "admin/SlashService.h"
#include "chat/LSCService.h"
#include "fleet/FleetService.h"
Include dependency graph for LSCService.cpp:

Go to the source code of this file.

Functions

 PyCallable_Make_InnerDispatcher (LSCService) LSCService
 

Variables

const int cspa = 2950
 

Function Documentation

PyCallable_Make_InnerDispatcher ( LSCService  )

Definition at line 59 of file LSCService.cpp.

References ALSC::Action::Configure, m_dispatch, and PyCallable_REG_CALL.

62 : PyService(mgr, "LSC"),
63  m_dispatch(new Dispatcher(this)),
64  m_commandDispatch(cd)
65 {
66  _SetCallDispatcher(m_dispatch);
67 
68  //make sure you edit the header file too
69  PyCallable_REG_CALL(LSCService, GetChannels);
70  PyCallable_REG_CALL(LSCService, GetRookieHelpChannel);
71  PyCallable_REG_CALL(LSCService, JoinChannels);
72  PyCallable_REG_CALL(LSCService, LeaveChannels);
73  PyCallable_REG_CALL(LSCService, LeaveChannel);
74  PyCallable_REG_CALL(LSCService, CreateChannel);
76  PyCallable_REG_CALL(LSCService, DestroyChannel);
77  PyCallable_REG_CALL(LSCService, GetMembers);
78  PyCallable_REG_CALL(LSCService, GetMember);
79  PyCallable_REG_CALL(LSCService, SendMessage);
81  PyCallable_REG_CALL(LSCService, AccessControl);
82 
83  PyCallable_REG_CALL(LSCService, GetMyMessages);
84  PyCallable_REG_CALL(LSCService, GetMessageDetails);
86  PyCallable_REG_CALL(LSCService, MarkMessagesRead);
87  PyCallable_REG_CALL(LSCService, DeleteMessages);
88 
89  // sm.RemoteSvc('LSC').VoiceStatus(eveChannelID, 2) gag
90  // sm.RemoteSvc('LSC').VoiceStatus(eveChannelID, 1) ungag
91  // sm.RemoteSvc('LSC').VoiceStatus(eveChannelName, 0) leave channel
92  m_db = new LSCDB();
93 
94  CreateStaticChannels();
95 
96  // make startup msg with # of static channels created
97 }
Dispatcher *const m_dispatch
Definition: LSCDB.h:36
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78

Variable Documentation

const int cspa = 2950