This commit is contained in:
aozhiwei 2024-11-25 14:27:26 +08:00
parent bd94484fec
commit 5fe6c934e1

View File

@ -5,8 +5,14 @@ import (
"main/mtb" "main/mtb"
) )
type MapGridRewardItem struct {
ItemId int32
ItemNum int32
}
type MapGrid struct { type MapGrid struct {
mtb.MapGrid mtb.MapGrid
rewardItems []*MapGridRewardItem
} }
type MapGridTable struct { type MapGridTable struct {
@ -16,3 +22,7 @@ type MapGridTable struct {
func (this *MapGrid) Init1() { func (this *MapGrid) Init1() {
} }
func (this *MapGrid) GetRewardItems() *[]*MapGridRewardItem {
return &this.rewardItems
}