diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-20 01:34:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-20 01:34:13 +0300 |
commit | 75c8412edc9030ff86dc80dc4143d873cda9d4d1 (patch) | |
tree | 284975df74a7ae336656bd19ee3cf99a319ef0bf /src/net/eathena/partyhandler.cpp | |
parent | 59bc8a615eb7939474190539fe7848da0132e8f8 (diff) | |
download | manaverse-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.gz manaverse-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.bz2 manaverse-75c8412edc9030ff86dc80dc4143d873cda9d4d1.tar.xz manaverse-75c8412edc9030ff86dc80dc4143d873cda9d4d1.zip |
Allow get auto item share party option.
Diffstat (limited to 'src/net/eathena/partyhandler.cpp')
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 11 |
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 |