C# Class Universe.Modules.Archivers.ArchiveReadRequest

Handles an individual archive read request
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Свойство Type Description
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

Méthodes publiques

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

Private Methods

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

Method Details

ArchiveReadRequest() public méthode

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

ArchiveReadRequest() public méthode

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

DearchiveRegion() public méthode

De-archive the region embodied in this request.
public DearchiveRegion ( ) : bool
Résultat bool

Init() public méthode

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

Property Details

AssetSaverIsRunning protected_oe property

protected bool AssetSaverIsRunning
Résultat bool

AssetsToAdd protected_oe property

protected HashSet AssetsToAdd
Résultat HashSet

m_asciiEncoding protected_oe static_oe property

protected static ASCIIEncoding,System.Text m_asciiEncoding
Résultat System.Text.ASCIIEncoding

m_errorMessage protected_oe property

protected string m_errorMessage
Résultat string

m_loadStream protected_oe property

protected Stream m_loadStream
Résultat Stream

m_merge protected_oe property

protected bool m_merge
Résultat bool

m_scene protected_oe property

protected IScene m_scene
Résultat IScene

m_skipAssets protected_oe property

protected bool m_skipAssets
Résultat bool

m_skipTerrain protected_oe property

protected bool m_skipTerrain
Résultat bool

m_threadpool protected_oe property

protected UniverseThreadPool m_threadpool
Résultat UniverseThreadPool

m_useAsync protected_oe property

protected bool m_useAsync
Résultat bool

m_utf8Encoding protected_oe static_oe property

protected static UTF8Encoding m_utf8Encoding
Résultat UTF8Encoding