竞技馆对局记录

This commit is contained in:
sk 2024-09-14 17:43:23 +08:00
parent e6105b40b0
commit 6240e08abe
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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 // 开始,结束时间