60 outMsg.writeString(name.substr(0, 23), 24,
"party name");
72 outMsg.writeBeingId(being->
getId(),
"account id");
79 outMsg.writeString(name, 24,
"nick");
89 outMsg.writeInt32(partyId,
"party id");
101 if (being !=
nullptr)
104 outMsg.writeBeingId(being->
getId(),
"account id");
105 outMsg.writeString(being->
getName(), 24,
"player name");
122 outMsg.writeBeingId(m->
getID(),
"account id");
123 outMsg.writeString(name, 24,
"player name");
133 outMsg.writeInt16(
CAST_S16(mes.length() + 4),
"len");
134 outMsg.writeString(mes,
CAST_S32(mes.length()),
"nick : message");
138 outMsg.writeInt16(
CAST_S16(mes.length() + 4 + 1),
"len");
139 outMsg.writeString(mes,
CAST_S32(mes.length()),
"nick : message");
140 outMsg.writeInt8(0,
"null char");
153 outMsg.writeInt32(
CAST_S32(share),
"share exp");
159 outMsg.writeInt32(
CAST_S32(share),
"share exp");
174 outMsg.writeInt16(
CAST_S16(share),
"share items");
184 if (being ==
nullptr)
187 outMsg.writeBeingId(being->
getId(),
"account id");
193 outMsg.writeInt8(
CAST_S8(allow ? 1 : 0),
"allow");
ActorManager * actorManager
Being * findBeingByName(const std::string &name, const ActorTypeT type) const
const std::string & getName() const
void chat(const std::string &text) const
void changeLeader(const std::string &name) const
void invite(const std::string &name) const
void setShareExperience(const PartyShareT share) const
void setShareAutoItems(const PartyShareT share) const
void create(const std::string &name) const
void allowInvite(const bool allow) const
void inviteResponse(const int partyId, const bool accept) const
void kick(const Being *const being) const
PartyShareT getShareAutoItems() const
void setShareItems(const PartyShareT share) const
PartyMember * getMember(const BeingId id) const
LocalPlayer * localPlayer
#define createOutPacket(name)
PartyShareT mShareAutoItems
void notify(const unsigned int message)
@ PARTY_USER_NOT_IN_PARTY
TcpNet::Socket accept(const TcpNet::Socket sock)
Net::PartyHandler * partyHandler
PartyShare ::T PartyShareT