From 6240e08abea4e9b36d7c8b292f0ab2d04a9abd8f Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Sat, 14 Sep 2024 17:43:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E9=A6=86=E5=AF=B9=E5=B1=80?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gamesrv/tienlen/scenedata_tienlen.go | 1 + model/customlog.go | 1 + 2 files changed, 2 insertions(+) diff --git a/gamesrv/tienlen/scenedata_tienlen.go b/gamesrv/tienlen/scenedata_tienlen.go index cdcb4f3..e06b45f 100644 --- a/gamesrv/tienlen/scenedata_tienlen.go +++ b/gamesrv/tienlen/scenedata_tienlen.go @@ -2130,6 +2130,7 @@ func (this *TienLenSceneData) SaveCustomLog() { StartTs: this.GameStartTime.Unix(), EndTs: time.Now().Unix(), State: state, + Creator: this.GetCreator(), } for snid := range this.BilledList { var items []*model.Item diff --git a/model/customlog.go b/model/customlog.go index 317c469..1b1f66b 100644 --- a/model/customlog.go +++ b/model/customlog.go @@ -28,6 +28,7 @@ type CustomLog struct { CostType int32 // 付费方式 1AA 2房主 Voice int32 // 是否开启语音 1开启 RoomId int32 // 房间id + Creator int32 // 创建者id SnId []PlayerInfo // 所有玩家 List []RoundInfo // 对局记录 StartTs, EndTs int64 // 开始,结束时间