summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 20:43:05 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 20:43:05 +0300
commitdbc2777989e3646dad554e16acb9c49e9b722adb (patch)
tree06db9ba6b48f0cae658dde4c37e78f450695590d /src
parent4b0e8e066ae5314bf8efd56f200b5aea338e24bc (diff)
downloadmv-dbc2777989e3646dad554e16acb9c49e9b722adb.tar.gz
mv-dbc2777989e3646dad554e16acb9c49e9b722adb.tar.bz2
mv-dbc2777989e3646dad554e16acb9c49e9b722adb.tar.xz
mv-dbc2777989e3646dad554e16acb9c49e9b722adb.zip
In server features add method haveChangePartyLeader.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
-rw-r--r--src/net/serverfeatures.h2
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
5 files changed, 16 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 5d5a6d588..e0f073cd2 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -42,4 +42,9 @@ bool ServerFeatures::havePartyNickInvite() const
return true;
}
+bool ServerFeatures::haveChangePartyLeader() const
+{
+ return true;
+}
+
} // EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 9bc856f1e..dbd4c756f 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -37,6 +37,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveOnlineList() const override final;
bool havePartyNickInvite() const override final;
+
+ bool haveChangePartyLeader() const override final;
};
} // namespace Net
diff --git a/src/net/serverfeatures.h b/src/net/serverfeatures.h
index 3f3268c3a..504a5dbae 100644
--- a/src/net/serverfeatures.h
+++ b/src/net/serverfeatures.h
@@ -34,6 +34,8 @@ class ServerFeatures notfinal
virtual bool haveOnlineList() const = 0;
virtual bool havePartyNickInvite() const = 0;
+
+ virtual bool haveChangePartyLeader() const = 0;
};
} // namespace Net
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index c8c497613..4aa1bfadd 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -43,4 +43,9 @@ bool ServerFeatures::havePartyNickInvite() const
return false;
}
+bool ServerFeatures::haveChangePartyLeader() const
+{
+ return false;
+}
+
} // TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 2c846a6ce..f934c31e2 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -37,6 +37,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveOnlineList() const override final;
bool havePartyNickInvite() const override final;
+
+ bool haveChangePartyLeader() const override final;
};
} // namespace Net