From b2eb26e4babbf87c8db84e67de116ef145feb2d6 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 29 May 2007 09:16:18 +0000 Subject: number of changes --- Common/OpenSim.Framework/Interfaces/IClientAPI.cs | 7 ++++++- Common/OpenSim.Framework/Interfaces/IWorld.cs | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Common/OpenSim.Framework/Interfaces') diff --git a/Common/OpenSim.Framework/Interfaces/IClientAPI.cs b/Common/OpenSim.Framework/Interfaces/IClientAPI.cs index add6c00..8ba1571 100644 --- a/Common/OpenSim.Framework/Interfaces/IClientAPI.cs +++ b/Common/OpenSim.Framework/Interfaces/IClientAPI.cs @@ -18,6 +18,8 @@ namespace OpenSim.Framework.Interfaces public delegate void GenericCall2(); public delegate void GenericCall3(Packet packet); // really don't want to be passing packets in these events, so this is very temporary. public delegate void GenericCall4(Packet packet, IClientAPI remoteClient); + public delegate void GenericCall5(IClientAPI remoteClient, bool status); + public delegate void GenericCall6(LLUUID uid); public delegate void UpdateShape(uint localID, ObjectShapePacket.ObjectDataBlock shapeBlock); public delegate void ObjectSelect(uint localID, IClientAPI remoteClient); public delegate void UpdatePrimFlags(uint localID, Packet packet, IClientAPI remoteClient); @@ -25,6 +27,7 @@ namespace OpenSim.Framework.Interfaces public delegate void UpdatePrimVector(uint localID, LLVector3 pos, IClientAPI remoteClient); public delegate void UpdatePrimRotation(uint localID, LLQuaternion rot, IClientAPI remoteClient); public delegate void StatusChange(bool status); + public delegate void NewAvatar(IClientAPI remoteClient, LLUUID agentID, bool status); public interface IClientAPI { @@ -50,6 +53,8 @@ namespace OpenSim.Framework.Interfaces event UpdatePrimVector OnUpdatePrimScale; event StatusChange OnChildAgentStatus; event GenericCall2 OnStopMovement; + event NewAvatar OnNewAvatar; + event GenericCall6 OnRemoveAvatar; LLVector3 StartPos { @@ -63,7 +68,7 @@ namespace OpenSim.Framework.Interfaces } void OutPacket(Packet newPack); - void SendAppearance(AvatarWearable[] wearables); + void SendWearables(AvatarWearable[] wearables); void SendChatMessage(byte[] message, byte type, LLVector3 fromPos, string fromName, LLUUID fromAgentID); } } diff --git a/Common/OpenSim.Framework/Interfaces/IWorld.cs b/Common/OpenSim.Framework/Interfaces/IWorld.cs index 433e540..ab2d63d 100644 --- a/Common/OpenSim.Framework/Interfaces/IWorld.cs +++ b/Common/OpenSim.Framework/Interfaces/IWorld.cs @@ -8,8 +8,8 @@ namespace OpenSim.Framework.Interfaces { public interface IWorld { - bool AddNewAvatar(IClientAPI remoteClient, bool childAgent); - bool RemoveAvatar(LLUUID agentID); + void AddNewAvatar(IClientAPI remoteClient, LLUUID agentID, bool child); + void RemoveAvatar(LLUUID agentID); RegionInfo GetRegionInfo(); } } -- cgit v1.1