From 03fac9e0823cc27493fc3bd5bc8fb7096c459e9f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 25 Nov 2024 13:37:41 +0800 Subject: [PATCH] 1 --- server/wheelserver/mtb/mtb.auto_gen.go | 4 ++-- server/wheelserver/proto/mt.proto | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/wheelserver/mtb/mtb.auto_gen.go b/server/wheelserver/mtb/mtb.auto_gen.go index be7d7858..908d893f 100644 --- a/server/wheelserver/mtb/mtb.auto_gen.go +++ b/server/wheelserver/mtb/mtb.auto_gen.go @@ -100,7 +100,7 @@ type Buff struct { type MapGrid struct { id int32 - reward int32 + reward string _flags1_ uint64 _flags2_ uint64 @@ -449,7 +449,7 @@ func (this *MapGrid) HasId() bool { return (this._flags1_ & (uint64(1) << 1)) > 0 } -func (this *MapGrid) GetReward() int32 { +func (this *MapGrid) GetReward() string { return this.reward } diff --git a/server/wheelserver/proto/mt.proto b/server/wheelserver/proto/mt.proto index 46e2dad3..68710b1c 100644 --- a/server/wheelserver/proto/mt.proto +++ b/server/wheelserver/proto/mt.proto @@ -81,7 +81,7 @@ message Buff message MapGrid { optional int32 id = 1; - optional int32 reward = 2; + optional string reward = 2; } message ShopGoods