docs update and server event for item components
This commit is contained in:
@@ -172,6 +172,11 @@ function TeleportTo(position) end
|
||||
-- @realm shared
|
||||
-- @bool IsInFriendlySub
|
||||
|
||||
---
|
||||
-- WorldPosition, Vector2 position of the Character in the world
|
||||
-- @realm shared
|
||||
-- @Vector2 WorldPosition
|
||||
|
||||
---
|
||||
-- Position, returns a Vector2.
|
||||
-- @realm shared
|
||||
|
||||
@@ -34,3 +34,18 @@ function Item:SendSignal(signalOrString, connectionOrConnectionName) end
|
||||
-- Item.ItemList, Table containing all items.
|
||||
-- @realm shared
|
||||
-- @Item Item.ItemList
|
||||
|
||||
---
|
||||
-- Prefab, ItemPrefab containing the original prefab of the item.
|
||||
-- @realm shared
|
||||
-- @ItemPrefab Prefab
|
||||
|
||||
---
|
||||
-- Name, the name of the item.
|
||||
-- @realm shared
|
||||
-- @string Name
|
||||
|
||||
---
|
||||
-- WorldPosition, Vector2 position of the item in the world
|
||||
-- @realm shared
|
||||
-- @Vector2 WorldPosition
|
||||
|
||||
@@ -29,3 +29,8 @@ function ItemPrefab.AddToSpawnQueue(itemPrefab, inventory, spawned) end
|
||||
-- @treturn ItemPrefab
|
||||
-- @realm shared
|
||||
function ItemPrefab.GetItemPrefab(itemNameOrId) end
|
||||
|
||||
---
|
||||
-- Identifier, the identifier of the prefab.
|
||||
-- @realm shared
|
||||
-- @string Identifier
|
||||
|
||||
Reference in New Issue
Block a user