make methods surounding backup virtual so they could be override for server side created objects
parent
412b555c27
commit
49f89dd758
OpenSim/Region/Framework/Scenes
|
@ -463,7 +463,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes.
|
/// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void AttachToBackup()
|
public virtual void AttachToBackup()
|
||||||
{
|
{
|
||||||
if (InSceneBackup)
|
if (InSceneBackup)
|
||||||
{
|
{
|
||||||
|
@ -1063,7 +1063,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// Processes backup.
|
/// Processes backup.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="datastore"></param>
|
/// <param name="datastore"></param>
|
||||||
public void ProcessBackup(IRegionDataStore datastore, bool forcedBackup)
|
public virtual void ProcessBackup(IRegionDataStore datastore, bool forcedBackup)
|
||||||
{
|
{
|
||||||
if (!m_isBackedUp)
|
if (!m_isBackedUp)
|
||||||
return;
|
return;
|
||||||
|
@ -2063,7 +2063,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// Stop this object from being persisted over server restarts.
|
/// Stop this object from being persisted over server restarts.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="objectGroup"></param>
|
/// <param name="objectGroup"></param>
|
||||||
public void DetachFromBackup()
|
public virtual void DetachFromBackup()
|
||||||
{
|
{
|
||||||
if (m_isBackedUp)
|
if (m_isBackedUp)
|
||||||
m_scene.EventManager.OnBackup -= ProcessBackup;
|
m_scene.EventManager.OnBackup -= ProcessBackup;
|
||||||
|
|
Loading…
Reference in New Issue