This commit is contained in:
aozhiwei 2024-11-25 13:37:41 +08:00
parent 45732f2f8a
commit 03fac9e082
2 changed files with 3 additions and 3 deletions

View File

@ -100,7 +100,7 @@ type Buff struct {
type MapGrid struct { type MapGrid struct {
id int32 id int32
reward int32 reward string
_flags1_ uint64 _flags1_ uint64
_flags2_ uint64 _flags2_ uint64
@ -449,7 +449,7 @@ func (this *MapGrid) HasId() bool {
return (this._flags1_ & (uint64(1) << 1)) > 0 return (this._flags1_ & (uint64(1) << 1)) > 0
} }
func (this *MapGrid) GetReward() int32 { func (this *MapGrid) GetReward() string {
return this.reward return this.reward
} }

View File

@ -81,7 +81,7 @@ message Buff
message MapGrid message MapGrid
{ {
optional int32 id = 1; optional int32 id = 1;
optional int32 reward = 2; optional string reward = 2;
} }
message ShopGoods message ShopGoods