Add experimental stubs for an extension function interface on both

PhysicsScene and PhysicsActor.
TeleportWork
Robert Adams 2013-07-10 09:32:26 -07:00
parent 803632f8f3
commit 13a4a80b38
2 changed files with 15 additions and 0 deletions

View File

@ -313,6 +313,12 @@ namespace OpenSim.Region.Physics.Manager
public abstract void SubscribeEvents(int ms);
public abstract void UnSubscribeEvents();
public abstract bool SubscribedEvents();
// Extendable interface for new, physics engine specific operations
public virtual object Extension(string pFunct, params object[] pParams)
{
throw new NotImplementedException();
}
}
public class NullPhysicsActor : PhysicsActor

View File

@ -25,10 +25,13 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
using System;
using System.Collections.Generic;
using System.Reflection;
using log4net;
using Nini.Config;
using OpenSim.Framework;
using OpenMetaverse;
@ -331,5 +334,11 @@ namespace OpenSim.Region.Physics.Manager
{
return false;
}
// Extendable interface for new, physics engine specific operations
public virtual object Extension(string pFunct, params object[] pParams)
{
throw new NotImplementedException();
}
}
}