1
This commit is contained in:
parent
a0f19fa303
commit
d7c4328324
@ -87,7 +87,7 @@ bool App::Init(int argc, char* argv[])
|
||||
HandlerMgr::Instance()->Init();
|
||||
a8::Timer::Instance()->Init();
|
||||
f8::MsgQueue::Instance()->Init();
|
||||
f8::TGLog::Instance()->Init(a8::Format(PROJ_NAME_FMT, {GAME_ID}), false);
|
||||
f8::TGLog::Instance()->Init(a8::Format(PROJ_NAME_FMT, {GAME_ID}), true);
|
||||
GameLog::Instance()->Init();
|
||||
a8::IoLoop::Instance()->Init(1);
|
||||
JsonDataMgr::Instance()->Init();
|
||||
|
@ -17,6 +17,8 @@ class Player
|
||||
a8::TimerAttacher timer_attacher;
|
||||
|
||||
Friend myself;
|
||||
std::string account_id;
|
||||
std::string session_id;
|
||||
int today_invite_times = 0;
|
||||
int last_invite_time = 0;
|
||||
|
||||
|
@ -63,4 +63,5 @@ enum SMMessageId_e
|
||||
_SMCustomMsgNotify = 503;
|
||||
_SMUserTempCustomDataUpdate = 504;
|
||||
_SMDeleteFriendNotify = 505;
|
||||
_SMUpdateAccountInfo = 506;
|
||||
}
|
||||
|
@ -48,6 +48,12 @@ message MFUserTempCustomData
|
||||
optional int64 value3 = 3 [default = 0]; //自定义字段3
|
||||
}
|
||||
|
||||
//账号信息(自己)
|
||||
message MFAccountInfo
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
//用户信息
|
||||
message MFUserInfo
|
||||
{
|
||||
@ -78,6 +84,7 @@ message SMLogin
|
||||
{
|
||||
optional int32 errcode = 1; //错误码
|
||||
optional string errmsg = 2; //错误信息
|
||||
optional MFAccountInfo account_info = 3; //账号信息
|
||||
}
|
||||
|
||||
//更新用户信息(增量更新,不需更新的字段不传即可)
|
||||
@ -363,3 +370,9 @@ message SMUserTempCustomDataUpdate
|
||||
optional string account_id = 1; //账号id
|
||||
optional MFUserTempCustomData temp_custom_data = 2; //用户临时自定义数据
|
||||
}
|
||||
|
||||
//更新账号信息通知
|
||||
message SMUpdateAccountInfo
|
||||
{
|
||||
|
||||
}
|
||||
|
@ -31,6 +31,13 @@ message MFBaseUserDataDB
|
||||
optional int64 base_data_version = 100; //数据版本号
|
||||
}
|
||||
|
||||
message MFRole
|
||||
{
|
||||
optional int32 today_apply_times = 1;
|
||||
optional int32 save_count = 2;
|
||||
optional int32 last_save_time = 3;
|
||||
}
|
||||
|
||||
message MFGroupMemberDB
|
||||
{
|
||||
optional MFBaseUserDataDB base_data = 1; //基础数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user