Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getLinkedListIndex
Function
getLinkedListIndex
src/OpenLoco/src/Entities/EntityManager.cpp:33–36 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
31
}
32
33
constexpr size_t getLinkedListIndex(uint8_t offset)
34
{
35
return offset / static_cast<uint8_t>(sizeof(uint16_t));
36
}
37
38
// 0x0046FDFD
39
void reset()
Callers
1
moveEntityToList
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected