From 8d6396970182ac74b9eec38c23be94feed94f7b2 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Tue, 10 Sep 2024 15:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/customlog.go | 2 +- protocol/server/server.pb.go | 2 +- protocol/server/server.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/model/customlog.go b/model/customlog.go index 67b82ec..317c469 100644 --- a/model/customlog.go +++ b/model/customlog.go @@ -25,7 +25,7 @@ type CustomLog struct { TotalRound int32 // 总局数 PlayerNum int32 // 最大人数 Password string // 密码 - CostType int32 // 付费方式 1房主 2AA + CostType int32 // 付费方式 1AA 2房主 Voice int32 // 是否开启语音 1开启 RoomId int32 // 房间id SnId []PlayerInfo // 所有玩家 diff --git a/protocol/server/server.pb.go b/protocol/server/server.pb.go index 3f7a0d9..dca1ade 100644 --- a/protocol/server/server.pb.go +++ b/protocol/server/server.pb.go @@ -910,7 +910,7 @@ type CustomParam struct { RoomTypeId int32 `protobuf:"varint,1,opt,name=RoomTypeId,proto3" json:"RoomTypeId,omitempty"` // 房间类型id RoomConfigId int32 `protobuf:"varint,2,opt,name=RoomConfigId,proto3" json:"RoomConfigId,omitempty"` // 房间配置id - CostType int32 `protobuf:"varint,3,opt,name=CostType,proto3" json:"CostType,omitempty"` // 房卡场付费方式 1房主 2AA + CostType int32 `protobuf:"varint,3,opt,name=CostType,proto3" json:"CostType,omitempty"` // 房卡场付费方式 1AA 2 Password string `protobuf:"bytes,4,opt,name=Password,proto3" json:"Password,omitempty"` // 房间密码 Voice int32 `protobuf:"varint,5,opt,name=Voice,proto3" json:"Voice,omitempty"` // 是否开启语音 1开启 2关闭 } diff --git a/protocol/server/server.proto b/protocol/server/server.proto index d34b16f..e439d15 100644 --- a/protocol/server/server.proto +++ b/protocol/server/server.proto @@ -170,7 +170,7 @@ message Item { message CustomParam { int32 RoomTypeId = 1; // 房间类型id int32 RoomConfigId = 2; // 房间配置id - int32 CostType = 3; // 房卡场付费方式 1房主 2AA + int32 CostType = 3; // 房卡场付费方式 1AA 2房主 string Password = 4; // 房间密码 int32 Voice = 5; // 是否开启语音 1开启 2关闭 }