Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ GetClassCount
Method
GetClassCount
src/town_gui.cpp:1497–1497 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1495
1496
bool HasClassChoice() const override { return true; }
1497
int GetClassCount() const override { return static_cast<int>(zone_names.size()); }
1498
1499
void Close([[maybe_unused]] int data) override { ResetObjectToPlace(); }
1500
Callers
1
SetClimateMask
Method · 0.95
Calls
1
size
Method · 0.45
Tested by
no test coverage detected