This commit is contained in:
aozhiwei 2024-08-03 18:20:08 +08:00
parent e5653a91a1
commit c3814ee3af

View File

@ -37,6 +37,29 @@ type NameMetaTable[T any] struct {
nameHash *q5.ConcurrentMap[string, *T]
}
type CustomMetaTable struct {
}
func (this *CustomMetaTable) IsNoLoad() bool {
return false
}
func (this *CustomMetaTable) Load() {
}
func (this *CustomMetaTable) PreInit1() {
}
func (this *CustomMetaTable) ElementsInit(int) {
}
func (this *CustomMetaTable) PostInit1() {
}
func (this *RawMetaTable[T]) Traverse(cb func(*T) bool) {
for _, val := range this.rawList {
if !cb(val) {