C# Class Universe.Modules.Archivers.ArchiveReadRequest

Handles an individual archive read request
Datei anzeigen Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Protected Properties

Property 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

Public Methods

Method 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

Method 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 method

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
return System

ArchiveReadRequest() public method

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
return System

DearchiveRegion() public method

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

Init() public method

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
return void

Property Details

AssetSaverIsRunning protected_oe property

protected bool AssetSaverIsRunning
return bool

AssetsToAdd protected_oe property

protected HashSet AssetsToAdd
return HashSet

m_asciiEncoding protected_oe static_oe property

protected static ASCIIEncoding,System.Text m_asciiEncoding
return System.Text.ASCIIEncoding

m_errorMessage protected_oe property

protected string m_errorMessage
return string

m_loadStream protected_oe property

protected Stream m_loadStream
return Stream

m_merge protected_oe property

protected bool m_merge
return bool

m_scene protected_oe property

protected IScene m_scene
return IScene

m_skipAssets protected_oe property

protected bool m_skipAssets
return bool

m_skipTerrain protected_oe property

protected bool m_skipTerrain
return bool

m_threadpool protected_oe property

protected UniverseThreadPool m_threadpool
return UniverseThreadPool

m_useAsync protected_oe property

protected bool m_useAsync
return bool

m_utf8Encoding protected_oe static_oe property

protected static UTF8Encoding m_utf8Encoding
return UTF8Encoding