C# Class OpenSim.Tests.Common.AssetHelpers

Show file Open project: N3X15/VoxelSim

Public Methods

Method Description
CreateAsset ( Scene scene, UUID creatorId ) : OpenSim.Framework.AssetBase

Create and store a notecard asset with a random uuid and dummy text.

CreateAsset ( UUID creatorId ) : OpenSim.Framework.AssetBase

Create a notecard asset with a random uuid and dummy text.

CreateAsset ( UUID assetUuid, AssetType assetType, byte data, UUID creatorID ) : OpenSim.Framework.AssetBase

Create an asset from the given data.

CreateAsset ( UUID assetUuid, AssetType assetType, string data, UUID creatorID ) : OpenSim.Framework.AssetBase

Create an asset from the given data.

CreateAsset ( UUID assetUuid, SceneObjectGroup sog ) : OpenSim.Framework.AssetBase

Create an asset from the given scene object.

Method Details

CreateAsset() public static method

Create and store a notecard asset with a random uuid and dummy text.
public static CreateAsset ( Scene scene, UUID creatorId ) : OpenSim.Framework.AssetBase
scene OpenSim.Region.Framework.Scenes.Scene
creatorId UUID
return OpenSim.Framework.AssetBase

CreateAsset() public static method

Create a notecard asset with a random uuid and dummy text.
public static CreateAsset ( UUID creatorId ) : OpenSim.Framework.AssetBase
creatorId UUID
return OpenSim.Framework.AssetBase

CreateAsset() public static method

Create an asset from the given data.
public static CreateAsset ( UUID assetUuid, AssetType assetType, byte data, UUID creatorID ) : OpenSim.Framework.AssetBase
assetUuid UUID
assetType AssetType
data byte
creatorID UUID
return OpenSim.Framework.AssetBase

CreateAsset() public static method

Create an asset from the given data.
public static CreateAsset ( UUID assetUuid, AssetType assetType, string data, UUID creatorID ) : OpenSim.Framework.AssetBase
assetUuid UUID
assetType AssetType
data string
creatorID UUID
return OpenSim.Framework.AssetBase

CreateAsset() public static method

Create an asset from the given scene object.
public static CreateAsset ( UUID assetUuid, SceneObjectGroup sog ) : OpenSim.Framework.AssetBase
assetUuid UUID
sog OpenSim.Region.Framework.Scenes.SceneObjectGroup
return OpenSim.Framework.AssetBase