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