summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/guildhandler.cpp5
-rw-r--r--src/net/eathena/guildhandler.h2
-rw-r--r--src/net/guildhandler.h2
-rw-r--r--src/net/tmwa/guildhandler.cpp5
-rw-r--r--src/net/tmwa/guildhandler.h2
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/guildhandler.cpp b/src/net/eathena/guildhandler.cpp
index 6beebee9f..9ea98903a 100644
--- a/src/net/eathena/guildhandler.cpp
+++ b/src/net/eathena/guildhandler.cpp
@@ -324,4 +324,9 @@ void GuildHandler::changeNotice(const int guildId,
msg.writeString(msg2, 120); // msg2
}
+void GuildHandler::checkMaster() const
+{
+ MessageOut msg(CMSG_GUILD_CHECK_MASTER);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index ca52caea1..aeda0c210 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -70,6 +70,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
const std::string &restrict msg1,
const std::string &restrict msg2)
const override final;
+
+ void checkMaster() const;
};
extern Ea::GuildTab *guildTab;
diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h
index d67e930b2..2972b4f23 100644
--- a/src/net/guildhandler.h
+++ b/src/net/guildhandler.h
@@ -80,6 +80,8 @@ class GuildHandler notfinal
const std::string &restrict msg1,
const std::string &restrict msg2) const = 0;
+ virtual void checkMaster() const = 0;
+
virtual void clear() const = 0;
virtual ChatTab *getTab() const = 0;
diff --git a/src/net/tmwa/guildhandler.cpp b/src/net/tmwa/guildhandler.cpp
index a97da4153..5aa272475 100644
--- a/src/net/tmwa/guildhandler.cpp
+++ b/src/net/tmwa/guildhandler.cpp
@@ -329,4 +329,9 @@ void GuildHandler::changeNotice(const int guildId,
msg.writeString(msg2, 120); // msg2
}
+void GuildHandler::checkMaster() const
+{
+ MessageOut msg(CMSG_GUILD_CHECK_MASTER);
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h
index 666a4b45c..f1422c7a1 100644
--- a/src/net/tmwa/guildhandler.h
+++ b/src/net/tmwa/guildhandler.h
@@ -70,6 +70,8 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
const std::string &restrict msg1,
const std::string &restrict msg2)
const override final;
+
+ void checkMaster() const;
};
extern Ea::GuildTab *guildTab;