Свойство | Тип | Описание | |
---|---|---|---|
m_inventorySerial | uint | ||
m_items | TaskInventoryDictionary | ||
m_itemsLock | object |
Метод | Описание | |
---|---|---|
AddInventoryItem ( |
Add an item to this prim's inventory. If an item with the same name already exists, then an alternative name is chosen.
|
|
AddInventoryItemExclusive ( |
Add an item to this prim's inventory. If an item with the same name already exists, it is replaced.
|
|
ApplyGodPermissions ( uint perms ) : void | ||
ApplyNextOwnerPermissions ( ) : void | ||
ChangeInventoryGroup ( UUID groupID ) : void |
Change every item in this inventory to a new group.
|
|
ChangeInventoryOwner ( UUID ownerId ) : void |
Change every item in this inventory to a new owner.
|
|
ContainsScripts ( ) : bool | ||
CreateScriptInstance ( |
Start a script which is in this prim's inventory.
|
|
CreateScriptInstance ( UUID itemId, int startParam, bool postOnRez, StateSource stateSource ) : void |
Start a script which is in this prim's inventory.
|
|
CreateScriptInstances ( int startParam, bool postOnRez, StateSource stateSource, UUID RezzedFrom, bool clearStateSaves ) : void |
Start all the scripts contained in this prim's inventory
|
|
ForceInventoryPersistence ( ) : void |
Force the task inventory of this prim to persist at the next update sweep
|
|
GetInventoryFileName ( ) : bool |
Returns true if the file needs to be rebuild, false if it does not
|
|
GetInventoryItem ( UUID itemId ) : |
Returns an existing inventory item. Returns the original, so any changes will be live.
|
|
GetInventoryItems ( string name ) : IList |
Get inventory items by name.
|
|
GetInventoryItems ( ) : List |
||
GetInventoryList ( ) : List |
||
GetInventoryScripts ( ) : List |
||
GetRezReadySceneObject ( |
||
GetScriptErrors ( UUID itemID ) : |
||
MaskEffectivePermissions ( ) : uint | ||
RemoveInventoryItem ( UUID itemID ) : int |
Remove an item from this prim's inventory
|
|
RemoveScriptInstance ( UUID itemId, bool sceneObjectBeingDeleted ) : void |
Stop a script which is in this prim's inventory.
|
|
RemoveScriptInstances ( bool sceneObjectBeingDeleted ) : void |
Stop all the scripts in this prim.
|
|
RequestInventoryFile ( IClientAPI client ) : void |
Serialize all the metadata for the items in this prim's inventory ready for sending to the client
|
|
ResetInventoryIDs ( bool ChangeScripts ) : void |
Reset UUIDs for all the items in the prim's inventory. This involves either generating new ones or setting existing UUIDs to the correct parent UUIDs. If this method is called and there are inventory items, then we regard the inventory as having changed.
|
|
ResetObjectID ( ) : void | ||
RestoreInventoryItems ( ICollection |
Restore a whole collection of items to the prim's inventory at once. We assume that the items already have all their fields correctly filled out. The items are not flagged for persistence to the database, since they are being restored from persistence rather than being newly added.
|
|
ResumeScripts ( ) : void | ||
SaveScriptStateSaves ( ) : void | ||
SceneObjectPartInventory ( |
Constructor
|
|
UpdateInventoryItem ( |
Update an existing inventory item.
|
|
UpdateInventoryItem ( |
||
UpdateScriptInstance ( UUID itemID, byte assetData, int startParam, bool postOnRez, StateSource stateSource ) : void |
Updates a script which is in this prim's inventory.
|
Метод | Описание | |
---|---|---|
AddInventoryItem ( string name, |
Add an item to this prim's inventory.
|
Метод | Описание | |
---|---|---|
FindAvailableInventoryName ( string name ) : string |
For a given item name, return that name if it is available. Otherwise, return the next available similar name (which is currently the original name with the next available numeric suffix).
|
|
InventoryContainsName ( string name ) : bool |
Check if the inventory holds an item with a given name.
|
|
ResumeScript ( |
public AddInventoryItem ( |
||
item | ||
allowedDrop | bool | |
Результат | void |
protected AddInventoryItem ( string name, |
||
name | string | The name that the new item should have. |
item | /// The item itself. The name within this structure is ignored in favor of the name /// given in this method's arguments /// | |
allowedDrop | bool | /// Item was only added to inventory because AllowedDrop is set /// |
Результат | void |
public AddInventoryItemExclusive ( |
||
item | ||
allowedDrop | bool | |
Результат | void |
public ApplyGodPermissions ( uint perms ) : void | ||
perms | uint | |
Результат | void |
public ApplyNextOwnerPermissions ( ) : void | ||
Результат | void |
public ChangeInventoryGroup ( UUID groupID ) : void | ||
groupID | UUID | |
Результат | void |
public ChangeInventoryOwner ( UUID ownerId ) : void | ||
ownerId | UUID | |
Результат | void |
public CreateScriptInstance ( |
||
item | ||
startParam | int | |
postOnRez | bool | |
stateSource | StateSource | |
Результат | void |
public CreateScriptInstance ( UUID itemId, int startParam, bool postOnRez, StateSource stateSource ) : void | ||
itemId | UUID |
/// A |
startParam | int | |
postOnRez | bool | |
stateSource | StateSource | |
Результат | void |
public CreateScriptInstances ( int startParam, bool postOnRez, StateSource stateSource, UUID RezzedFrom, bool clearStateSaves ) : void | ||
startParam | int | |
postOnRez | bool | |
stateSource | StateSource | |
RezzedFrom | UUID | |
clearStateSaves | bool | |
Результат | void |
public ForceInventoryPersistence ( ) : void | ||
Результат | void |
public GetInventoryItem ( UUID itemId ) : |
||
itemId | UUID | |
Результат |
public GetInventoryItems ( string name ) : IList |
||
name | string | |
Результат | IList |
public GetRezReadySceneObject ( |
||
item | ||
Результат | ISceneEntity |
public GetScriptErrors ( UUID itemID ) : |
||
itemID | UUID | |
Результат |
public MaskEffectivePermissions ( ) : uint | ||
Результат | uint |
public RemoveInventoryItem ( UUID itemID ) : int | ||
itemID | UUID | |
Результат | int |
public RemoveScriptInstance ( UUID itemId, bool sceneObjectBeingDeleted ) : void | ||
itemId | UUID | |
sceneObjectBeingDeleted | bool | /// Should be true if this script is being removed because the scene /// object is being deleted. This will prevent spurious updates to the client. /// |
Результат | void |
public RemoveScriptInstances ( bool sceneObjectBeingDeleted ) : void | ||
sceneObjectBeingDeleted | bool | /// Should be true if these scripts are being removed because the scene /// object is being deleted. This will prevent spurious updates to the client. /// |
Результат | void |
public RequestInventoryFile ( IClientAPI client ) : void | ||
client | IClientAPI | |
Результат | void |
public ResetInventoryIDs ( bool ChangeScripts ) : void | ||
ChangeScripts | bool | |
Результат | void |
public RestoreInventoryItems ( ICollection |
||
items | ICollection |
|
Результат | void |
public SceneObjectPartInventory ( |
||
part |
/// A |
|
Результат | System.Collections |
public UpdateInventoryItem ( |
||
item | /// The updated item. An item with the same id must already exist /// in this prim's inventory. /// | |
Результат | bool |
public UpdateInventoryItem ( |
||
item | ||
fireScriptEvents | bool | |
Результат | bool |
public UpdateScriptInstance ( UUID itemID, byte assetData, int startParam, bool postOnRez, StateSource stateSource ) : void | ||
itemID | UUID | |
assetData | byte | |
startParam | int | |
postOnRez | bool | |
stateSource | StateSource | |
Результат | void |
protected TaskInventoryDictionary m_items | ||
Результат | TaskInventoryDictionary |