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

13 lines
301 B
Go

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