summaryrefslogtreecommitdiff
path: root/src/net/eathena/partyhandler.cpp
diff options
context:
space:
mode:
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