chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
This commit is contained in:
1 parent
866283162b
commit
c71a261115
88 files changed
+339
-286
No files matched your search
@@ -22,9 +22,9 @@ Clothing.SetAppearance = function(src, data)
|
||||
end
|
||||
|
||||
--- Sets a player's appearance based on gender-specific data
|
||||
--- @param src number The server ID of the player
|
||||
--- @param data table Table containing separate appearance data for male and female characters
|
||||
--- @return table|nil Appearance updated player appearance data or nil if failed
|
||||
---@param src number The server ID of the player
|
||||
---@param data table Table containing separate appearance data for male and female characters
|
||||
---@return table|nil Appearance updated player appearance data or nil if failed
|
||||
function Clothing.SetAppearanceExt(src, data)
|
||||
local tbl = Clothing.IsMale(src) and data.male or data.female
|
||||
Clothing.SetAppearance(src, tbl)
|
||||
|
||||
Reference in new issue
Block a user