update docs

This commit is contained in:
Evil Factory
2021-12-29 21:20:50 -03:00
parent 370ee8f1b3
commit d8d5bcb5fa
14 changed files with 365 additions and 103 deletions

View File

@@ -44,6 +44,18 @@ function TeleportTo(worldPos) end
-- @table Character.CharacterList
--- BreakJoints
-- @realm shared
function BreakJoints() end
--- Kill
-- @realm shared
-- @tparam CauseOfDeathType causeOfDeath
-- @tparam Affliction causeOfDeathAffliction
-- @tparam bool isNetworkMessage
-- @tparam bool log
function Kill(causeOfDeath, causeOfDeathAffliction, isNetworkMessage, log) end
--- Revive
-- @realm shared
-- @tparam bool removeAllAfflictions
@@ -335,8 +347,9 @@ function HasItem(item, requireEquipped, slotType) end
-- @realm shared
-- @tparam Item item
-- @tparam Nullable`1 slotType
-- @tparam function predicate
-- @treturn bool
function HasEquippedItem(item, slotType) end
function HasEquippedItem(item, slotType, predicate) end
--- HasEquippedItem
-- @realm shared
@@ -453,6 +466,12 @@ function AddAttacker(character, damage) end
-- @tparam Character character
function ForgiveAttacker(character) end
--- GetDamageDoneByAttacker
-- @realm shared
-- @tparam Character otherCharacter
-- @treturn number
function GetDamageDoneByAttacker(otherCharacter) end
--- DespawnNow
-- @realm shared
-- @tparam bool createNetworkEvents
@@ -626,18 +645,6 @@ function SetStun(newStun, allowStunDecrease, isNetworkMessage) end
-- @tparam number deltaTime
function ApplyStatusEffects(actionType, deltaTime) end
--- BreakJoints
-- @realm shared
function BreakJoints() end
--- Kill
-- @realm shared
-- @tparam CauseOfDeathType causeOfDeath
-- @tparam Affliction causeOfDeathAffliction
-- @tparam bool isNetworkMessage
-- @tparam bool log
function Kill(causeOfDeath, causeOfDeathAffliction, isNetworkMessage, log) end
--- Create
-- @realm shared
-- @tparam string speciesName
@@ -1110,6 +1117,11 @@ function GetHashCode() end
-- @realm shared
-- @bool IsUnconscious
---
-- IsArrested, Field of type bool
-- @realm shared
-- @bool IsArrested
---
-- IsPet, Field of type bool
-- @realm shared
@@ -1125,6 +1137,11 @@ function GetHashCode() end
-- @realm shared
-- @number OxygenAvailable
---
-- HullOxygenPercentage, Field of type number
-- @realm shared
-- @number HullOxygenPercentage
---
-- UseHullOxygen, Field of type bool
-- @realm shared
@@ -1480,6 +1497,11 @@ function GetHashCode() end
-- @realm shared
-- @HashSet`1 Latchers
---
-- AttachedProjectiles, Field of type HashSet`1
-- @realm shared
-- @HashSet`1 AttachedProjectiles
---
-- CombatAction, Field of type CombatAction
-- @realm shared