Added item.removed to docs and fixed some minor things
This commit is contained in:
@@ -29,7 +29,7 @@ function Kick(reason) end
|
||||
function Ban(reason, range, seconds) end
|
||||
|
||||
--- Checks permissions, Client.Permissions.
|
||||
-- @realm server
|
||||
-- @realm shared
|
||||
function CheckPermission(permissions) end
|
||||
|
||||
--- Unban a client.
|
||||
|
||||
@@ -12,11 +12,11 @@ Item = {}
|
||||
|
||||
--- Gets a component from an item by a string name.
|
||||
-- @treturn Component component
|
||||
-- @realm server
|
||||
-- @realm shared
|
||||
function GetComponentString(componentName) end
|
||||
|
||||
--- Sends a signal.
|
||||
-- @realm server
|
||||
-- @realm shared
|
||||
function SendSignal(signalOrString, connectionOrConnectionName) end
|
||||
|
||||
---
|
||||
|
||||
@@ -227,6 +227,10 @@ function item.deconstructed(item, otherItem, userCharacter) end
|
||||
-- @realm shared
|
||||
function item.created(item) end
|
||||
|
||||
--- Gets called every time an item is removed.
|
||||
-- @realm shared
|
||||
function item.removed(item) end
|
||||
|
||||
--- Gets called every time an item is moved from one inventory slot to another, return true to cancel
|
||||
-- @realm shared
|
||||
function inventoryPutItem(inventory, item, characterUser, index, removeItemBool) end
|
||||
|
||||
Reference in New Issue
Block a user