misc doc fixes

This commit is contained in:
Evil Factory
2022-05-16 13:53:39 -03:00
parent cb29c27752
commit fd6b833c98
8 changed files with 56 additions and 519 deletions

View File

@@ -20,6 +20,14 @@ Game.IsDedicated = true
-- @realm server
Game.ServerSettings = true
--- Server settings.
-- @realm server
Game.Settings = true
--- ChatBox.
-- @realm ChatBox
Game.ChatBox = true
--- Send chat message to every client.
-- @realm server
function Game.SendMessage(msg, messageType, sender, character) end
@@ -94,16 +102,6 @@ function Game.StartGame() end
-- @realm server
function Game.EndGame() end
--- Gets all enabled content packages.
--@treturn table Table containing ContentPackages
-- @realm shared
function Game.GetEnabledContentPackages() end
--- Gets all enabled content packages by reading directly the player xml, useful when your mod doesn't have any xml.
--@treturn table Table containing ContentPackages
-- @realm shared
function Game.GetEnabledPackagesDirectlyFromFile() end
--- Adds a new command, onExecute is called with a table of strings.
-- @realm shared
function Game.AddCommand(name, help, onExecute, getValidArgs, isCheat) end