added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrab event, for the new surface touch parameters in 1.21 viewers.

This commit is contained in:
MW
2008-10-10 17:05:43 +00:00
parent 5be7442736
commit 0644977819
5 changed files with 24 additions and 7 deletions

View File

@@ -197,7 +197,7 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
public event RequestGodlikePowers OnRequestGodlikePowers;
public event GodKickUser OnGodKickUser;
public event ObjectDuplicate OnObjectDuplicate;
public event UpdateVector OnGrabObject;
public event GrabObject OnGrabObject;
public event ObjectSelect OnDeGrabObject;
public event MoveObject OnGrabUpdate;
public event ViewerEffectEventHandler OnViewerEffect;

View File

@@ -212,7 +212,7 @@ namespace OpenSim.Region.Environment.Scenes
m_eventManager.TriggerLandBuy(this, args);
}
public virtual void ProcessObjectGrab(uint localID, Vector3 offsetPos, IClientAPI remoteClient)
public virtual void ProcessObjectGrab(uint localID, Vector3 offsetPos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs)
{
List<EntityBase> EntityList = GetEntities();