Closed raxiam closed 5 years ago
Rather a more correct example would be
Boolean addQuestRewards(Quest quest, Reward[] rewards)
@LJNIC Since you're the docs guy, I'm assigning this to you
Yeah, go with heads example.
This is fixed in the latest commits to the AtherysDoclet. I'm not sure where future issues with documentation should go. The documentation is mostly written in the code itself, but generated by the previously mentioned Doclet, and then pushed to AtherysDocs.
Problem: In the signature of functions, parameters that are arrays are written in plural form as opposed to singular, making them sometimes go unnoticed.
Proposed Solution: Denote arrays with [] for the parameter name.
Ex: Boolean addQuestRewards(Quest quest, Reward [rewards])