1
This commit is contained in:
parent
e5653a91a1
commit
c3814ee3af
23
metatable.go
23
metatable.go
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user