Documentation corrections and additions (#1498)

* Added `@error` documentation for every function that's missing it.
* Changed tabs to spaces (text alignment)
This commit is contained in:
Natanel Shitrit
2021-06-24 15:45:01 +01:00
committed by GitHub
parent 2778b132f0
commit d73f4e7eca
15 changed files with 73 additions and 37 deletions
+2 -2
View File
@@ -361,7 +361,7 @@ native void RemoveFromTopMenu(Handle topmenu, TopMenuObject topobj);
* @param client Client index.
* @param position Position to display from.
* @return True on success, false on failure.
* @error Invalid TopMenu Handle or client not in game.
* @error Invalid TopMenu Handle, invalid client index, or client not in game.
*/
native bool DisplayTopMenu(Handle topmenu, int client, TopMenuPosition position);
@@ -372,7 +372,7 @@ native bool DisplayTopMenu(Handle topmenu, int client, TopMenuPosition position)
* @param category Category topobj id.
* @param client Client index.
* @return True on success, false on failure.
* @error Invalid TopMenu Handle or client not in game.
* @error Invalid TopMenu Handle, invalid client index, or client not in game.
*/
native bool DisplayTopMenuCategory(Handle topmenu, TopMenuObject category, int client);