C# Class OpenSim.Data.MySQL.MySQLDataStore

A MySQL Interface for the Region Server
Inheritance: IRegionDataStore
Afficher le fichier Open project: mcortez/opensim

Méthodes publiques

Méthode Description
Dispose ( ) : void
Initialise ( string connectionString ) : void
LoadLandObjects ( UUID regionUUID ) : List
LoadObjects ( UUID regionID ) : List
LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings
LoadRegionWindlightSettings ( UUID regionUUID ) : RegionLightShareData
LoadTerrain ( UUID regionID ) : ].double[
RemoveLandObject ( UUID globalID ) : void
RemoveObject ( UUID obj, UUID regionUUID ) : void
Shutdown ( ) : void
StoreLandObject ( ILandObject parcel ) : void
StoreObject ( SceneObjectGroup obj, UUID regionUUID ) : void
StorePrimInventory ( UUID primID, ICollection items ) : void
StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void
StoreRegionWindlightSettings ( RegionLightShareData wl ) : void
StoreTerrain ( double ter, UUID regionID ) : void

Private Methods

Méthode Description
BuildItem ( IDataReader row ) : TaskInventoryItem

Build a prim inventory item from the persisted data.

BuildLandAccessData ( IDataReader row ) : ParcelManager.ParcelAccessEntry

BuildLandData ( IDataReader row ) : LandData

BuildPrim ( IDataReader row ) : SceneObjectPart
BuildRegionSettings ( IDataReader row ) : OpenSim.Framework.RegionSettings
BuildShape ( IDataReader row ) : OpenSim.Framework.PrimitiveBaseShape

ExecuteNonQuery ( MySqlCommand c ) : void
ExecuteReader ( MySqlCommand c ) : IDataReader
FillItemCommand ( MySqlCommand cmd, TaskInventoryItem taskItem ) : void

FillLandAccessCommand ( MySqlCommand cmd, ParcelManager entry, UUID parcelID ) : void

FillLandCommand ( MySqlCommand cmd, LandData land, UUID regionUUID ) : void

FillPrimCommand ( MySqlCommand cmd, SceneObjectPart prim, UUID sceneGroupID, UUID regionUUID ) : void

Fill the prim command with prim values

FillRegionSettingsCommand ( MySqlCommand cmd, OpenSim.Framework.RegionSettings settings ) : void

FillShapeCommand ( MySqlCommand cmd, SceneObjectPart prim ) : void

LoadItems ( SceneObjectPart prim ) : void

Load in a prim's persisted inventory.

RemoveItems ( List uuids ) : void

Remove all persisted items for a list of prims The caller must acquire the necessrary synchronization locks

RemoveItems ( UUID uuid ) : void

Remove all persisted items of the given prim. The caller must acquire the necessrary synchronization locks

RemoveShapes ( List uuids ) : void

Remove all persisted shapes for a list of prims The caller must acquire the necessrary synchronization locks

SerializeTerrain ( double val ) : Array

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Initialise() public méthode

public Initialise ( string connectionString ) : void
connectionString string
Résultat void

LoadLandObjects() public méthode

public LoadLandObjects ( UUID regionUUID ) : List
regionUUID UUID
Résultat List

LoadObjects() public méthode

public LoadObjects ( UUID regionID ) : List
regionID UUID
Résultat List

LoadRegionSettings() public méthode

public LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings
regionUUID UUID
Résultat OpenSim.Framework.RegionSettings

LoadRegionWindlightSettings() public méthode

public LoadRegionWindlightSettings ( UUID regionUUID ) : RegionLightShareData
regionUUID UUID
Résultat OpenSim.Framework.RegionLightShareData

LoadTerrain() public méthode

public LoadTerrain ( UUID regionID ) : ].double[
regionID UUID
Résultat ].double[

RemoveLandObject() public méthode

public RemoveLandObject ( UUID globalID ) : void
globalID UUID
Résultat void

RemoveObject() public méthode

public RemoveObject ( UUID obj, UUID regionUUID ) : void
obj UUID
regionUUID UUID
Résultat void

Shutdown() public méthode

public Shutdown ( ) : void
Résultat void

StoreLandObject() public méthode

public StoreLandObject ( ILandObject parcel ) : void
parcel ILandObject
Résultat void

StoreObject() public méthode

public StoreObject ( SceneObjectGroup obj, UUID regionUUID ) : void
obj OpenSim.Region.Framework.Scenes.SceneObjectGroup
regionUUID UUID
Résultat void

StorePrimInventory() public méthode

public StorePrimInventory ( UUID primID, ICollection items ) : void
primID UUID
items ICollection
Résultat void

StoreRegionSettings() public méthode

public StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void
rs OpenSim.Framework.RegionSettings
Résultat void

StoreRegionWindlightSettings() public méthode

public StoreRegionWindlightSettings ( RegionLightShareData wl ) : void
wl OpenSim.Framework.RegionLightShareData
Résultat void

StoreTerrain() public méthode

public StoreTerrain ( double ter, UUID regionID ) : void
ter double
regionID UUID
Résultat void