C# Class Universe.Framework.Services.ClassHelpers.Assets.AssetBase

Inheritance: Universe.Framework.Modules.IDataTransferable, IDisposable
显示文件 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Private Properties

Property Type Description
SimpleInitialize void

Public Methods

Method Description
AssetBase ( ) : System
AssetBase ( UUID assetID ) : System
AssetBase ( UUID assetID, string name, AssetType assetType, UUID creatorID ) : System
AssetBase ( string assetID ) : System
AssetBase ( string assetID, string name, AssetType assetType, UUID creatorID ) : System
AssetTypeInfo ( ) : string
CompressedPack ( ) : string

Make an OSDMap (json) with only the needed parts for the database and then compress it

CompressedUnpack ( string compressedString ) : void
Dispose ( ) : void
FillHash ( byte data ) : string
FromOSD ( OSDMap map ) : void
Initiate ( string assetID, string name, AssetType assetType, UUID creatorID ) : void
Pack ( ) : OSDMap

Pack this asset into an OSDMap

ToOSD ( ) : OSDMap

Pack this asset into an OSDMap

ToString ( ) : string
Unpack ( OSD osd ) : AssetBase

Unpack the asset from an OSDMap

Private Methods

Method Description
SimpleInitialize ( ) : void

Method Details

AssetBase() public method

public AssetBase ( ) : System
return System

AssetBase() public method

public AssetBase ( UUID assetID ) : System
assetID UUID
return System

AssetBase() public method

public AssetBase ( UUID assetID, string name, AssetType assetType, UUID creatorID ) : System
assetID UUID
name string
assetType AssetType
creatorID UUID
return System

AssetBase() public method

public AssetBase ( string assetID ) : System
assetID string
return System

AssetBase() public method

public AssetBase ( string assetID, string name, AssetType assetType, UUID creatorID ) : System
assetID string
name string
assetType AssetType
creatorID UUID
return System

AssetTypeInfo() public method

public AssetTypeInfo ( ) : string
return string

CompressedPack() public method

Make an OSDMap (json) with only the needed parts for the database and then compress it
public CompressedPack ( ) : string
return string

CompressedUnpack() public method

public CompressedUnpack ( string compressedString ) : void
compressedString string
return void

Dispose() public method

public Dispose ( ) : void
return void

FillHash() public static method

public static FillHash ( byte data ) : string
data byte
return string

FromOSD() public method

public FromOSD ( OSDMap map ) : void
map OSDMap
return void

Initiate() public method

public Initiate ( string assetID, string name, AssetType assetType, UUID creatorID ) : void
assetID string
name string
assetType AssetType
creatorID UUID
return void

Pack() public method

Pack this asset into an OSDMap
public Pack ( ) : OSDMap
return OSDMap

ToOSD() public method

Pack this asset into an OSDMap
public ToOSD ( ) : OSDMap
return OSDMap

ToString() public method

public ToString ( ) : string
return string

Unpack() public method

Unpack the asset from an OSDMap
public Unpack ( OSD osd ) : AssetBase
osd OSD
return AssetBase