Свойство | Тип | Описание | |
---|---|---|---|
_oldRegionLoader | IRegionDataLoader | ||
_regionData | |||
_regionLoader | IRegionDataLoader | ||
defaultDataPath | string | ||
m_backupSaveTimer | |||
m_displayNotSavingNotice | bool | ||
m_fileName | string | ||
m_keepOldSave | bool | ||
m_mapcenter_x | int | ||
m_mapcenter_y | int | ||
m_oldSaveDirectory | string | ||
m_oldSaveHasBeenSaved | bool | ||
m_regionNameSeed | string[] | ||
m_removeArchiveDays | int | ||
m_requiresSave | bool | ||
m_saveBackupChanges | bool | ||
m_saveBackups | bool | ||
m_saveChanges | bool | ||
m_saveLock | object | ||
m_saveTimer | |||
m_scene | IScene | ||
m_shutdown | bool | ||
m_storeDirectory | string | ||
m_timeBetweenBackupSaves | int | ||
m_timeBetweenSaves | int |
Метод | Описание | |
---|---|---|
CacheDispose ( ) : void | ||
CleanupRegionBackups ( IScene scene, string cmds ) : void |
Cleanups the old region backups.
|
|
Copy ( ) : ISimulationDataStore | ||
CreateNewRegion ( ISimulationBase simBase, int>.Dictionary |
||
CreateNewRegion ( ISimulationBase simBase, WhiteCore.Framework.SceneInfo.RegionInfo regionInfo, int>.Dictionary |
Initializes a new region using the passed regioninfo
|
|
CreateNewRegion ( ISimulationBase simBase, string regionName, int>.Dictionary |
||
DeleteUpOldArchives ( int daysOld ) : void | ||
Dispose ( ) : void | ||
FileBasedSimulationData ( ) : System | ||
FindBackupRegionFiles ( ) : List |
||
FindRegionBackupFiles ( string regionName ) : List |
||
FindRegionInfos ( bool &newRegion, ISimulationBase simBase ) : List |
||
ForceBackup ( ) : void | ||
GetLastBackupFileName ( string regionName ) : string | ||
Initialise ( ) : void | ||
LoadLandObjects ( ) : List |
Around for legacy things
|
|
LoadObjects ( ) : List |
||
LoadRegionInfo ( string fileName, ISimulationBase simBase ) : WhiteCore.Framework.SceneInfo.RegionInfo | ||
LoadRegionNameInfo ( string regionName, ISimulationBase simBase ) : WhiteCore.Framework.SceneInfo.RegionInfo | ||
LoadTerrain ( bool RevertMap, int RegionSizeX, int RegionSizeY ) : void | ||
LoadWater ( bool RevertMap, int RegionSizeX, int RegionSizeY ) : void | ||
RemoveRegion ( ) : void | ||
RestoreBackupFile ( string fileName, string regionName ) : bool | ||
RestoreLastBackup ( string regionName ) : bool |
Restores the last backup.
|
|
SetRegion ( IScene scene ) : void | ||
Shutdown ( ) : void | ||
Tainted ( ) : void | ||
UpdateRegionInfo ( IScene scene, string cmds ) : void |
Updates the region info, allowing for changes etc.
|
|
UpdateRegionPrims ( IScene scene, string cmds ) : void |
Sets the region prim capacity.
|
Метод | Описание | |
---|---|---|
ReadBackup ( string fileName ) : void | ||
ReadConfig ( ISimulationBase simBase ) : void |
Read the config for the data loader
|
|
SaveBackup ( bool isOldSave ) : void |
Save a backup of the sim
|
|
SerializeDateTime ( ) : string | ||
UpdateRegionCapacity ( ) : void | ||
m_backupSaveTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Save a backup into the oldSaveDirectory on the timer event
|
|
m_saveTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void |
Save a backup on the timer event
|
Метод | Описание | |
---|---|---|
BuildOldSaveFileName ( ) : string | ||
BuildSaveFileName ( ) : string | ||
BuildSaveFileName ( string name ) : string | ||
CreateRegionFromConsole ( WhiteCore.Framework.SceneInfo.RegionInfo info, bool prompt, int>.Dictionary |
Creates/updates a region from console.
|
|
GetRegionArchives ( ) : List |
Gets any region preset OAR files.
|
|
GetRegionLocation ( WhiteCore.Framework.SceneInfo.RegionInfo ®Info ) : bool |
Gets the region location.
|
|
GetRegionName ( WhiteCore.Framework.SceneInfo.RegionInfo ®Info ) : bool |
Gets the name of the region.
|
|
GetRegionOptional ( WhiteCore.Framework.SceneInfo.RegionInfo ®Info ) : bool |
Gets the region optional settings.
|
|
GetRegionSize ( WhiteCore.Framework.SceneInfo.RegionInfo ®Info ) : bool |
Gets the size of the region.
|
|
ModifyRegionSettings ( WhiteCore.Framework.SceneInfo.RegionInfo ®Info, bool advanced ) : bool |
Modifies the region settings.
|
|
ReadFromData ( byte data ) : ITerrainChannel | ||
WhiteCoreEventManager_OnGenericEvent ( string FunctionName, object parameters ) : object |
Look for the backup event, and if it is there, trigger the backup of the sim
|
|
WriteTerrainToStream ( ITerrainChannel tModule ) : byte[] |
public CleanupRegionBackups ( IScene scene, string cmds ) : void | ||
scene | IScene | Scene |
cmds | string | Commands |
Результат | void |
public CreateNewRegion ( ISimulationBase simBase, int>.Dictionary |
||
simBase | ISimulationBase | |
currentInfo | int>.Dictionary | |
Результат | WhiteCore.Framework.SceneInfo.RegionInfo |
public CreateNewRegion ( ISimulationBase simBase, WhiteCore.Framework.SceneInfo.RegionInfo regionInfo, int>.Dictionary |
||
simBase | ISimulationBase | Sim base. |
regionInfo | WhiteCore.Framework.SceneInfo.RegionInfo | Region info. |
currentInfo | int>.Dictionary | Current region info. |
Результат | WhiteCore.Framework.SceneInfo.RegionInfo |
public CreateNewRegion ( ISimulationBase simBase, string regionName, int>.Dictionary |
||
simBase | ISimulationBase | |
regionName | string | |
currentInfo | int>.Dictionary | |
Результат | WhiteCore.Framework.SceneInfo.RegionInfo |
public DeleteUpOldArchives ( int daysOld ) : void | ||
daysOld | int | |
Результат | void |
public FileBasedSimulationData ( ) : System | ||
Результат | System |
public FindRegionBackupFiles ( string regionName ) : List |
||
regionName | string | |
Результат | List |
public FindRegionInfos ( bool &newRegion, ISimulationBase simBase ) : List |
||
newRegion | bool | |
simBase | ISimulationBase | |
Результат | List |
public GetLastBackupFileName ( string regionName ) : string | ||
regionName | string | |
Результат | string |
public LoadRegionInfo ( string fileName, ISimulationBase simBase ) : WhiteCore.Framework.SceneInfo.RegionInfo | ||
fileName | string | |
simBase | ISimulationBase | |
Результат | WhiteCore.Framework.SceneInfo.RegionInfo |
public LoadRegionNameInfo ( string regionName, ISimulationBase simBase ) : WhiteCore.Framework.SceneInfo.RegionInfo | ||
regionName | string | |
simBase | ISimulationBase | |
Результат | WhiteCore.Framework.SceneInfo.RegionInfo |
public LoadTerrain ( bool RevertMap, int RegionSizeX, int RegionSizeY ) : void | ||
RevertMap | bool | |
RegionSizeX | int | |
RegionSizeY | int | |
Результат | void |
public LoadWater ( bool RevertMap, int RegionSizeX, int RegionSizeY ) : void | ||
RevertMap | bool | |
RegionSizeX | int | |
RegionSizeY | int | |
Результат | void |
protected ReadBackup ( string fileName ) : void | ||
fileName | string | |
Результат | void |
protected ReadConfig ( ISimulationBase simBase ) : void | ||
simBase | ISimulationBase | |
Результат | void |
public RestoreBackupFile ( string fileName, string regionName ) : bool | ||
fileName | string | |
regionName | string | |
Результат | bool |
public RestoreLastBackup ( string regionName ) : bool | ||
regionName | string | Region name. |
Результат | bool |
protected SaveBackup ( bool isOldSave ) : void | ||
isOldSave | bool | |
Результат | void |
public UpdateRegionInfo ( IScene scene, string cmds ) : void | ||
scene | IScene | Scene |
cmds | string | Commands |
Результат | void |
public UpdateRegionPrims ( IScene scene, string cmds ) : void | ||
scene | IScene | Scene |
cmds | string | Commands |
Результат | void |
protected m_backupSaveTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
sender | object | |
e | System.Timers.ElapsedEventArgs | |
Результат | void |
protected m_saveTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void | ||
sender | object | |
e | System.Timers.ElapsedEventArgs | |
Результат | void |
protected IRegionDataLoader _oldRegionLoader | ||
Результат | IRegionDataLoader |
protected RegionData,WhiteCore.Modules _regionData | ||
Результат |
protected IRegionDataLoader _regionLoader | ||
Результат | IRegionDataLoader |
protected Timer,System.Timers m_backupSaveTimer | ||
Результат |
protected Timer,System.Timers m_saveTimer | ||
Результат |