Méthode | Description | |
---|---|---|
Commit ( ) : void |
|
|
Dispose ( ) : void | ||
Initialise ( string connectionString ) : void |
|
|
LoadLandObjects ( UUID regionUUID ) : List |
|
|
LoadObjects ( UUID regionUUID ) : List |
Load persisted objects from region storage.
|
|
LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings | ||
LoadRegionWindlightSettings ( UUID regionUUID ) : |
||
LoadTerrain ( UUID regionID ) : ].double[ |
Load the latest terrain revision from region storage
|
|
RemoveLandObject ( UUID globalID ) : void |
|
|
RemoveObject ( UUID obj, UUID regionUUID ) : void |
Removes an object from region storage
|
|
RemoveRegionWindlightSettings ( UUID regionID ) : void | ||
SQLiteSimulationData ( ) : System | ||
SQLiteSimulationData ( string connectionString ) : System | ||
Shutdown ( ) : void |
See Commit
|
|
StoreLandObject ( ILandObject parcel ) : void |
|
|
StoreObject ( |
Adds an object into region storage
|
|
StorePrimInventory ( UUID primID, ICollection |
|
|
StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void | ||
StoreRegionWindlightSettings ( |
||
StoreTerrain ( double ter, UUID regionID ) : void |
Store a terrain revision in region storage
|
Méthode | Description | |
---|---|---|
LoadItems ( |
Load in a prim's persisted inventory.
|
|
RemoveItems ( UUID uuid ) : void |
Remove all persisted items of the given prim. The caller must acquire the necessrary synchronization locks and commit or rollback changes.
|
|
addPrim ( |
|
|
buildItem ( |
Build a prim inventory item from the persisted data.
|
|
buildLandAccessData ( |
Build a land access entry from the persisted data.
|
|
buildLandData ( |
Build a Land Data from the persisted data.
|
|
buildPrim ( |
|
|
buildRegionSettings ( |
||
buildShape ( |
|
|
createCol ( |
|
|
createInsertCommand ( string table, |
Create an insert command This is subtle enough to deserve some commentary. Instead of doing *lots* and *lots of hardcoded strings for database definitions we'll use the fact that realistically all insert statements look like "insert into A(b, c) values(:b, :c) on the parameterized query front. If we just have a list of b, c, etc... we can generate these strings instead of typing them out. |
|
createItemsTable ( ) : |
creates "primitems" table
|
|
createLandAccessListTable ( ) : |
create "landaccesslist" table
|
|
createLandTable ( ) : |
Creates "land" table
|
|
createPrimTable ( ) : |
Creates the "prims" table
|
|
createRegionSettingsTable ( ) : |
||
createShapeTable ( ) : |
Creates "primshapes" table
|
|
createSqliteParameter ( string name, |
This is a convenience function that collapses 5 repetitive lines for defining SqliteParameters to 2 parameters: column name and database type. It assumes certain conventions like :param as the param name to replace in parametrized queries, and that source version is always current version, both of which are fine for us.
|
|
createTerrainTable ( ) : |
Creates the "terrain" table
|
|
createUpdateCommand ( string table, string pk, |
create an update command
|
|
createUpdateCommand ( string table, string pk1, string pk2, |
create an update command
|
|
dbtypeFromType ( |
Type conversion function
|
|
fillItemRow ( |
|
|
fillLandAccessRow ( |
|
|
fillLandRow ( |
|
|
fillPrimRow ( |
|
|
fillRegionSettingsRow ( |
||
fillShapeRow ( |
|
|
serializeTerrain ( double val ) : |
|
|
setupItemsCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
|
setupLandAccessCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
|
setupLandCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
|
setupPrimCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
|
setupRegionSettingsCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void | ||
setupShapeCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
|
setupTerrainCommands ( Mono.Data.SqliteClient.SqliteDataAdapter da, Mono.Data.SqliteClient.SqliteConnection conn ) : void |
|
public Initialise ( string connectionString ) : void | ||
connectionString | string | the connection string |
Résultat | void |
public LoadLandObjects ( UUID regionUUID ) : List |
||
regionUUID | UUID | |
Résultat | List |
public LoadObjects ( UUID regionUUID ) : List |
||
regionUUID | UUID | The region UUID |
Résultat | List |
public LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings | ||
regionUUID | UUID | |
Résultat | OpenSim.Framework.RegionSettings |
public LoadRegionWindlightSettings ( UUID regionUUID ) : |
||
regionUUID | UUID | |
Résultat |
public LoadTerrain ( UUID regionID ) : ].double[ | ||
regionID | UUID | the region UUID |
Résultat | ].double[ |
public RemoveLandObject ( UUID globalID ) : void | ||
globalID | UUID | |
Résultat | void |
public RemoveObject ( UUID obj, UUID regionUUID ) : void | ||
obj | UUID | the object |
regionUUID | UUID | the region UUID |
Résultat | void |
public RemoveRegionWindlightSettings ( UUID regionID ) : void | ||
regionID | UUID | |
Résultat | void |
public SQLiteSimulationData ( string connectionString ) : System | ||
connectionString | string | |
Résultat | System |
public StoreLandObject ( ILandObject parcel ) : void | ||
parcel | ILandObject | |
Résultat | void |
public StoreObject ( |
||
obj | the object | |
regionUUID | UUID | the region UUID |
Résultat | void |
public StorePrimInventory ( UUID primID, ICollection |
||
primID | UUID | |
items | ICollection |
|
Résultat | void |
public StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void | ||
rs | OpenSim.Framework.RegionSettings | |
Résultat | void |
public StoreRegionWindlightSettings ( |
||
wl | ||
Résultat | void |
public StoreTerrain ( double ter, UUID regionID ) : void | ||
ter | double | terrain heightfield |
regionID | UUID | region UUID |
Résultat | void |