27 #ifndef __LSC_SERVICE_H_INCL__
28 #define __LSC_SERVICE_H_INCL__
65 std::vector<int32> recs(1, recipient);
66 SendMail(sender, recs, subject, content);
68 void SendMail(
uint32 sender,
const std::vector<int32> &recipients,
const std::string &subject,
const std::string &content);
105 bool memberless =
false,
bool maillist =
false,
bool temporary =
false,
bool languageRestriction =
false);
LSCChannel * GetChannelByID(int32 channelID)
void CreateStaticChannels()
void SendMail(uint32 sender, uint32 recipient, const std::string &subject, const std::string &content)
Dispatcher *const m_dispatch
void CreateSystemChannel(int32 channelID)
std::map< int32, LSCChannel * > m_channels
void CharacterLogin(Client *pClient)
PyResult ExecuteCommand(Client *from, const char *msg)
PyCallable_DECL_CALL(GetChannels)
void Init(CommandDispatcher *cd)
LSCService(PyServiceMgr *mgr, CommandDispatcher *cd)
LSCChannel * CreateChannel(int32 channelID, uint32 ownerID, const char *name, std::string motd, const char *password, const char *compkey, LSC::Type type=LSC::Type::normal, uint32 cspa=0, int32 groupMessageID=0, int32 channelMessageID=0, bool memberless=false, bool maillist=false, bool temporary=false, bool languageRestriction=false)
static const int32 BASE_CHANNEL_ID
void SendServerMOTD(Client *pClient)
LSCChannel * GetChannelByName(std::string channelName)
void SystemUnload(uint32 systemID, uint32 constID, uint32 regionID)
static const uint32 MAX_CHANNEL_ID
CommandDispatcher *const m_commandDispatch