summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-20 01:34:13 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-20 01:34:13 +0300
commit75c8412edc9030ff86dc80dc4143d873cda9d4d1 (patch)
tree284975df74a7ae336656bd19ee3cf99a319ef0bf /src/net/eathena/partyhandler.cpp
parent59bc8a615eb7939474190539fe7848da0132e8f8 (diff)
downloadplus-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.gz
plus-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.bz2
plus-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.xz
plus-75c8412edc9030ff86dc80dc4143d873cda9d4d1.zip
Allow get auto item share party option.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r--src/net/eathena/partyhandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp
index 7de6dcd9c..df9e43dee 100644
--- a/src/net/eathena/partyhandler.cpp
+++ b/src/net/eathena/partyhandler.cpp
@@ -32,6 +32,7 @@
#include "net/ea/partyrecv.h"
#include "net/eathena/messageout.h"
+#include "net/eathena/partyrecv.h"
#include "net/eathena/protocolout.h"
#include "debug.h"
@@ -193,4 +194,14 @@ void PartyHandler::allowInvite(const bool allow) const
outMsg.writeInt8(CAST_S8(allow ? 1 : 0), "allow");
}
+PartyShareT PartyHandler::getShareAutoItems() const
+{
+ return PartyRecv::mShareAutoItems;
+}
+
+void PartyHandler::setShareAutoItems(const PartyShareT share) const
+{
+ PartyRecv::mShareAutoItems = share;
+}
+
} // namespace EAthena