Difference between revisions of "IWorldspaceSystem"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the IWorldspaceSystem class)
(Documentation for the IWorldspaceSystem class)
 
(11 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
===Remarks <nowiki>[</nowiki>[{{fullurl:IWorldspaceSystem Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:IWorldspaceSystem Remarks|action=edit}} edit]<nowiki>]</nowiki>===
{{:IWorldspaceSystem Remarks}}
+
{{#ifexist:IWorldspaceSystem Remarks|{{:IWorldspaceSystem Remarks}}|}}
  
 
===Properties===
 
===Properties===
Line 10: Line 10:
  
 
===Methods===
 
===Methods===
:{{CSharp|Guid AttachDefaultEditLayout(Guid sceneInstanceID)}}
+
:{{CSharp|void ActivateLayerVersion(Guid layerVersionID)}}
 +
::
 +
::Makes the specified version of a layer the active version. Live instances will update to reflect the change.
  
:{{CSharp|Guid AttachEditLayout(Guid sceneInstanceID, string name)}}
+
:{{CSharp|void AttachLayer(Guid layerID, Guid areaID)}}
 +
::
 +
::Attaches a layer to an area (part of worldspace), usually a scene
  
:{{CSharp|Guid CloneEditLayout(Guid editLayoutID, string name)}}
+
:{{CSharp|Guid CloneLayer(Guid layerID, Guid sceneID, bool activeVersionOnly {{=}} false, bool cloneContainers {{=}} true)}}
 
+
:{{CSharp|void CopySceneToStorage(Guid sceneID, Guid sceneInstanceID, bool designMode)}}
+
 
::
 
::
::Copies a scene to instance storage given a known scene instance ID
+
::Clones a layer and optionally its versions and containers as well.
  
:{{CSharp|Guid CopySceneToStorage(Guid sceneID, bool designMode)}}
+
:{{CSharp|Guid CloneLayerVersion(Guid layerVersionID, string name)}}
 
::
 
::
::Copies a scene to instance storage and creates a new instance storage ID for it
+
::Clones an existing layer version.
  
:{{CSharp|void CopyStorageToScene(Guid sceneInstanceID)}}
+
:{{CSharp|Guid CloneScene(Guid sceneID, string newAlias, string newName, bool cloneContainers, bool cloneLayers, Guid? worldID {{=}} NULL)}}
 
::
 
::
::Save the specified stored instance to its scene
+
::Clones a scene, optionally copying various other related data.
  
:{{CSharp|Guid CreateAreaGroup(string name, AreaType allowedAreaTypes)}}
+
:{{CSharp|Guid CreateAreaGroup(string name, AreaType allowedAreaTypes {{=}} AreaType.All)}}
 
::
 
::
 
::Creates a new area group, optionally as a child of another
 
::Creates a new area group, optionally as a child of another
  
:{{CSharp|Guid CreateDefaultEditLayout(Guid sceneID)}}
+
:{{CSharp|Guid CreateLayer(Guid sceneID, string name)}}
 +
::
 +
::Creates a new layer. A layer is a container for a DOM document that is owned by a scene and can be linked to other scenes (shared layers).
  
:{{CSharp|Guid CreateEditLayout(Guid sceneID, string name)}}
+
:{{CSharp|Guid CreateLayerVersion(Guid layerID, string name, Byte[] layout {{=}} NULL)}}
 +
::
 +
::Creates a new layer version. Layers can have multiple versions, one of which can be the active version. The active version is what users see in live instances.
  
:{{CSharp|Guid CreateScene(string alias, string title, Guid worldID, Guid sceneTypeID, InstanceModes instanceMode, string modeMetadata)}}
+
:{{CSharp|Guid CreateScene(string alias, string title, Guid worldID, Guid sceneTypeID, InstanceModes instanceMode, string modeMetadata {{=}} NULL)}}
  
 
:{{CSharp|Guid CreateSceneType(Guid resourceItemID, string title)}}
 
:{{CSharp|Guid CreateSceneType(Guid resourceItemID, string title)}}
Line 42: Line 48:
 
::Creates a new Scene Type given an existing resource identifier
 
::Creates a new Scene Type given an existing resource identifier
  
:{{CSharp|Guid CreateWorld(string alias, string title, bool isContainer, bool isPermissionRoot, Guid? parentWorldID)}}
+
:{{CSharp|Guid CreateWorld(string alias, string title, bool isPermissionRoot, Guid? parentWorldID)}}
 
::
 
::
 
::Creates a new world, optionally under a parent world
 
::Creates a new world, optionally under a parent world
  
:{{CSharp|void DeleteAreaGroup(Guid areaGroupID, Action<PacketErrorStatus> onComplete)}}
+
:{{CSharp|void DeleteAreaGroup(Guid areaGroupID, Action<PacketErrorStatus> onComplete {{=}} NULL, TextWriter logWriter {{=}} NULL)}}
 
::
 
::
 
::Deletes an area group
 
::Deletes an area group
  
:{{CSharp|void DeleteEditLayout(Guid editLayoutID)}}
+
:{{CSharp|void DeleteLayer(Guid layerID, Action<PacketErrorStatus> onComplete {{=}} NULL, TextWriter logWriter {{=}} NULL)}}
 +
::
 +
::Deletes a layer
 +
 
 +
:{{CSharp|void DeleteLayerVersion(Guid layerVersionID)}}
 +
::
 +
::Deletes a layer version
  
:{{CSharp|void DeleteScene(Guid sceneID, Action<PacketErrorStatus> onComplete)}}
+
:{{CSharp|void DeleteScene(Guid sceneID, Action<PacketErrorStatus> onComplete {{=}} NULL, TextWriter logWriter {{=}} NULL)}}
 
::
 
::
 
::Begins the deletion of a scene.
 
::Begins the deletion of a scene.
 +
 +
:{{CSharp|void DeleteSceneBlocking(Guid sceneID, TextWriter logWriter {{=}} NULL)}}
 +
::
 +
::Deletes a scene guarenteeing deletion has completed before return. This method can only be called on the service provider
  
 
:{{CSharp|void DeleteSceneType(Guid sceneTypeID)}}
 
:{{CSharp|void DeleteSceneType(Guid sceneTypeID)}}
Line 60: Line 76:
 
::Begins the deletion of a Scene Type and it's associated scenes.
 
::Begins the deletion of a Scene Type and it's associated scenes.
  
:{{CSharp|void DeleteWorld(Guid worldID, Action<PacketErrorStatus> onComplete)}}
+
:{{CSharp|void DeleteWorld(Guid worldID, Action<PacketErrorStatus> onComplete {{=}} NULL, TextWriter logWriter {{=}} NULL)}}
 
::
 
::
 
::Begins the deletion of a world and all its child objects
 
::Begins the deletion of a world and all its child objects
 +
 +
:{{CSharp|void DeleteWorldBlocking(Guid worldID, TextWriter logWriter {{=}} NULL)}}
 +
::
 +
::Deletes a world guarenteeing deletion has completed before return. This method can only be called on the service provider
 +
 +
:{{CSharp|void DetachLayer(Guid layerID, Guid areaID)}}
 +
::
 +
::Detaches a layer from an area (part of worldspace), usually a scene
  
 
:{{CSharp|Guid FindScene(string alias, Guid worldID)}}
 
:{{CSharp|Guid FindScene(string alias, Guid worldID)}}
Line 71: Line 95:
 
::
 
::
 
::Gets the ID of a world with a given alias in a given parent world
 
::Gets the ID of a world with a given alias in a given parent world
 +
 +
:{{CSharp|IAreaGroupInfo GetAreaGroupInfo(Guid areaGroupID)}}
 +
::
 +
::Gets a structure of information about an [[AreaGroup]] (a piece of [[Worldspace]])
  
 
:{{CSharp|string GetAreaGroupName(Guid areaGroupID)}}
 
:{{CSharp|string GetAreaGroupName(Guid areaGroupID)}}
Line 76: Line 104:
 
::Gets the name of an area group
 
::Gets the name of an area group
  
:{{CSharp|IEditLayoutInfo GetDefaultEditLayout(Guid sceneID)}}
+
:{{CSharp|IAreaInfo GetAreaInfo(Guid areaID)}}
 +
::
 +
::Gets a structure of information about an [[Area]] (a piece of [[Worldspace]])
  
:{{CSharp|IEditLayoutInfo GetEditLayout(Guid editLayoutID)}}
+
:{{CSharp|ILayerInfo[] GetAttachedLayers(Guid areaID)}}
 +
::
 +
::Gets the list of layers attached to an area
  
:{{CSharp|IEditLayoutInfo GetEditLayout(Guid sceneID, string name)}}
+
:{{CSharp|IInstanceInfo[] GetInstances()}}
 +
::
 +
::Gets an array of all running instances (local list when called from an instance host)
  
:{{CSharp|IEditLayoutInfo GetEditLayoutForInstance(Guid sceneInstanceID)}}
+
:{{CSharp|ILayerInfo GetLayerInfo(Guid layerID)}}
 
+
::
:{{CSharp|IEnumerable<IEditLayoutInfo> GetEditLayouts(Guid sceneID)}}
+
::Gets information about a layer and its versions
 
+
:{{CSharp|DOMDocument GetInstanceStorageLayout(Guid storageInstanceID)}}
+
  
:{{CSharp|Guid GetPersonaRootWorld(Guid personaID)}}
+
:{{CSharp|ILayerVersionInfo GetLayerVersionInfo(Guid layerVersionID)}}
 
::
 
::
::Gets the world in which the given persona is rooted. This represents the highest level world this persona is valid in.
+
::Gets information about a layer version
  
:{{CSharp|Guid GetRootWorld(Guid areaID)}}
+
:{{CSharp|ILayerInfo[] GetOwnedLayers(Guid sceneID)}}
 
::
 
::
::Gets the ID of the next persona container (root world) up the worldspace hierarchy
+
::Gets the list of layers owned by a scene
  
 
:{{CSharp|string GetSceneAlias(Guid sceneID)}}
 
:{{CSharp|string GetSceneAlias(Guid sceneID)}}
Line 100: Line 132:
 
::Gets the alias (URL safe name) of the requested scene
 
::Gets the alias (URL safe name) of the requested scene
  
:{{CSharp|Guid GetSceneForUri(IConnectionIdentity identity, Uri uri)}}
+
:{{CSharp|Guid GetSceneForUri(IConnectionIdentityBase identity, Uri uri)}}
 
::
 
::
 
::Resolves a VWW URI to a Scene ID, Relative URIs willl be resolved relative to the identity's current location or worldspace root if there is no location
 
::Resolves a VWW URI to a Scene ID, Relative URIs willl be resolved relative to the identity's current location or worldspace root if there is no location
Line 115: Line 147:
 
::
 
::
 
::Gets the name of a scene instance
 
::Gets the name of a scene instance
 
:{{CSharp|DOMDocument GetSceneLayout(Guid sceneID)}}
 
  
 
:{{CSharp|string GetSceneName(Guid sceneID)}}
 
:{{CSharp|string GetSceneName(Guid sceneID)}}
Line 125: Line 155:
 
::
 
::
 
::Gets the Scene Type of the scene
 
::Gets the Scene Type of the scene
 +
 +
:{{CSharp|ISceneTypeInfo GetSceneTypeInfo(Guid sceneTypeID)}}
 +
::
 +
::Gets a structure of information about a scene type
 +
 +
:{{CSharp|ISceneTypeInfo[] GetSceneTypeInfos()}}
 +
::
 +
::Gets a structure of information about all of the scene types registered with the system
  
 
:{{CSharp|string GetSceneTypeName(Guid sceneTypeID)}}
 
:{{CSharp|string GetSceneTypeName(Guid sceneTypeID)}}
Line 162: Line 200:
 
::Gets the name of a world
 
::Gets the name of a world
  
:{{CSharp|bool IsPersonaContainer(Guid worldID)}}
+
:{{CSharp|void HideArea(Guid areaID)}}
 
::
 
::
::Determines if a world is a persona container
+
::Marks an area as hidden so it doesn't show in the admin
 +
 
 +
:{{CSharp|bool IsHidden(Guid areaID)}}
 +
::
 +
::Tests if an area is hidden
  
 
:{{CSharp|bool IsProtected(Guid areaID)}}
 
:{{CSharp|bool IsProtected(Guid areaID)}}
Line 178: Line 220:
 
::Removes an area from an area group
 
::Removes an area from an area group
  
:{{CSharp|void ProtectArea(Guid areaID)}}
+
:{{CSharp|ISceneInfo[] ListScenesInAreaGroup(Guid areaGroupID)}}
 
::
 
::
::Marks an area as a system area so it cannot be deleted with layer 1 tools
+
::A helper method that gets the list of any scenes that are members of the specified [[AreaGroup]]
 
+
:{{CSharp|void PublishEditLayout(Guid editLayoutID)}}
+
  
:{{CSharp|void RemoveInstanceFromStorage(Guid instanceID)}}
+
:{{CSharp|ISceneInfo[] ListScenesInWorld(Guid worldID)}}
 
::
 
::
::Removes a instance from InstanceStorages
+
::Gets a list of child worlds of the given world
  
:{{CSharp|void RemoveSceneFromStorage(Guid sceneID)}}
+
:{{CSharp|IWorldInfo[] ListWorldsInAreaGroup(Guid areaGroupID)}}
 
::
 
::
::Removes all instances of a scene from InstanceStorages
+
::A helper method that gets the list of any scenes that are members of the specified [[AreaGroup]]
  
:{{CSharp|void SaveInstance(IInstanceContext context)}}
+
:{{CSharp|IWorldInfo[] ListWorldsInWorld(Guid worldID)}}
 
::
 
::
::Saves the layout to the instance
+
::Gets a list of child worlds of the given world
  
:{{CSharp|Guid SaveInstanceToNewStorage(IInstanceContext context, bool? designMode, bool cloneLayout)}}
+
:{{CSharp|void ProtectArea(Guid areaID)}}
 
::
 
::
::Saves the instance to instance storage under a new instance ID
+
::Marks an area as a system area so it cannot be deleted with layer 1 tools
 
+
:{{CSharp|void SaveInstanceToStorage(IInstanceContext context)}}
+
::
+
::Saves the instance to instance storage
+
 
+
:{{CSharp|void SceneLayoutChangeNotify(Guid sceneID)}}
+
  
 
:{{CSharp|void SetAreaGroupName(Guid areaGroupID, string name)}}
 
:{{CSharp|void SetAreaGroupName(Guid areaGroupID, string name)}}
Line 210: Line 244:
 
::Sets the name of an area group
 
::Sets the name of an area group
  
:{{CSharp|void SetEditLayoutName(Guid editLayoutID, string layoutName)}}
+
:{{CSharp|void SetLayerName(Guid layerID, string name)}}
 +
::
 +
::Sets the name of a layer
  
:{{CSharp|void SetInstanceStorageLayout(Guid storageInstanceID, DOMDocument sceneLayout)}}
+
:{{CSharp|void SetLayerVersionName(Guid layerVersionID, string name)}}
 
+
::
:{{CSharp|void SetInstanceStorageLayout(Guid storageInstanceID, Byte[] sceneLayout)}}
+
::Sets the name of a layer version
  
 
:{{CSharp|void SetSceneAlias(Guid sceneID, string alias)}}
 
:{{CSharp|void SetSceneAlias(Guid sceneID, string alias)}}
Line 223: Line 259:
 
::
 
::
 
::Renames a scene instance.
 
::Renames a scene instance.
 
:{{CSharp|void SetSceneLayout(Guid sceneID, DOMDocument sceneLayout)}}
 
 
:{{CSharp|void SetSceneLayout(Guid sceneID, Byte[] sceneLayout)}}
 
  
 
:{{CSharp|void SetSceneName(Guid sceneID, string name)}}
 
:{{CSharp|void SetSceneName(Guid sceneID, string name)}}
 
::
 
::
 
::Renames a scene.
 
::Renames a scene.
 +
 +
:{{CSharp|void SetSceneType(Guid sceneID, Guid sceneTypeID)}}
 +
::
 +
::Changes the Scene Type of the scene
  
 
:{{CSharp|void SetSecurableMetadata(Guid securableID, string key, ProtoValue value)}}
 
:{{CSharp|void SetSecurableMetadata(Guid securableID, string key, ProtoValue value)}}
 
::
 
::
 
::Sets a securable metadata value. Values can be retrieved through GetSecurableInfo
 
::Sets a securable metadata value. Values can be retrieved through GetSecurableInfo
 +
 +
:{{CSharp|void SetSecurableMetadata(Guid securableID, IDictionary<string, ProtoValue> values)}}
 +
::
 +
::Sets several securable metadata values in one call, causing only one metadata change notification.
  
 
:{{CSharp|void SetServiceProviderName(Guid serviceProviderID, string name)}}
 
:{{CSharp|void SetServiceProviderName(Guid serviceProviderID, string name)}}
Line 251: Line 291:
 
::
 
::
 
::Forces a shutdown of any instances of the given scene
 
::Forces a shutdown of any instances of the given scene
 +
 +
:{{CSharp|void UnHideArea(Guid areaID)}}
 +
::
 +
::Marks an area as no longer hidden so it shows in the admin
  
 
:{{CSharp|void UnProtectArea(Guid areaID)}}
 
:{{CSharp|void UnProtectArea(Guid areaID)}}
Line 256: Line 300:
 
::Marks an area as no longer a system area so it can again be deleted
 
::Marks an area as no longer a system area so it can again be deleted
  
:{{CSharp|void UpdateScene(Guid sceneID, string alias, string title, Guid? worldID, Byte instanceModeID, string modeMetadata)}}
+
:{{CSharp|void UpdateScene(Guid sceneID, string alias, string title, Guid? worldID, Byte instanceModeID, string modeMetadata {{=}} NULL)}}
 
::
 
::
 
::Updates the basic properties of a scene
 
::Updates the basic properties of a scene
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Latest revision as of 19:51, 8 June 2020

The worldspace system is a primary layer one interface. It provides methods for working with Worldspace, Layouts and EditLayouts, and area groups

Remarks [edit]

Properties

IWorldInfo RootWorld {get;}
Gets info about the system root world. This is the only world with a null parent world ID.

Methods

void ActivateLayerVersion(Guid layerVersionID)
Makes the specified version of a layer the active version. Live instances will update to reflect the change.
void AttachLayer(Guid layerID, Guid areaID)
Attaches a layer to an area (part of worldspace), usually a scene
Guid CloneLayer(Guid layerID, Guid sceneID, bool activeVersionOnly = false, bool cloneContainers = true)
Clones a layer and optionally its versions and containers as well.
Guid CloneLayerVersion(Guid layerVersionID, string name)
Clones an existing layer version.
Guid CloneScene(Guid sceneID, string newAlias, string newName, bool cloneContainers, bool cloneLayers, Guid? worldID = NULL)
Clones a scene, optionally copying various other related data.
Guid CreateAreaGroup(string name, AreaType allowedAreaTypes = AreaType.All)
Creates a new area group, optionally as a child of another
Guid CreateLayer(Guid sceneID, string name)
Creates a new layer. A layer is a container for a DOM document that is owned by a scene and can be linked to other scenes (shared layers).
Guid CreateLayerVersion(Guid layerID, string name, Byte[] layout = NULL)
Creates a new layer version. Layers can have multiple versions, one of which can be the active version. The active version is what users see in live instances.
Guid CreateScene(string alias, string title, Guid worldID, Guid sceneTypeID, InstanceModes instanceMode, string modeMetadata = NULL)
Guid CreateSceneType(Guid resourceItemID, string title)
Creates a new Scene Type given an existing resource identifier
Guid CreateWorld(string alias, string title, bool isPermissionRoot, Guid? parentWorldID)
Creates a new world, optionally under a parent world
void DeleteAreaGroup(Guid areaGroupID, Action<PacketErrorStatus> onComplete = NULL, TextWriter logWriter = NULL)
Deletes an area group
void DeleteLayer(Guid layerID, Action<PacketErrorStatus> onComplete = NULL, TextWriter logWriter = NULL)
Deletes a layer
void DeleteLayerVersion(Guid layerVersionID)
Deletes a layer version
void DeleteScene(Guid sceneID, Action<PacketErrorStatus> onComplete = NULL, TextWriter logWriter = NULL)
Begins the deletion of a scene.
void DeleteSceneBlocking(Guid sceneID, TextWriter logWriter = NULL)
Deletes a scene guarenteeing deletion has completed before return. This method can only be called on the service provider
void DeleteSceneType(Guid sceneTypeID)
Begins the deletion of a Scene Type and it's associated scenes.
void DeleteWorld(Guid worldID, Action<PacketErrorStatus> onComplete = NULL, TextWriter logWriter = NULL)
Begins the deletion of a world and all its child objects
void DeleteWorldBlocking(Guid worldID, TextWriter logWriter = NULL)
Deletes a world guarenteeing deletion has completed before return. This method can only be called on the service provider
void DetachLayer(Guid layerID, Guid areaID)
Detaches a layer from an area (part of worldspace), usually a scene
Guid FindScene(string alias, Guid worldID)
Finds a ID for a world given its alias and parent world
Guid FindWorld(string alias, Guid parentWorldID)
Gets the ID of a world with a given alias in a given parent world
IAreaGroupInfo GetAreaGroupInfo(Guid areaGroupID)
Gets a structure of information about an AreaGroup (a piece of Worldspace)
string GetAreaGroupName(Guid areaGroupID)
Gets the name of an area group
IAreaInfo GetAreaInfo(Guid areaID)
Gets a structure of information about an Area (a piece of Worldspace)
ILayerInfo[] GetAttachedLayers(Guid areaID)
Gets the list of layers attached to an area
IInstanceInfo[] GetInstances()
Gets an array of all running instances (local list when called from an instance host)
ILayerInfo GetLayerInfo(Guid layerID)
Gets information about a layer and its versions
ILayerVersionInfo GetLayerVersionInfo(Guid layerVersionID)
Gets information about a layer version
ILayerInfo[] GetOwnedLayers(Guid sceneID)
Gets the list of layers owned by a scene
string GetSceneAlias(Guid sceneID)
Gets the alias (URL safe name) of the requested scene
Guid GetSceneForUri(IConnectionIdentityBase identity, Uri uri)
Resolves a VWW URI to a Scene ID, Relative URIs willl be resolved relative to the identity's current location or worldspace root if there is no location
Guid GetSceneForUri(Uri uri)
Resolves a VWW URI to a Scene ID, Relative URIs willl be resolved relative to the worldspace root
ISceneInfo GetSceneInfo(Guid sceneID)
Gets a structure of information about a scene and its parent worlds
string GetSceneInstanceName(Guid sceneInstanceID)
Gets the name of a scene instance
string GetSceneName(Guid sceneID)
Gets the name of a scene
Guid GetSceneType(Guid sceneID)
Gets the Scene Type of the scene
ISceneTypeInfo GetSceneTypeInfo(Guid sceneTypeID)
Gets a structure of information about a scene type
ISceneTypeInfo[] GetSceneTypeInfos()
Gets a structure of information about all of the scene types registered with the system
string GetSceneTypeName(Guid sceneTypeID)
Gets the name of a scene type
ISecurableInfo GetSecurableInfo(Guid securableID)
Gets general information about a securable
string GetSecurableName(Guid securableID)
Gets the name of a securable
SecurableType GetSecurableType(Guid securableID)
Gets the type of a securable
string GetServiceProviderName(Guid serviceProviderID)
Gets the name of a service provider
Uri GetUriForScene(Guid sceneID)
The oposite of GetSceneForURI, this methof returns the full VWW URL for a scene
string GetWorldAlias(Guid worldID)
Gets the alias (URL safe name) of the requested world
IWorldInfo GetWorldInfo(Guid worldID)
Gets a structure of information about a world and its parent worlds
string GetWorldName(Guid worldID)
Gets the name of a world
void HideArea(Guid areaID)
Marks an area as hidden so it doesn't show in the admin
bool IsHidden(Guid areaID)
Tests if an area is hidden
bool IsProtected(Guid areaID)
Tests if an area is protected
void JoinAreaGroup(Guid areaGroupID, Guid areaID)
Adds an area to an area group
void LeaveAreaGroup(Guid areaGroupID, Guid areaID)
Removes an area from an area group
ISceneInfo[] ListScenesInAreaGroup(Guid areaGroupID)
A helper method that gets the list of any scenes that are members of the specified AreaGroup
ISceneInfo[] ListScenesInWorld(Guid worldID)
Gets a list of child worlds of the given world
IWorldInfo[] ListWorldsInAreaGroup(Guid areaGroupID)
A helper method that gets the list of any scenes that are members of the specified AreaGroup
IWorldInfo[] ListWorldsInWorld(Guid worldID)
Gets a list of child worlds of the given world
void ProtectArea(Guid areaID)
Marks an area as a system area so it cannot be deleted with layer 1 tools
void SetAreaGroupName(Guid areaGroupID, string name)
Sets the name of an area group
void SetLayerName(Guid layerID, string name)
Sets the name of a layer
void SetLayerVersionName(Guid layerVersionID, string name)
Sets the name of a layer version
void SetSceneAlias(Guid sceneID, string alias)
Sets the alias (URL safe name) of the requested scene
void SetSceneInstanceName(Guid sceneInstanceID, string name)
Renames a scene instance.
void SetSceneName(Guid sceneID, string name)
Renames a scene.
void SetSceneType(Guid sceneID, Guid sceneTypeID)
Changes the Scene Type of the scene
void SetSecurableMetadata(Guid securableID, string key, ProtoValue value)
Sets a securable metadata value. Values can be retrieved through GetSecurableInfo
void SetSecurableMetadata(Guid securableID, IDictionary<string, ProtoValue> values)
Sets several securable metadata values in one call, causing only one metadata change notification.
void SetServiceProviderName(Guid serviceProviderID, string name)
Renames a service provider.
void SetWorldAlias(Guid worldID, string alias)
Sets the alias (URL safe name) of the requested world
void SetWorldName(Guid worldID, string name)
Renames a world.
void ShutdownSceneInstances(Guid sceneID)
Forces a shutdown of any instances of the given scene
void UnHideArea(Guid areaID)
Marks an area as no longer hidden so it shows in the admin
void UnProtectArea(Guid areaID)
Marks an area as no longer a system area so it can again be deleted
void UpdateScene(Guid sceneID, string alias, string title, Guid? worldID, Byte instanceModeID, string modeMetadata = NULL)
Updates the basic properties of a scene