Scripting/SInventory

From sine.space Wiki
Jump to: navigation, search

The SInventory class allows you to access a users inventory

Members

Authorize

void Authorize ();

Prompts the user to grant access to inventory to the script. Big nasty warning box.

No example provided yet

Items[]

SInventoryItem Items[] { get; }

Returns the array of the users current inventory items

No example provided yet

RequestRefresh

void RequestRefresh ();

Forces a check for external changes to the users inventory, can only be called once every 60 seconds

No example provided yet