summaryrefslogtreecommitdiff
path: root/include/modules/protocol/unreal.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-12-08 10:18:27 -0500
committerAdam <Adam@anope.org>2016-12-08 10:18:27 -0500
commited08d1a31119adb379f8bec46d7ad47ee35c4c92 (patch)
treebe5de3edeaf26ad7efbf23a3d6508645614f283e /include/modules/protocol/unreal.h
parent0d112886980787ffd5c69e514eebe476bcec8343 (diff)
Export protocol implementations into protocol module headers
Diffstat (limited to 'include/modules/protocol/unreal.h')
-rw-r--r--include/modules/protocol/unreal.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/include/modules/protocol/unreal.h b/include/modules/protocol/unreal.h
index 88ed05997..0a01cb4be 100644
--- a/include/modules/protocol/unreal.h
+++ b/include/modules/protocol/unreal.h
@@ -22,6 +22,83 @@
namespace unreal
{
+class Proto : public IRCDProto
+{
+ public:
+ Proto(Module *creator);
+
+ private:
+ void SendSVSNOOP(Server *server, bool set) override;
+
+ void SendAkillDel(XLine *x) override;
+
+ void SendTopic(const MessageSource &source, Channel *c) override;
+
+ void SendGlobalNotice(ServiceBot *bi, Server *dest, const Anope::string &msg) override;
+
+ void SendGlobalPrivmsg(ServiceBot *bi, Server *dest, const Anope::string &msg) override;
+
+ void SendVhostDel(User *u) override;
+
+ void SendAkill(User *u, XLine *x) override;
+
+ void SendSVSKill(const MessageSource &source, User *user, const Anope::string &buf) override;
+
+ void SendMode(const MessageSource &source, User *u, const Anope::string &buf) override;
+
+ void SendClientIntroduction(User *u) override;
+
+ void SendServer(Server *server) override;
+
+ void SendJoin(User *user, Channel *c, const ChannelStatus *status) override;
+
+ void SendSQLineDel(XLine *x) override;
+
+ void SendSQLine(User *, XLine *x) override;
+
+ void SendVhost(User *u, const Anope::string &vIdent, const Anope::string &vhost) override;
+
+ void SendConnect() override;
+
+ void SendSVSHold(const Anope::string &nick, time_t t) override;
+
+ void SendSVSHoldDel(const Anope::string &nick) override;
+
+ void SendSGLineDel(XLine *x) override;
+
+ void SendSZLineDel(XLine *x) override;
+
+ void SendSZLine(User *, XLine *x) override;
+
+ void SendSGLine(User *, XLine *x) override;
+
+ void SendSVSJoin(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &param) override;
+
+ void SendSVSPart(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &param) override;
+
+ void SendSWhois(const MessageSource &source, const Anope::string &who, const Anope::string &mask) override;
+
+ void SendEOB() override;
+
+ bool IsNickValid(const Anope::string &nick) override;
+
+ bool IsChannelValid(const Anope::string &chan) override;
+
+ bool IsExtbanValid(const Anope::string &mask) override;
+
+ void SendLogin(User *u, NickServ::Nick *na) override;
+
+ void SendLogout(User *u) override;
+
+ void SendChannel(Channel *c) override;
+
+ void SendSASLMessage(const ::SASL::Message &message) override;
+
+ void SendSVSLogin(const Anope::string &uid, const Anope::string &acc, const Anope::string &vident, const Anope::string &vhost) override;
+
+ bool IsIdentValid(const Anope::string &ident) override;
+};
+
class ChgHost : public IRCDMessage
{
public: