OpenSim
|
A PGSQL Interface for the Region Server. More...
Public Member Functions | |
PGSQLSimulationData () | |
PGSQLSimulationData (string connectionString) | |
void | Initialise (string connectionString) |
Initialises the region datastore More... | |
void | Dispose () |
Dispose the database More... | |
List< SceneObjectGroup > | LoadObjects (UUID regionUUID) |
Loads the objects present in the region. More... | |
void | StoreObject (SceneObjectGroup obj, UUID regionUUID) |
Stores all object's details apart from inventory More... | |
void | RemoveObject (UUID objectID, UUID regionUUID) |
Removes a object from the database. Meaning removing it from tables Prims, PrimShapes and PrimItems More... | |
void | StorePrimInventory (UUID primID, ICollection< TaskInventoryItem > items) |
Store the inventory of a prim. Warning deletes everything first and then adds all again. More... | |
double[,] | LoadTerrain (UUID regionID) |
Loads the terrain map. More... | |
TerrainData | LoadTerrain (UUID regionID, int pSizeX, int pSizeY, int pSizeZ) |
Load the latest terrain revision from region storage More... | |
void | StoreTerrain (double[,] terrain, UUID regionID) |
void | StoreTerrain (TerrainData terrData, UUID regionID) |
Stores the terrain map to DB. More... | |
List< LandData > | LoadLandObjects (UUID regionUUID) |
Loads all the land objects of a region. More... | |
void | StoreLandObject (ILandObject parcel) |
Stores land object with landaccess list. More... | |
void | RemoveLandObject (UUID globalID) |
Removes a land object from DB. More... | |
RegionLightShareData | LoadRegionWindlightSettings (UUID regionUUID) |
void | RemoveRegionWindlightSettings (UUID regionID) |
void | StoreRegionWindlightSettings (RegionLightShareData wl) |
string | LoadRegionEnvironmentSettings (UUID regionUUID) |
Load Environment settings from region storage More... | |
void | StoreRegionEnvironmentSettings (UUID regionUUID, string settings) |
Store Environment settings into region storage More... | |
void | RemoveRegionEnvironmentSettings (UUID regionUUID) |
Delete Environment settings from region storage More... | |
RegionSettings | LoadRegionSettings (UUID regionUUID) |
Loads the settings of a region. More... | |
void | StoreRegionSettings (RegionSettings regionSettings) |
Store region settings, need to check if the check is really necesary. If we can make something for creating new region. More... | |
void | Shutdown () |
UUID[] | GetObjectIDs (UUID regionID) |
void | SaveExtra (UUID regionID, string name, string value) |
void | RemoveExtra (UUID regionID, string name) |
Dictionary< string, string > | GetExtra (UUID regionID) |
Properties | |
virtual Assembly | Assembly [get] |
A PGSQL Interface for the Region Server.
Definition at line 46 of file PGSQLSimulationData.cs.
|
inline |
Definition at line 64 of file PGSQLSimulationData.cs.
|
inline |
Definition at line 68 of file PGSQLSimulationData.cs.
|
inline |
Dispose the database
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 94 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 2243 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 2230 of file PGSQLSimulationData.cs.
|
inline |
Initialises the region datastore
connectionString | The connection string. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 77 of file PGSQLSimulationData.cs.
|
inline |
Loads all the land objects of a region.
regionUUID | The region UUID. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 626 of file PGSQLSimulationData.cs.
|
inline |
Loads the objects present in the region.
regionUUID | The region UUID. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 103 of file PGSQLSimulationData.cs.
|
inline |
Load Environment settings from region storage
regionUUID | the region UUID |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1212 of file PGSQLSimulationData.cs.
|
inline |
Loads the settings of a region.
regionUUID | The region UUID. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1280 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 739 of file PGSQLSimulationData.cs.
|
inline |
Loads the terrain map.
regionID | regionID. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 525 of file PGSQLSimulationData.cs.
|
inline |
Load the latest terrain revision from region storage
regionID | the region UUID |
pSizeX | the X dimension of the terrain being filled |
pSizeY | the Y dimension of the terrain being filled |
pSizeZ | the Z dimension of the terrain being filled |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 535 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 2239 of file PGSQLSimulationData.cs.
|
inline |
Removes a land object from DB.
globalID | UUID of landobject |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 720 of file PGSQLSimulationData.cs.
|
inline |
Removes a object from the database. Meaning removing it from tables Prims, PrimShapes and PrimItems
objectID | id of scenegroup |
regionUUID | regionUUID (is this used anyway |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 443 of file PGSQLSimulationData.cs.
|
inline |
Delete Environment settings from region storage
regionUUID | the region UUID |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1261 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 832 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 2235 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1364 of file PGSQLSimulationData.cs.
|
inline |
Stores land object with landaccess list.
parcel | parcel data. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 674 of file PGSQLSimulationData.cs.
|
inline |
Stores all object's details apart from inventory
obj | |
regionUUID |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 251 of file PGSQLSimulationData.cs.
|
inline |
Store the inventory of a prim. Warning deletes everything first and then adds all again.
primID | |
items |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 478 of file PGSQLSimulationData.cs.
|
inline |
Store Environment settings into region storage
regionUUID | the region UUID |
settings | LLSD string from viewer |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1234 of file PGSQLSimulationData.cs.
|
inline |
Store region settings, need to check if the check is really necesary. If we can make something for creating new region.
regionSettings | region settings. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 1318 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 844 of file PGSQLSimulationData.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 572 of file PGSQLSimulationData.cs.
|
inline |
Stores the terrain map to DB.
terrain | terrain map data. |
regionID | regionID. |
Implements OpenSim.Region.Framework.Interfaces.ISimulationDataStore.
Definition at line 582 of file PGSQLSimulationData.cs.
|
getprotected |
Definition at line 60 of file PGSQLSimulationData.cs.