C# Класс Universe.Modules.Startup.Backup.InternalSceneBackup

Наследование: IBackupModule, IUniverseBackupModule
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_LoadingPrims bool
m_scene IScene

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
ReadTerrain ( byte data, IScene scene ) : ITerrainChannel
ResolveUserUuid ( UUID uuid ) : bool
WriteTerrainToStream ( ITerrainChannel tModule ) : byte[]

Описание методов

AddPrimBackupTaint() публичный Метод

Add a backup taint to the prim
public AddPrimBackupTaint ( ISceneEntity sceneObjectGroup ) : void
sceneObjectGroup ISceneEntity
Результат void

BeginLoadModuleFromArchive() публичный Метод

public BeginLoadModuleFromArchive ( IScene scene ) : void
scene IScene
Результат void

CreateScriptInstances() публичный Метод

Start all the scripts in the scene which should be started.
public CreateScriptInstances ( ) : void
Результат void

DeleteAllSceneObjects() публичный Метод

Delete every object from the scene. This does not include attachments worn by avatars.
public DeleteAllSceneObjects ( ) : void
Результат void

DeleteSceneObject() защищенный Метод

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?
Результат bool

DeleteSceneObjects() публичный Метод

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
Результат bool

EndLoadModuleFromArchive() публичный Метод

public EndLoadModuleFromArchive ( IScene scene ) : void
scene IScene
Результат void

FinishStartup() публичный Метод

public FinishStartup ( ) : void
Результат void

HandleDeleteObject() защищенный Метод

protected HandleDeleteObject ( IScene scene, string cmd ) : void
scene IScene
cmd string
Результат void

InternalSceneBackup() публичный Метод

public InternalSceneBackup ( IScene scene ) : System
scene IScene
Результат System

LoadAllLandObjectsFromStorage() публичный Метод

Loads all Parcel data from the datastore for region identified by regionID
public LoadAllLandObjectsFromStorage ( ) : void
Результат void

LoadModuleFromArchive() публичный Метод

public LoadModuleFromArchive ( byte data, string filePath, TarArchiveReader type, IScene scene ) : void
data byte
filePath string
type Universe.Framework.Serialization.TarArchiveReader
scene IScene
Результат void

LoadPrimsFromStorage() публичный Метод

Loads the World's objects
public LoadPrimsFromStorage ( ) : void
Результат void

ResetRegionToStartupDefault() публичный Метод

public ResetRegionToStartupDefault ( ) : void
Результат void

RetrievedAsset() защищенный Метод

protected RetrievedAsset ( string id, object sender, AssetBase asset ) : void
id string
sender object
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
Результат void

SaveModuleToArchive() публичный Метод

public SaveModuleToArchive ( TarArchiveWriter writer, IScene scene ) : void
writer Universe.Framework.Serialization.TarArchiveWriter
scene IScene
Результат void

WriteAsset() защищенный Метод

protected WriteAsset ( string id, AssetBase asset, TarArchiveWriter writer ) : void
id string
asset Universe.Framework.Services.ClassHelpers.Assets.AssetBase
writer Universe.Framework.Serialization.TarArchiveWriter
Результат void

Описание свойств

m_LoadingPrims защищенное свойство

protected bool m_LoadingPrims
Результат bool

m_scene защищенное свойство

protected IScene m_scene
Результат IScene