ecs/servers/game/data_old/idle_profit_ext.go
2025-06-04 18:17:39 +08:00

13 lines
305 B
Go

package data
import "github.com/oylshe1314/framework/errors"
func (this *IdleProfitTable) check() error {
for _, d := range this.l {
if len(d.ItemNum) != len(d.ItemId) {
return errors.Error("incorrect 'IdleProfit' table, error: len(d.ItemNum) != len(d.ItemId), id: ", d.id())
}
}
return nil
}