Feature/Fix: [GS] Add RoadTiles and GetOneWayInfo endpoints (#611)
Feature: [GS] Add RoadTiles and GetOneWayInfo endpoints
This commit is contained in:
@@ -104,6 +104,14 @@
|
||||
<div class="code">static bool IsTownBuildableRoadType(RoadType roadtype)</div>
|
||||
<div class="methodtext">Checks whether the given road type is buildable by towns.</div>
|
||||
</div>
|
||||
<div class="indent">
|
||||
<div class="code">static RoadPieces GetRoadPieces(TileIndex tile, RoadTramTypes road_tram_type)</div>
|
||||
<div class="methodtext">Get the RoadPieces that are on a tile.</div>
|
||||
</div>
|
||||
<div class="indent">
|
||||
<div class="code">static OneWayInfo GetOneWayInfo(TileIndex tile)</div>
|
||||
<div class="methodtext">Get info about the one-way state of a tile.</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 id="company">Company: <a href="https://docs.openttd.org/gs-api/classGSCompany.html">GSCompany Class</a> and <a href="https://docs.openttd.org/ai-api/classAICompany.html">AICompany Class</a></h3>
|
||||
|
||||
Reference in New Issue
Block a user