C# Class Universe.Modules.Startup.Backup.InternalSceneBackup

Inheritance: IBackupModule, IUniverseBackupModule
显示文件 Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Property Type Description
m_LoadingPrims bool
m_scene IScene

Public Methods

Method Description
AddPrimBackupTaint ( ISceneEntity sceneObjectGroup ) : void

Add a backup taint to the prim

BeginLoadModuleFromArchive ( IScene scene ) : void
CreateScriptInstances ( ) : void

Start all the scripts in the scene which should be started.

DeleteAllSceneObjects ( ) : void

Delete every object from the scene. This does not include attachments worn by avatars.

DeleteSceneObjects ( ISceneEntity groups, bool deleteScripts, bool sendKillPackets ) : bool

Synchronously delete the objects from the scene. This does send kill object updates and resets the parcel prim counts.

EndLoadModuleFromArchive ( IScene scene ) : void
FinishStartup ( ) : void
InternalSceneBackup ( IScene scene ) : System
LoadAllLandObjectsFromStorage ( ) : void

Loads all Parcel data from the datastore for region identified by regionID

LoadModuleFromArchive ( byte data, string filePath, TarArchiveReader type, IScene scene ) : void
LoadPrimsFromStorage ( ) : void

Loads the World's objects

ResetRegionToStartupDefault ( ) : void
SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void

Protected Methods

Method Description
DeleteSceneObject ( ISceneEntity group, bool DeleteScripts, bool removeFromDatabase ) : bool

Synchronously delete the given object from the scene.

HandleDeleteObject ( IScene scene, string cmd ) : void
RetrievedAsset ( string id, object sender, AssetBase asset ) : void
WriteAsset ( string id, AssetBase asset, TarArchiveWriter writer ) : void

Private Methods

Method Description
ReadTerrain ( byte data, IScene scene ) : ITerrainChannel
ResolveUserUuid ( UUID uuid ) : bool
WriteTerrainToStream ( ITerrainChannel tModule ) : byte[]

Method Details

AddPrimBackupTaint() public method

Add a backup taint to the prim
public AddPrimBackupTaint ( ISceneEntity sceneObjectGroup ) : void
sceneObjectGroup ISceneEntity
return void

BeginLoadModuleFromArchive() public method

public BeginLoadModuleFromArchive ( IScene scene ) : void
scene IScene
return void

CreateScriptInstances() public method

Start all the scripts in the scene which should be started.
public CreateScriptInstances ( ) : void
return void

DeleteAllSceneObjects() public method

Delete every object from the scene. This does not include attachments worn by avatars.
public DeleteAllSceneObjects ( ) : void
return void

DeleteSceneObject() protected method

Synchronously delete the given object from the scene.
protected DeleteSceneObject ( ISceneEntity group, bool DeleteScripts, bool removeFromDatabase ) : bool
group ISceneEntity Object Id
DeleteScripts bool Remove the scripts from the ScriptEngine as well
removeFromDatabase bool Remove from the database?
return bool

DeleteSceneObjects() public method

Synchronously delete the objects from the scene. This does send kill object updates and resets the parcel prim counts.
public DeleteSceneObjects ( ISceneEntity groups, bool deleteScripts, bool sendKillPackets ) : bool
groups ISceneEntity
deleteScripts bool
sendKillPackets bool
return bool

EndLoadModuleFromArchive() public method

public EndLoadModuleFromArchive ( IScene scene ) : void
scene IScene
return void

FinishStartup() public method

public FinishStartup ( ) : void
return void

HandleDeleteObject() protected method

protected HandleDeleteObject ( IScene scene, string cmd ) : void
scene IScene
cmd string
return void

InternalSceneBackup() public method

public InternalSceneBackup ( IScene scene ) : System
scene IScene
return System

LoadAllLandObjectsFromStorage() public method

Loads all Parcel data from the datastore for region identified by regionID
public LoadAllLandObjectsFromStorage ( ) : void
return void

LoadModuleFromArchive() public method

public LoadModuleFromArchive ( byte data, string filePath, TarArchiveReader type, IScene scene ) : void
data byte
filePath string
type Universe.Framework.Serialization.TarArchiveReader
scene IScene
return void

LoadPrimsFromStorage() public method

Loads the World's objects
public LoadPrimsFromStorage ( ) : void
return void

ResetRegionToStartupDefault() public method

public ResetRegionToStartupDefault ( ) : void
return void

RetrievedAsset() protected method

protected RetrievedAsset ( string id, object sender, AssetBase asset ) : void
id string
sender object
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
return void

SaveModuleToArchive() public method

public SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void
writer Universe.Framework.Serialization.TarArchiveWriter
scene IScene
return void

WriteAsset() protected method

protected WriteAsset ( string id, AssetBase asset, TarArchiveWriter writer ) : void
id string
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
writer Universe.Framework.Serialization.TarArchiveWriter
return void

Property Details

m_LoadingPrims protected_oe property

protected bool m_LoadingPrims
return bool

m_scene protected_oe property

protected IScene m_scene
return IScene