This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
dev:api:railway_time_api [2019-07-19 10:11] 141.76.176.211 [String] |
dev:api:railway_time_api [2022-07-15 12:45] (current) maverick2797 ↷ Page moved from usage:lines:railway_time_api to dev:api:railway_time_api |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Railway Time API ====== | ====== Railway Time API ====== | ||
- | This is the documentation for the [[lines: | + | This is the documentation for the [[usage:lines: |
- | These functions are accessible at | + | These functions are accessible |
advtrains.lines.rwt.* | advtrains.lines.rwt.* | ||
- | | + | These functions are also accessible in the LuaATC environment at: |
+ | rwt.* | ||
===== Railway Time Formats ===== | ===== Railway Time Formats ===== | ||
A railway time can be represented by 3 different formats: table, string or seconds. All API functions accept any of the formats as input, and usually output in table form, unless specified otherwise. | A railway time can be represented by 3 different formats: table, string or seconds. All API functions accept any of the formats as input, and usually output in table form, unless specified otherwise. |