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

Method SetSelectedClass

src/road_gui.cpp:1229–1229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1227
1228 int GetSelectedClass() const override { return _roadstop_gui.sel_class; }
1229 void SetSelectedClass(int id) const override { _roadstop_gui.sel_class = this->GetClassIndex(id); }
1230
1231 StringID GetClassName(int id) const override
1232 {

Callers

nothing calls this directly

Calls 1

GetClassIndexMethod · 0.80

Tested by

no test coverage detected