Files
LuaCsForBarotraumaEP/docs/lua/Client.lua
2021-09-12 15:58:59 -03:00

36 lines
847 B
Lua

-- luacheck: ignore 111
--[[--
Barotrauma Character class with some additional functions and fields
Barotrauma source code: [Client.cs](https://github.com/evilfactory/Barotrauma-lua-attempt/blob/master/Barotrauma/BarotraumaShared/SharedSource/Networking/Client.cs)
]]
-- @code Client
local myClient = {}
--- Sets the client character.
-- @realm server
function myClient.SetClientCharacter(character) end
--- Kick a client.
-- @realm server
function myClient.Kick(reason) end
--- Ban a client.
-- @realm server
function myClient.Ban(reason, range, seconds) end
--- Checks permissions, Client.Permissions.
-- @realm server
function myClient.CheckPermission(permissions) end
--- Unban a client.
-- @realm server
function Unban(player, endpoint) end
--- List of all connected clients.
-- @treturn table
-- @realm shared
ClientList = {}