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

Inheritance: IBackupModule, IUniverseBackupModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_LoadingPrims bool
m_scene IScene

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

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

Method Details

AddPrimBackupTaint() public méthode

Add a backup taint to the prim
public AddPrimBackupTaint ( ISceneEntity sceneObjectGroup ) : void
sceneObjectGroup ISceneEntity
Résultat void

BeginLoadModuleFromArchive() public méthode

public BeginLoadModuleFromArchive ( IScene scene ) : void
scene IScene
Résultat void

CreateScriptInstances() public méthode

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

DeleteAllSceneObjects() public méthode

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

DeleteSceneObject() protected méthode

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?
Résultat bool

DeleteSceneObjects() public méthode

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
Résultat bool

EndLoadModuleFromArchive() public méthode

public EndLoadModuleFromArchive ( IScene scene ) : void
scene IScene
Résultat void

FinishStartup() public méthode

public FinishStartup ( ) : void
Résultat void

HandleDeleteObject() protected méthode

protected HandleDeleteObject ( IScene scene, string cmd ) : void
scene IScene
cmd string
Résultat void

InternalSceneBackup() public méthode

public InternalSceneBackup ( IScene scene ) : System
scene IScene
Résultat System

LoadAllLandObjectsFromStorage() public méthode

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

LoadModuleFromArchive() public méthode

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

LoadPrimsFromStorage() public méthode

Loads the World's objects
public LoadPrimsFromStorage ( ) : void
Résultat void

ResetRegionToStartupDefault() public méthode

public ResetRegionToStartupDefault ( ) : void
Résultat void

RetrievedAsset() protected méthode

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

SaveModuleToArchive() public méthode

public SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void
writer Universe.Framework.Serialization.TarArchiveWriter
scene IScene
Résultat void

WriteAsset() protected méthode

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

Property Details

m_LoadingPrims protected_oe property

protected bool m_LoadingPrims
Résultat bool

m_scene protected_oe property

protected IScene m_scene
Résultat IScene