Initial Online friends notification seems to be working reliably now. All this needs more testing, but everything is there.
parent
db24e57cab
commit
5c5966545d
|
@ -597,7 +597,7 @@ namespace OpenSim.Client.MXP.ClientStack
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -906,7 +906,7 @@ namespace OpenSim.Client.MXP.ClientStack
|
||||||
|
|
||||||
if (OnCompleteMovementToRegion != null)
|
if (OnCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need to translate to MXP somehow
|
// Need to translate to MXP somehow
|
||||||
|
|
|
@ -243,7 +243,7 @@ namespace OpenSim.Client.Sirikata.ClientStack
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
|
|
@ -246,7 +246,7 @@ namespace OpenSim.Client.VWoHTTP.ClientStack
|
||||||
public event DeRezObject OnDeRezObject = delegate { };
|
public event DeRezObject OnDeRezObject = delegate { };
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply = delegate { };
|
public event Action<IClientAPI> OnRegionHandShakeReply = delegate { };
|
||||||
public event GenericCall2 OnRequestWearables = delegate { };
|
public event GenericCall2 OnRequestWearables = delegate { };
|
||||||
public event GenericCall2 OnCompleteMovementToRegion = delegate { };
|
public event GenericCall1 OnCompleteMovementToRegion = delegate { };
|
||||||
public event UpdateAgent OnAgentUpdate = delegate { };
|
public event UpdateAgent OnAgentUpdate = delegate { };
|
||||||
public event AgentRequestSit OnAgentRequestSit = delegate { };
|
public event AgentRequestSit OnAgentRequestSit = delegate { };
|
||||||
public event AgentSit OnAgentSit = delegate { };
|
public event AgentSit OnAgentSit = delegate { };
|
||||||
|
|
|
@ -93,6 +93,8 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
public delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun);
|
public delegate void SetAlwaysRun(IClientAPI remoteClient, bool SetAlwaysRun);
|
||||||
|
|
||||||
|
public delegate void GenericCall1(IClientAPI remoteClient);
|
||||||
|
|
||||||
public delegate void GenericCall2();
|
public delegate void GenericCall2();
|
||||||
|
|
||||||
// really don't want to be passing packets in these events, so this is very temporary.
|
// really don't want to be passing packets in these events, so this is very temporary.
|
||||||
|
@ -878,7 +880,7 @@ namespace OpenSim.Framework
|
||||||
event DeRezObject OnDeRezObject;
|
event DeRezObject OnDeRezObject;
|
||||||
event Action<IClientAPI> OnRegionHandShakeReply;
|
event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
event GenericCall2 OnRequestWearables;
|
event GenericCall2 OnRequestWearables;
|
||||||
event GenericCall2 OnCompleteMovementToRegion;
|
event GenericCall1 OnCompleteMovementToRegion;
|
||||||
event UpdateAgent OnAgentUpdate;
|
event UpdateAgent OnAgentUpdate;
|
||||||
event AgentRequestSit OnAgentRequestSit;
|
event AgentRequestSit OnAgentRequestSit;
|
||||||
event AgentSit OnAgentSit;
|
event AgentSit OnAgentSit;
|
||||||
|
|
|
@ -121,7 +121,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
public event ObjectAttach OnObjectAttach;
|
public event ObjectAttach OnObjectAttach;
|
||||||
public event ObjectDeselect OnObjectDetach;
|
public event ObjectDeselect OnObjectDetach;
|
||||||
public event ObjectDrop OnObjectDrop;
|
public event ObjectDrop OnObjectDrop;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -5737,10 +5737,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
private bool HandleCompleteAgentMovement(IClientAPI sender, Packet Pack)
|
private bool HandleCompleteAgentMovement(IClientAPI sender, Packet Pack)
|
||||||
{
|
{
|
||||||
GenericCall2 handlerCompleteMovementToRegion = OnCompleteMovementToRegion;
|
GenericCall1 handlerCompleteMovementToRegion = OnCompleteMovementToRegion;
|
||||||
if (handlerCompleteMovementToRegion != null)
|
if (handlerCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
handlerCompleteMovementToRegion();
|
handlerCompleteMovementToRegion(sender);
|
||||||
}
|
}
|
||||||
handlerCompleteMovementToRegion = null;
|
handlerCompleteMovementToRegion = null;
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
protected Dictionary<UUID, UserFriendData> m_Friends =
|
protected Dictionary<UUID, UserFriendData> m_Friends =
|
||||||
new Dictionary<UUID, UserFriendData>();
|
new Dictionary<UUID, UserFriendData>();
|
||||||
|
|
||||||
|
protected List<UUID> m_NeedsListOfFriends = new List<UUID>();
|
||||||
|
|
||||||
protected IPresenceService PresenceService
|
protected IPresenceService PresenceService
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@ -170,6 +172,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
scene.EventManager.OnClientClosed += OnClientClosed;
|
scene.EventManager.OnClientClosed += OnClientClosed;
|
||||||
scene.EventManager.OnMakeRootAgent += OnMakeRootAgent;
|
scene.EventManager.OnMakeRootAgent += OnMakeRootAgent;
|
||||||
scene.EventManager.OnMakeChildAgent += OnMakeChildAgent;
|
scene.EventManager.OnMakeChildAgent += OnMakeChildAgent;
|
||||||
|
scene.EventManager.OnClientLogin += OnClientLogin;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegionLoaded(Scene scene)
|
public void RegionLoaded(Scene scene)
|
||||||
|
@ -220,7 +223,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
client.OnGrantUserRights += OnGrantUserRights;
|
client.OnGrantUserRights += OnGrantUserRights;
|
||||||
|
|
||||||
client.OnLogout += OnLogout;
|
client.OnLogout += OnLogout;
|
||||||
client.OnEconomyDataRequest += SendPresence;
|
|
||||||
|
|
||||||
if (m_Friends.ContainsKey(client.AgentId))
|
if (m_Friends.ContainsKey(client.AgentId))
|
||||||
{
|
{
|
||||||
|
@ -285,19 +287,33 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SendPresence(UUID agentID)
|
private void OnClientLogin(IClientAPI client)
|
||||||
{
|
{
|
||||||
|
UUID agentID = client.AgentId;
|
||||||
|
|
||||||
// Inform the friends that this user is online
|
// Inform the friends that this user is online
|
||||||
StatusChange(agentID, true);
|
StatusChange(agentID, true);
|
||||||
|
|
||||||
// Now send the list of online friends to this user
|
// Register that we need to send the list of online friends to this user
|
||||||
|
lock (m_NeedsListOfFriends)
|
||||||
|
if (!m_NeedsListOfFriends.Contains(agentID))
|
||||||
|
{
|
||||||
|
m_NeedsListOfFriends.Add(agentID);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SendFriendsOnlineIfNeeded(IClientAPI client)
|
||||||
|
{
|
||||||
|
UUID agentID = client.AgentId;
|
||||||
|
if (m_NeedsListOfFriends.Contains(agentID))
|
||||||
|
{
|
||||||
if (!m_Friends.ContainsKey(agentID))
|
if (!m_Friends.ContainsKey(agentID))
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[FRIENDS MODULE]: agent {0} not found in local cache", agentID);
|
m_log.DebugFormat("[FRIENDS MODULE]: agent {0} not found in local cache", agentID);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
IClientAPI client = LocateClientObject(agentID);
|
client = LocateClientObject(agentID);
|
||||||
if (client == null)
|
if (client == null)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[FRIENDS MODULE]: agent's client {0} not found in local scene", agentID);
|
m_log.DebugFormat("[FRIENDS MODULE]: agent's client {0} not found in local scene", agentID);
|
||||||
|
@ -306,9 +322,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||||
|
|
||||||
List<UUID> online = GetOnlineFriends(agentID);
|
List<UUID> online = GetOnlineFriends(agentID);
|
||||||
|
|
||||||
m_log.DebugFormat("[FRIENDS]: User {0} in region {1} has {2} friends online", client.AgentId, client.Scene.RegionInfo.RegionName, online.Count);
|
if (online.Count > 0)
|
||||||
|
{
|
||||||
|
m_log.DebugFormat("[FRIENDS MODULE]: User {0} in region {1} has {2} friends online", client.AgentId, client.Scene.RegionInfo.RegionName, online.Count);
|
||||||
client.SendAgentOnline(online.ToArray());
|
client.SendAgentOnline(online.ToArray());
|
||||||
|
}
|
||||||
|
|
||||||
|
lock (m_NeedsListOfFriends)
|
||||||
|
m_NeedsListOfFriends.Remove(agentID);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
List<UUID> GetOnlineFriends(UUID userID)
|
List<UUID> GetOnlineFriends(UUID userID)
|
||||||
|
|
|
@ -83,7 +83,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -659,7 +659,7 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||||
|
|
||||||
if (OnCompleteMovementToRegion != null)
|
if (OnCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
||||||
|
|
|
@ -47,5 +47,6 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||||
/// <param name="offerMessage"></param>
|
/// <param name="offerMessage"></param>
|
||||||
void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage);
|
void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage);
|
||||||
uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
|
uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
|
||||||
|
void SendFriendsOnlineIfNeeded(IClientAPI client);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,6 +73,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public event OnNewClientDelegate OnNewClient;
|
public event OnNewClientDelegate OnNewClient;
|
||||||
|
|
||||||
|
public delegate void OnClientLoginDelegate(IClientAPI client);
|
||||||
|
public event OnClientLoginDelegate OnClientLogin;
|
||||||
|
|
||||||
public delegate void OnNewPresenceDelegate(ScenePresence presence);
|
public delegate void OnNewPresenceDelegate(ScenePresence presence);
|
||||||
|
|
||||||
public event OnNewPresenceDelegate OnNewPresence;
|
public event OnNewPresenceDelegate OnNewPresence;
|
||||||
|
@ -583,6 +586,28 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void TriggerOnClientLogin(IClientAPI client)
|
||||||
|
{
|
||||||
|
OnClientLoginDelegate handlerClientLogin = OnClientLogin;
|
||||||
|
if (handlerClientLogin != null)
|
||||||
|
{
|
||||||
|
foreach (OnClientLoginDelegate d in handlerClientLogin.GetInvocationList())
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
d(client);
|
||||||
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
m_log.ErrorFormat(
|
||||||
|
"[EVENT MANAGER]: Delegate for TriggerOnClientLogin failed - continuing. {0} {1}",
|
||||||
|
e.Message, e.StackTrace);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public void TriggerOnNewPresence(ScenePresence presence)
|
public void TriggerOnNewPresence(ScenePresence presence)
|
||||||
{
|
{
|
||||||
OnNewPresenceDelegate handlerNewPresence = OnNewPresence;
|
OnNewPresenceDelegate handlerNewPresence = OnNewPresence;
|
||||||
|
|
|
@ -2422,6 +2422,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// <param name="client"></param>
|
/// <param name="client"></param>
|
||||||
public override void AddNewClient(IClientAPI client)
|
public override void AddNewClient(IClientAPI client)
|
||||||
{
|
{
|
||||||
|
bool vialogin = false;
|
||||||
|
|
||||||
m_clientManager.Add(client);
|
m_clientManager.Add(client);
|
||||||
|
|
||||||
CheckHeartbeat();
|
CheckHeartbeat();
|
||||||
|
@ -2463,6 +2465,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if ((aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0)
|
if ((aCircuit.teleportFlags & (uint)Constants.TeleportFlags.ViaLogin) != 0)
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[Scene]: Incoming client {0} {1} in region {2} via Login", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName);
|
m_log.DebugFormat("[Scene]: Incoming client {0} {1} in region {2} via Login", aCircuit.firstname, aCircuit.lastname, RegionInfo.RegionName);
|
||||||
|
vialogin = true;
|
||||||
IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>();
|
IUserAgentVerificationModule userVerification = RequestModuleInterface<IUserAgentVerificationModule>();
|
||||||
if (userVerification != null)
|
if (userVerification != null)
|
||||||
{
|
{
|
||||||
|
@ -2512,7 +2515,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
m_LastLogin = Util.EnvironmentTickCount();
|
m_LastLogin = Util.EnvironmentTickCount();
|
||||||
EventManager.TriggerOnNewClient(client);
|
EventManager.TriggerOnNewClient(client);
|
||||||
|
if (vialogin)
|
||||||
|
EventManager.TriggerOnClientLogin(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1114,7 +1114,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// This is called upon a very important packet sent from the client,
|
/// This is called upon a very important packet sent from the client,
|
||||||
/// so it's client-controlled. Never call this method directly.
|
/// so it's client-controlled. Never call this method directly.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void CompleteMovement()
|
public void CompleteMovement(IClientAPI client)
|
||||||
{
|
{
|
||||||
//m_log.Debug("[SCENE PRESENCE]: CompleteMovement");
|
//m_log.Debug("[SCENE PRESENCE]: CompleteMovement");
|
||||||
|
|
||||||
|
@ -1159,6 +1159,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
m_agentTransfer.EnableChildAgents(this);
|
m_agentTransfer.EnableChildAgents(this);
|
||||||
else
|
else
|
||||||
m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active");
|
m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active");
|
||||||
|
|
||||||
|
IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>();
|
||||||
|
if (friendsModule != null)
|
||||||
|
friendsModule.SendFriendsOnlineIfNeeded(ControllingClient);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -679,7 +679,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -913,7 +913,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
|
||||||
|
|
||||||
if (OnCompleteMovementToRegion != null)
|
if (OnCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -189,7 +189,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -744,7 +744,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
|
||||||
|
|
||||||
if (OnCompleteMovementToRegion != null)
|
if (OnCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
||||||
|
|
|
@ -95,7 +95,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
public event DeRezObject OnDeRezObject;
|
public event DeRezObject OnDeRezObject;
|
||||||
public event Action<IClientAPI> OnRegionHandShakeReply;
|
public event Action<IClientAPI> OnRegionHandShakeReply;
|
||||||
public event GenericCall2 OnRequestWearables;
|
public event GenericCall2 OnRequestWearables;
|
||||||
public event GenericCall2 OnCompleteMovementToRegion;
|
public event GenericCall1 OnCompleteMovementToRegion;
|
||||||
public event UpdateAgent OnAgentUpdate;
|
public event UpdateAgent OnAgentUpdate;
|
||||||
public event AgentRequestSit OnAgentRequestSit;
|
public event AgentRequestSit OnAgentRequestSit;
|
||||||
public event AgentSit OnAgentSit;
|
public event AgentSit OnAgentSit;
|
||||||
|
@ -453,7 +453,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
|
|
||||||
public void CompleteMovement()
|
public void CompleteMovement()
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public virtual void ActivateGesture(UUID assetId, UUID gestureId)
|
public virtual void ActivateGesture(UUID assetId, UUID gestureId)
|
||||||
|
@ -752,7 +752,7 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
|
|
||||||
if (OnCompleteMovementToRegion != null)
|
if (OnCompleteMovementToRegion != null)
|
||||||
{
|
{
|
||||||
OnCompleteMovementToRegion();
|
OnCompleteMovementToRegion(this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID)
|
||||||
|
|
Loading…
Reference in New Issue