IRemoteObjectSystem

From Virtual World Web Wiki
Jump to: navigation, search

Exposes some of the functionality of IObjectSystem to outside applications with appropriate consumer credentials. These methods help you work with Object Types and are mainly intended for use with art pipeline tools.

Remarks [edit]

Methods

Guid CreateObjectType(string title, MetadataCollection metadata, Byte[] layout)
Creates a new Object Type
Byte[] GetObjectTypeLayout(Guid objectTypeID)
Gets the raw serialized layout of an Object Type
MetadataCollection GetObjectTypeMetadata(Guid objectTypeID)
Gets the collection of metadata associated with an Object Type
Guid GiveObject(Guid objectTypeID, Guid securableID, string containerName = "inventory")
Gives an instance of an object type as an inventory item (object template). The securableID will usually be a Persona ID. The new inventory item will be placed in the named container owned by and attached to the specified entity or worldspace. If the container doesn't exist, it will be created with default permissions.
bool Ping()
Tests if your connection to the API endpoint is working
void SetObjectTypeLayout(Guid objectTypeID, Byte[] layout)
Sets the raw serialized layout of an Object Type
void SetObjectTypeMetadata(Guid objectTypeID, MetadataCollection metadata)
Sets the collection of metadata associated with an Object Type