Closed CrazyFluffyPony closed 2 years ago
The description can contain tables and other things that wouldn't map well to XML. The XMl is intended for editor highlighting and completion purposes and not full documentation.
@tuxedolabs so what is the point of having autocompletion, if you always have to look at the website to read the full description (which is required to understand it)? :(
Document to improve
https://www.teardowngame.com/modding/api.xml
The XML is missing all the descriptions of what each function doesin https://www.teardowngame.com/modding/api.html
Example: GetTime
api.html
api.xml
api.xml is missing the whole description
Returns running time of this script. If called from update, this returns the simulated time, otherwise it returns wall time.
Enhancement
Include function descriptions in api.xml