|
Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
◆ Delete()
void SineSpace.Scripting.Player.SInventoryItem.Delete |
( |
| ) |
|
Delete the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ StoreCustomData()
bool SineSpace.Scripting.Player.SInventoryItem.StoreCustomData |
( |
string |
data | ) |
|
Whether store the customdata or not
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
- Parameters
-
data | The customization data |
◆ Use()
void SineSpace.Scripting.Player.SInventoryItem.Use |
( |
| ) |
|
Use the item but this only works on white label grids
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ Brand
string SineSpace.Scripting.Player.SInventoryItem.Brand |
|
get |
Return the Brand of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ CustomData
string SineSpace.Scripting.Player.SInventoryItem.CustomData |
|
get |
Return the StoredDataString of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ Description
string SineSpace.Scripting.Player.SInventoryItem.Description |
|
get |
Return the Description of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ MasterID
long SineSpace.Scripting.Player.SInventoryItem.MasterID |
|
get |
Return the itemID of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ Name
string SineSpace.Scripting.Player.SInventoryItem.Name |
|
get |
Return the Name of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
◆ PlayerItemID
long SineSpace.Scripting.Player.SInventoryItem.PlayerItemID |
|
get |
Return the PlayerItemID of the item
local inventory=Space.Inventory
inventory.Authorize()
function Log()
local item=Space.Inventory.Items
end
</example>
string Name
Return the Name of the item
Definition: SInventoryItem.cs:63
string Brand
Return the Brand of the item
Definition: SInventoryItem.cs:99
string CustomData
Return the StoredDataString of the item
Definition: SInventoryItem.cs:117
void Delete()
Delete the item
Definition: SInventoryItem.cs:200
long PlayerItemID
Return the PlayerItemID of the item
Definition: SInventoryItem.cs:45
long MasterID
Return the itemID of the item
Definition: SInventoryItem.cs:27
bool StoreCustomData(string data)
Whether store the customdata or not
Definition: SInventoryItem.cs:141
string Description
Return the Description of the item
Definition: SInventoryItem.cs:81
void Use()
Use the item but this only works on white label grids
Definition: SInventoryItem.cs:172