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

Method Resolve

src/table/newgrf_debug_data.h:591–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589 std::span<const BadgeID> GetBadges(uint) const override { return {}; }
590
591 uint Resolve(uint index, uint var, uint param, bool &avail) const override
592 {
593 TownResolverObject ro(nullptr, Town::Get(index), true);
594 return ro.GetScope(VSG_SCOPE_SELF)->GetVariable(var, param, avail);
595 }
596
597 const std::span<int32_t> GetPSA(uint index, uint32_t grfid) const override
598 {

Callers

nothing calls this directly

Calls 2

GetVariableMethod · 0.45
GetScopeMethod · 0.45

Tested by

no test coverage detected