57 outMsg.writeString(name.substr(0, 23), 24,
"party name");
70 outMsg.writeBeingId(being->
getId(),
"account id");
81 outMsg.writeInt32(
accept ? 1 : 0,
"accept");
95 outMsg.writeBeingId(being->
getId(),
"account id");
96 outMsg.writeString(
"", 24,
"unused");
113 outMsg.writeBeingId(m->
getID(),
"member id");
114 outMsg.writeString(name, 24,
"unused");
120 outMsg.writeInt16(
CAST_S16(text.length() + 4),
"len");
121 outMsg.writeString(text,
CAST_S32(text.length()),
"text");
130 outMsg.writeInt16(
CAST_S16(share),
"share exp");
143 outMsg.writeInt16(
CAST_S16(share),
"share items");
ActorManager * actorManager
Being * findBeingByName(const std::string &name, const ActorTypeT type) const
PartyMember * getMember(const BeingId id) const
void chat(const std::string &text) const
void setShareExperience(const PartyShareT share) const
void allowInvite(const bool allow) const
void inviteResponse(const int partyId, const bool accept) const
void create(const std::string &name) const
void changeLeader(const std::string &name) const
PartyShareT getShareAutoItems() const
void kick(const Being *const being) const
void setShareAutoItems(const PartyShareT share) const
void invite(const std::string &name) const
void setShareItems(const PartyShareT share) const
LocalPlayer * localPlayer
#define createOutPacket(name)
void notify(const unsigned int message)
@ PARTY_USER_NOT_IN_PARTY
TcpNet::Socket accept(const TcpNet::Socket sock)
Net::PartyHandler * partyHandler
PartyShare ::T PartyShareT