C# Класс Universe.Modules.Archivers.ArchiveWriteRequestPreparation

Prepare to write out an archive.
Показать файл Открыть проект

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

Свойство Тип Описание
m_checkPermissions string
m_requestId System.Guid
m_saveStream Stream
m_scene IScene

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

Метод Описание
ArchiveRegion ( ) : void

Archive the region requested.

ArchiveWriteRequestPreparation ( IScene scene, Stream saveStream, System.Guid requestId ) : System

Constructor.

ArchiveWriteRequestPreparation ( IScene scene, string savePath, System.Guid requestId, string checkPermissions ) : System

Constructor

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

Метод Описание
CanUserArchiveObject ( UUID user, ISceneEntity objGroup, string checkPermissions ) : bool

Checks whether the user has permission to export an object group to an OAR.

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

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

Archive the region requested.
if there was an io problem with creating the file
public ArchiveRegion ( ) : void
Результат void

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

Constructor.
public ArchiveWriteRequestPreparation ( IScene scene, Stream saveStream, System.Guid requestId ) : System
scene IScene
saveStream Stream The stream to which to save data.
requestId System.Guid The id associated with this request
Результат System

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

Constructor
/// If there was a problem opening a stream for the file specified by the savePath ///
public ArchiveWriteRequestPreparation ( IScene scene, string savePath, System.Guid requestId, string checkPermissions ) : System
scene IScene
savePath string The path to which to save data.
requestId System.Guid The id associated with this request
checkPermissions string
Результат System

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

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

protected string m_checkPermissions
Результат string

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

protected Guid,System m_requestId
Результат System.Guid

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

protected Stream m_saveStream
Результат Stream

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

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