NullEnt1ty / gmod-wiki-scraper

Extract GLua API documentation from the new Garry's Mod wiki
https://www.npmjs.com/package/gmod-wiki-scraper
MIT License
9 stars 1 forks source link

Use structure types for table arguments / return values #3

Open NullEnt1ty opened 4 years ago

NullEnt1ty commented 4 years ago

Some functions are using tables for arguments or return values. The table structure is often referenced in the description of the argument / return value. There should be an additional field with that structure reference if there is a reliable way of extracting that information from the description.

Example: https://wiki.facepunch.com/gmod/Entity:FireBullets

Entity:FireBullets( table bulletInfo, boolean suppressHostEvents = false )
table bulletInfo
The bullet data to be used. See the Structures/Bullet.