MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / Key

Method Key

src/engine_base.h:210–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208 EngineID engine{};
209
210 static inline uint64_t Key(uint32_t grfid, uint16_t internal_id) { return static_cast<uint64_t>(grfid) << 32 | internal_id; }
211
212 inline uint64_t Key() const { return Key(this->grfid, this->internal_id); }
213

Callers 4

operator()Method · 0.80
GetIDMethod · 0.80
UseUnreservedIDMethod · 0.80
SetIDMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected