fix duplicate in docs

This commit is contained in:
Evil Factory
2021-11-25 19:42:33 -03:00
parent 83a40bad6f
commit 72eb15248b
5 changed files with 31 additions and 38 deletions

View File

@@ -12,8 +12,7 @@ local Character = {}
-- @remove function Character.Create(characterInfo, position, seed, id, isRemotePlayer, hasAi, ragdoll) end
-- @remove function TeleportTo(worldPos) end
-- @remove function TeleportTo(worldPos) end
-- @remove Character.CharacterList
--- Creates a Character using CharacterInfo.
-- @realm server
@@ -1611,11 +1610,6 @@ function GetHashCode() end
-- @realm shared
-- @Character Character.Controlled
---
-- Character.CharacterList, Field of type table
-- @realm shared
-- @table Character.CharacterList
---
-- Character.KnockbackCooldown, Field of type number
-- @realm shared

View File

@@ -10,6 +10,12 @@ Barotrauma source code: [Client.cs](https://github.com/evilfactory/Barotrauma-lu
local Client = {}
-- @remove function SetClientCharacter(character) end
-- @remove function Kick(reason) end
-- @remove function Ban(reason, range, seconds) end
-- @remove function Client.Unban(player, endpoint) end
-- @remove function CheckPermission(permissions) end
--- Sets the client character.
-- @realm server
function SetClientCharacter(character) end
@@ -31,35 +37,6 @@ function CheckPermission(permissions) end
function Client.Unban(player, endpoint) end
--- SetClientCharacter
-- @realm shared
-- @tparam Character character
function SetClientCharacter(character) end
--- Kick
-- @realm shared
-- @tparam string reason
function Kick(reason) end
--- Ban
-- @realm shared
-- @tparam string reason
-- @tparam bool range
-- @tparam number seconds
function Ban(reason, range, seconds) end
--- Unban
-- @realm shared
-- @tparam string player
-- @tparam string endpoint
function Client.Unban(player, endpoint) end
--- CheckPermission
-- @realm shared
-- @tparam ClientPermissions permissions
-- @treturn bool
function CheckPermission(permissions) end
--- InitClientSync
-- @realm shared
function InitClientSync() end