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

Handles an individual archive read request
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
AssetSaverIsRunning bool
AssetsToAdd HashSet
m_asciiEncoding System.Text.ASCIIEncoding
m_errorMessage string
m_loadStream Stream
m_merge bool
m_scene IScene
m_skipAssets bool
m_skipTerrain bool
m_threadpool UniverseThreadPool
m_useAsync bool
m_utf8Encoding UTF8Encoding

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

Метод Описание
ArchiveReadRequest ( IScene scene, Stream stream, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : System
ArchiveReadRequest ( IScene scene, string loadPath, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : System
DearchiveRegion ( ) : bool

De-archive the region embodied in this request.

Init ( IScene scene, Stream stream, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : void

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

Метод Описание
ContainsPoint ( LandData data, int checkx, int checky ) : bool
DearchiveRegion0DotStar ( ) : bool
LoadAsset ( string assetPath, byte data, AssetBase &asset ) : bool

Load an asset

LoadControlFile ( byte data ) : void

Load oar control file

LoadLandData ( byte data ) : LandData
LoadRegionSettings ( string settingsPath, byte data ) : void

Load region settings data

LoadTerrain ( string terrainPath, byte data ) : void

Load terrain data

ResolveGroupUuid ( UUID GroupID ) : UUID
ResolveUserUuid ( UUID uuid, System.Vector3 location, IEnumerable parcels ) : UUID

Look up the given user id to check whether it's one that is valid for this grid.

SaveAssets ( ) : void
SaveNonBinaryAssets ( UUID key, AssetBase asset, UUID>.Dictionary assetBinaryChangeRecord ) : AssetBase

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

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

public ArchiveReadRequest ( IScene scene, Stream stream, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : System
scene IScene
stream Stream
merge bool
skipAssets bool
skipTerrain bool
offsetX int
offsetY int
offsetZ int
flipX bool
flipY bool
useParcelOwnership bool
checkOwnership bool
Результат System

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

public ArchiveReadRequest ( IScene scene, string loadPath, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : System
scene IScene
loadPath string
merge bool
skipAssets bool
skipTerrain bool
offsetX int
offsetY int
offsetZ int
flipX bool
flipY bool
useParcelOwnership bool
checkOwnership bool
Результат System

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

De-archive the region embodied in this request.
public DearchiveRegion ( ) : bool
Результат bool

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

public Init ( IScene scene, Stream stream, bool merge, bool skipAssets, bool skipTerrain, int offsetX, int offsetY, int offsetZ, bool flipX, bool flipY, bool useParcelOwnership, bool checkOwnership ) : void
scene IScene
stream Stream
merge bool
skipAssets bool
skipTerrain bool
offsetX int
offsetY int
offsetZ int
flipX bool
flipY bool
useParcelOwnership bool
checkOwnership bool
Результат void

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

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

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

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

protected HashSet AssetsToAdd
Результат HashSet

m_asciiEncoding защищенное статическое свойство

protected static ASCIIEncoding,System.Text m_asciiEncoding
Результат System.Text.ASCIIEncoding

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

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

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

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

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

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

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

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

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

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

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

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

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

protected UniverseThreadPool m_threadpool
Результат UniverseThreadPool

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

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

m_utf8Encoding защищенное статическое свойство

protected static UTF8Encoding m_utf8Encoding
Результат UTF8Encoding