Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
CreateDataSetMapping ( IDataAdapter da, string tableName ) : void |
Метод | Описание | |
---|---|---|
LoadItems ( |
Load in a prim's persisted inventory.
|
|
PrintDataSet ( |
||
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 ( |
Persistently store a prim.
|
|
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 ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
|
setupLandAccessCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
|
setupLandCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
|
setupPrimCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
|
setupRegionSettingsCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void | ||
setupShapeCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
|
setupTerrainCommands ( SqliteDataAdapter da, SqliteConnection conn ) : void |
|
protected CreateDataSetMapping ( IDataAdapter da, string tableName ) : void | ||
da | IDataAdapter | |
tableName | string | |
Результат | void |
public Initialise ( string connectionString ) : void | ||
connectionString | string | the connection string |
Результат | void |
public LoadLandObjects ( UUID regionUUID ) : List |
||
regionUUID | UUID | |
Результат | List |
public LoadObjects ( UUID regionUUID ) : List |
||
regionUUID | UUID | The region UUID |
Результат | List |
public LoadRegionSettings ( UUID regionUUID ) : OpenSim.Framework.RegionSettings | ||
regionUUID | UUID | |
Результат | OpenSim.Framework.RegionSettings |
public LoadRegionWindlightSettings ( UUID regionUUID ) : |
||
regionUUID | UUID | |
Результат |
public LoadTerrain ( UUID regionID ) : ].double[ | ||
regionID | UUID | the region UUID |
Результат | ].double[ |
public RemoveLandObject ( UUID globalID ) : void | ||
globalID | UUID | |
Результат | void |
public RemoveObject ( UUID obj, UUID regionUUID ) : void | ||
obj | UUID | the object |
regionUUID | UUID | the region UUID |
Результат | void |
public RemoveRegionWindlightSettings ( UUID regionID ) : void | ||
regionID | UUID | |
Результат | void |
public SQLiteSimulationData ( string connectionString ) : System | ||
connectionString | string | |
Результат | System |
public StoreLandObject ( ILandObject parcel ) : void | ||
parcel | ILandObject | |
Результат | void |
public StoreObject ( |
||
obj | the object | |
regionUUID | UUID | the region UUID |
Результат | void |
public StorePrimInventory ( UUID primID, ICollection |
||
primID | UUID | |
items | ICollection |
|
Результат | void |
public StoreRegionSettings ( OpenSim.Framework.RegionSettings rs ) : void | ||
rs | OpenSim.Framework.RegionSettings | |
Результат | void |
public StoreRegionWindlightSettings ( |
||
wl | ||
Результат | void |
public StoreTerrain ( double ter, UUID regionID ) : void | ||
ter | double | terrain heightfield |
regionID | UUID | region UUID |
Результат | void |