1
This commit is contained in:
parent
924b98dd6c
commit
1a6c150d79
@ -14,6 +14,14 @@
|
|||||||
|
|
||||||
const int GUILD_MAX_MEMBER_NUM = 50;
|
const int GUILD_MAX_MEMBER_NUM = 50;
|
||||||
|
|
||||||
|
enum GuildApplyStatus_e
|
||||||
|
{
|
||||||
|
kGuildApplyPending = 0,
|
||||||
|
kGuildApplyAgree = 1,
|
||||||
|
kGuildApplyReject = 2,
|
||||||
|
kGuildApplyIgnore = 3,
|
||||||
|
};
|
||||||
|
|
||||||
void Guild::Init()
|
void Guild::Init()
|
||||||
{
|
{
|
||||||
logdb_ = new ss::MFGuildLogDB;
|
logdb_ = new ss::MFGuildLogDB;
|
||||||
@ -155,8 +163,9 @@ void Guild::_CMGuildAgree(f8::MsgHdr& hdr, const cs::CMGuildAgree& msg)
|
|||||||
(
|
(
|
||||||
msg.apply().base_data().account_id(),
|
msg.apply().base_data().account_id(),
|
||||||
guild_id_,
|
guild_id_,
|
||||||
1
|
kGuildApplyAgree
|
||||||
);
|
);
|
||||||
|
ClearApplyBySenderId(msg.apply().base_data().account_id());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (IsFull()) {
|
if (IsFull()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user