MCPcopy Create free account
hub / github.com/esengine/esengine / entries

Method entries

packages/core/src/ECS/Utils/BitMaskHashMap.ts:126–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124 }
125
126 *entries(): IterableIterator<[BitMask64Data, T]> {
127 for (const [_, bucket] of this.buckets) {
128 for (const [_secondary, value] of bucket) {
129 // 无法还原原始 key(只存二级 hash),所以 entries 返回不了 key
130 yield [undefined as any, value];
131 }
132 }
133 }
134
135 *values(): IterableIterator<T> {
136 for (const bucket of this.buckets.values()) {

Callers 15

_getBundleNameForTypeMethod · 0.80
findGUIDsFunction · 0.80
startMethod · 0.80
setVariablesMethod · 0.80
executeMethod · 0.80
convertBlackboardMethod · 0.80
convertMethod · 0.80
extractConfigMethod · 0.80
extractBindingsMethod · 0.80
convertNodeToEditorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected