Difference between revisions of "Inventory Global"
From Virtual World Web Wiki
(Documentation for the Inventory Global class) |
(Documentation for the Inventory Global class) |
||
Line 2: | Line 2: | ||
===Remarks <nowiki>[</nowiki>[{{fullurl:Inventory Global Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ===Remarks <nowiki>[</nowiki>[{{fullurl:Inventory Global Remarks|action=edit}} edit]<nowiki>]</nowiki>=== | ||
{{#ifexist:Inventory Global Remarks|{{:Inventory Global Remarks}}|}} | {{#ifexist:Inventory Global Remarks|{{:Inventory Global Remarks}}|}} | ||
+ | |||
+ | ===Events=== | ||
+ | :{{CSharp|ContainerAdded()}} | ||
+ | |||
+ | :{{CSharp|ContainerRemoved()}} | ||
===Methods=== | ===Methods=== | ||
Line 7: | Line 12: | ||
:: | :: | ||
::Gets a view onto a set of containers (by SecurableType) that can then be filtered and queried | ::Gets a view onto a set of containers (by SecurableType) that can then be filtered and queried | ||
+ | |||
+ | :{{CSharp|JSInventoryView CreateViewForContainer(Guid containerID)}} | ||
+ | :{{CSharp|JSInventoryContainer GetContainer(Guid containerID)}} | ||
+ | |||
+ | :{{CSharp|IEnumerable<Guid> GetContainersForTarget(Guid targetID)}} | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ |
Revision as of 12:48, 26 May 2017
- This is a JavaScript global object named Inventory
Remarks [edit]
Events
- ContainerAdded()
- ContainerRemoved()
Methods
- JSInventoryView CreateView(string type)
- Gets a view onto a set of containers (by SecurableType) that can then be filtered and queried
- JSInventoryView CreateViewForContainer(Guid containerID)
- JSInventoryContainer GetContainer(Guid containerID)
- IEnumerable<Guid> GetContainersForTarget(Guid targetID)