This commit is contained in:
aozhiwei 2024-11-25 10:40:10 +08:00
parent 64b172ebdb
commit ab4bfc7c7c

View File

@ -15,6 +15,7 @@ type table struct {
Reward *RewardTable Reward *RewardTable
Task *TaskTable Task *TaskTable
Buff *BuffTable Buff *BuffTable
MapGrid *MapGridTable
} }
var Table = f5.New(func(this *table) { var Table = f5.New(func(this *table) {
@ -68,4 +69,9 @@ var Table = f5.New(func(this *table) {
this.PrimKey = "buff_id" this.PrimKey = "buff_id"
}) })
this.MapGrid = f5.New(func(this *MapGridTable) {
this.FileName = "../res/mapGrid@mapGrid.json"
this.PrimKey = "id"
})
}) })