diff --git a/gamesrv/clawdoll/scenepolicy_clawdoll.go b/gamesrv/clawdoll/scenepolicy_clawdoll.go index af8227e..13b1d9b 100644 --- a/gamesrv/clawdoll/scenepolicy_clawdoll.go +++ b/gamesrv/clawdoll/scenepolicy_clawdoll.go @@ -768,6 +768,8 @@ func (this *StateBilled) OnEnter(s *base.Scene) { LogBaseResult.AfterClawdollItemNum = curClawdollItemNum LogBaseResult.IsWin = playerEx.IsWin LogBaseResult.Channel = playerEx.Channel + LogBaseResult.MachineId = machineId + LogBaseResult.Name = machineInfo.Name if !playerEx.IsRob { sceneEx.logid, _ = model.AutoIncGameLogId() diff --git a/model/gamelogtype.go b/model/gamelogtype.go index 1796e7d..149e693 100644 --- a/model/gamelogtype.go +++ b/model/gamelogtype.go @@ -1684,9 +1684,11 @@ type SamLocPerson struct { type ClawdollResultType struct { //all RoomId int32 //房间Id + MachineId int32 //娃娃机Id PlayerSnid int32 //玩家id BeforeClawdollItemNum int64 //变化前娃娃币 AfterClawdollItemNum int64 //变化后娃娃币 IsWin bool //是否成功 Channel string //渠道 + Name string //场次名字 }