C# Class OpenSim.Data.MySQL.MySQLSimulationData

A MySQL Interface for the Region Server
Inheritance: ISimulationDataStore
Show file Open project: openmetaversefoundation/fortis-opensim

Public Methods

Method 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[
MySQLSimulationData ( ) : System
MySQLSimulationData ( string connectionString ) : System
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

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

public Dispose ( ) : void
return void

Initialise() public method

public Initialise ( string connectionString ) : void
connectionString string
return void

LoadLandObjects() public method

public LoadLandObjects ( UUID regionUUID ) : List
regionUUID UUID
return List

LoadObjects() public method

public LoadObjects ( UUID regionID ) : List
regionID UUID
return List

LoadRegionSettings() public method

public LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings
regionUUID UUID
return OpenSim.Framework.RegionSettings

LoadRegionWindlightSettings() public method

public LoadRegionWindlightSettings ( UUID regionUUID ) : RegionLightShareData
regionUUID UUID
return OpenSim.Framework.RegionLightShareData

LoadTerrain() public method

public LoadTerrain ( UUID regionID ) : ].double[
regionID UUID
return ].double[

MySQLSimulationData() public method

public MySQLSimulationData ( ) : System
return System

MySQLSimulationData() public method

public MySQLSimulationData ( string connectionString ) : System
connectionString string
return System

RemoveLandObject() public method

public RemoveLandObject ( UUID globalID ) : void
globalID UUID
return void

RemoveObject() public method

public RemoveObject ( UUID obj, UUID regionUUID ) : void
obj UUID
regionUUID UUID
return void

Shutdown() public method

public Shutdown ( ) : void
return void

StoreLandObject() public method

public StoreLandObject ( ILandObject parcel ) : void
parcel ILandObject
return void

StoreObject() public method

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

StorePrimInventory() public method

public StorePrimInventory ( UUID primID, ICollection items ) : void
primID UUID
items ICollection
return void

StoreRegionSettings() public method

public StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void
rs OpenSim.Framework.RegionSettings
return void

StoreRegionWindlightSettings() public method

public StoreRegionWindlightSettings ( RegionLightShareData wl ) : void
wl OpenSim.Framework.RegionLightShareData
return void

StoreTerrain() public method

public StoreTerrain ( double ter, UUID regionID ) : void
ter double
regionID UUID
return void