MCPcopy Create free account
hub / github.com/Norbyte/bg3se / ComponentSizeBucket

Method ComponentSizeBucket

BG3Extender/GameDefinitions/EntitySystem.cpp:194–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194uint32_t ComponentFrameStorage::ComponentSizeBucket() const
195{
196 auto cappedSize = std::min<uint16_t>(ComponentSizeInBytes, 0x40);
197 return ComponentSizeBuckets[cappedSize];
198}
199
200uint16_t ComponentFrameStorage::ComponentsOnPage(uint32_t page) const
201{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected