1
This commit is contained in:
parent
914c93a931
commit
218943f512
@ -40,7 +40,7 @@ GuildMember* Guild::GetMember(const std::string& account_id)
|
|||||||
|
|
||||||
bool Guild::IsFull()
|
bool Guild::IsFull()
|
||||||
{
|
{
|
||||||
return member_hash_.size() < GUILD_MAX_MEMBER_NUM;
|
return member_hash_.size() >= GUILD_MAX_MEMBER_NUM;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Guild::AddMember(GuildMember* member)
|
void Guild::AddMember(GuildMember* member)
|
||||||
|
@ -15,7 +15,6 @@ public:
|
|||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
void UnInit();
|
void UnInit();
|
||||||
void Deserialize(const std::string& guild_data, const std::string& guild_log);
|
|
||||||
|
|
||||||
void _CMGuildInfo(f8::MsgHdr& hdr, const cs::CMGuildInfo& msg);
|
void _CMGuildInfo(f8::MsgHdr& hdr, const cs::CMGuildInfo& msg);
|
||||||
void _CMGuildJoin(f8::MsgHdr& hdr, const cs::CMGuildJoin& msg);
|
void _CMGuildJoin(f8::MsgHdr& hdr, const cs::CMGuildJoin& msg);
|
||||||
@ -48,6 +47,7 @@ private:
|
|||||||
void FillApplyList(const std::string& account_id, cs::MFPaging& paging, cs::SMGuildApplyList& respmsg);
|
void FillApplyList(const std::string& account_id, cs::MFPaging& paging, cs::SMGuildApplyList& respmsg);
|
||||||
void ClearApplyBySenderId(const std::string& sender_id);
|
void ClearApplyBySenderId(const std::string& sender_id);
|
||||||
void ClearApplyByIdx(long long idx);
|
void ClearApplyByIdx(long long idx);
|
||||||
|
void Deserialize(const std::string& guild_data, const std::string& guild_log);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool dirty_ = false;
|
bool dirty_ = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user