summaryrefslogtreecommitdiff
path: root/src/net/eathena/guildhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-17 17:05:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-17 17:05:37 +0300
commit09bac4d98ec5d5c3a5603526e4dea5816a86c1e6 (patch)
tree4afd6f5e66af92f2b66211cf322079159e9a7d96 /src/net/eathena/guildhandler.h
parentf3db3708b082a885d39c38c42221f37b9c0e0d9d (diff)
downloadplus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.gz
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.bz2
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.xz
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.zip
Remove ea/guildhandler and ea/guildrecv. Because guilds not works in legacy server anymore.
Diffstat (limited to 'src/net/eathena/guildhandler.h')
-rw-r--r--src/net/eathena/guildhandler.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index 3ff9d5042..1a5248517 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -22,12 +22,14 @@
#ifndef NET_EATHENA_GUILDHANDLER_H
#define NET_EATHENA_GUILDHANDLER_H
-#include "net/ea/guildhandler.h"
+#include "net/guildhandler.h"
+
+class GuildTab;
namespace EAthena
{
-class GuildHandler final : public Ea::GuildHandler
+class GuildHandler final : public Net::GuildHandler
{
public:
GuildHandler();
@@ -36,6 +38,10 @@ class GuildHandler final : public Ea::GuildHandler
~GuildHandler();
+ void clear() const override final;
+
+ ChatTab *getTab() const override final;
+
void create(const std::string &name) const override final;
void invite(const std::string &name) const override final;
@@ -89,11 +95,10 @@ class GuildHandler final : public Ea::GuildHandler
void requestEmblem(const int guildId) const override final;
};
+extern Guild *taGuild;
+
} // namespace EAthena
-namespace Ea
-{
- extern Guild *taGuild;
-}
+extern GuildTab *guildTab;
#endif // NET_EATHENA_GUILDHANDLER_H