add gameid

This commit is contained in:
aozhiwei 2019-06-26 09:11:10 +08:00
parent afb496c1e6
commit c734099e84

View File

@ -18,6 +18,7 @@ void GameLog::GameStart(Player* hum)
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
prop->SetVal("channel", channel);
prop->SetVal("from_appid", hum->from_appid);
prop->SetVal("gameid", GAME_ID);
prop->SetVal("account_id", hum->account_id);
prop->SetVal("account_register_utctime", hum->account_registertime);
prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime));
@ -49,6 +50,7 @@ void GameLog::GameEnd(Player* hum)
a8::MutableXObject* prop = a8::MutableXObject::NewObject();
prop->SetVal("channel", channel);
prop->SetVal("from_appid", hum->from_appid);
prop->SetVal("gameid", GAME_ID);
prop->SetVal("account_id", hum->account_id);
prop->SetVal("account_register_utctime", hum->account_registertime);
prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime));