프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_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 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 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 |
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 Timer,System.Timers m_backupSaveTimer | ||
리턴 |