rename game_type->room_type

This commit is contained in:
aozhiwei 2020-06-03 14:10:34 +08:00
parent 3301cec6db
commit 506ffd752e

View File

@ -24,7 +24,7 @@ void GameLog::GameStart(Player* hum)
prop->SetVal("account_register_utctime", hum->account_registertime);
prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime));
prop->SetVal("game_uniid", a8::XValue(hum->room->GetRoomUuid()).GetString());
prop->SetVal("game_type", a8::XValue(hum->room->GetRoomType()).GetString());
prop->SetVal("room_type", a8::XValue(hum->room->GetRoomType()).GetString());
//prop->SetVal("game_param", "");
prop->SetVal("nickname", hum->name);
//prop->SetVal("localuuid", "");
@ -59,7 +59,7 @@ void GameLog::GameEnd(Player* hum)
prop->SetVal("account_register_utctime", hum->account_registertime);
prop->SetVal("account_register_date", a8::TimestampToDateTime(hum->account_registertime));
prop->SetVal("game_uniid", a8::XValue(hum->room->GetRoomUuid()).GetString());
prop->SetVal("game_type", a8::XValue(hum->room->GetRoomType()).GetString());
prop->SetVal("room_type", a8::XValue(hum->room->GetRoomType()).GetString());
//prop->SetVal("game_param", "");
prop->SetVal("game_gold", hum->stats.gold);
prop->SetVal("game_score", hum->stats.score);