26 #ifndef __LSCCHANNEL_H_INCL__
27 #define __LSCCHANNEL_H_INCL__
31 #include "packets/LSCPkts.h"
93 bool memberless,
const char* password,
bool mailingList,
uint32 cspa,
bool temporary,
bool languageRestriction,
int32 groupMessageID,
int32 channelMessageID
116 void GetChannelInfo(
int32 * channelID,
uint32 * ownerID, std::string &displayName, std::string &motd, std::string &comparisonKey,
117 bool * memberless, std::string &password,
bool * mailingList,
uint32 * cspa,
uint32 * temporary);
LSCChannelChar(LSCChannel *chan, uint32 corpID, uint32 charID, std::string charName, uint32 allianceID, uint32 warFactionID, int64 role, uint32 extra, LSC::Mode mode)
LSCService *const m_service
PyRep * EncodeChannelChars()
static OnLSC_SenderInfo * _MakeSenderInfo(Client *from)
void SetMemberless(bool memberless)
std::map< uint32, LSCChannelMod > m_mods
void SetPassword(std::string password)
void GetChannelInfo(int32 *channelID, uint32 *ownerID, std::string &displayName, std::string &motd, std::string &comparisonKey, bool *memberless, std::string &password, bool *mailingList, uint32 *cspa, uint32 *temporary)
std::string m_displayName
PyRep * EncodeStaticChannel(uint32 charID)
std::string GetPassword()
bool m_languageRestriction
OnLSC_SenderInfo * _FakeSenderInfo()
bool IsJoined(uint32 charID)
LSCChannelMod(LSCChannel *chan, uint32 accessor, int64 untilWhen, uint32 originalMode, std::string admin, std::string reason, LSC::Mode mode)
PyRep * EncodeDynamicChannel(uint32 charID)
LSCChannel(LSCService *svc, int32 channelID, LSC::Type type, uint32 ownerID, const char *displayName, const char *comparisonKey, std::string motd, bool memberless, const char *password, bool mailingList, uint32 cspa, bool temporary, bool languageRestriction, int32 groupMessageID, int32 channelMessageID)
PyRep * EncodeEmptyChannelChars()
std::string GetDisplayName()
std::map< uint32, LSCChannelChar > m_chars
void LeaveChannel(Client *pClient)
bool JoinChannel(Client *pClient)
void SetMOTD(std::string motd)
void SetDisplayName(std::string displayName)
const char * GetTypeString()
void SendServerMOTD(Client *pClient)
void SendMessage(Client *c, const char *message, bool self=false)
std::string GetComparisonKey()
std::string m_comparisonKey
PyRep * EncodeChannelMods()