Plumb the remaining dwell packets
parent
f1b9ff6b4b
commit
7beb8a5abb
|
@ -422,6 +422,8 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
public delegate void EventGodDelete(uint eventID, UUID queryID, string queryText, uint queryFlags, int queryStart, IClientAPI client);
|
public delegate void EventGodDelete(uint eventID, UUID queryID, string queryText, uint queryFlags, int queryStart, IClientAPI client);
|
||||||
|
|
||||||
|
public delegate void ParcelDwellRequest(int localID, IClientAPI client);
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
public struct DirPlacesReplyData
|
public struct DirPlacesReplyData
|
||||||
|
@ -741,6 +743,8 @@ namespace OpenSim.Framework
|
||||||
event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
||||||
event EventGodDelete OnEventGodDelete;
|
event EventGodDelete OnEventGodDelete;
|
||||||
|
|
||||||
|
event ParcelDwellRequest OnParcelDwellRequest;
|
||||||
|
|
||||||
// void ActivateGesture(UUID assetId, UUID gestureId);
|
// void ActivateGesture(UUID assetId, UUID gestureId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1082,6 +1086,8 @@ namespace OpenSim.Framework
|
||||||
void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks);
|
void SendAvatarPicksReply(UUID targetID, Dictionary<UUID, string> picks);
|
||||||
void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds);
|
void SendAvatarClassifiedReply(UUID targetID, Dictionary<UUID, string> classifieds);
|
||||||
|
|
||||||
|
void SendParcelDwellReply(int localID, UUID parcelID, float dwell);
|
||||||
|
|
||||||
void KillEndDone();
|
void KillEndDone();
|
||||||
|
|
||||||
bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
|
bool AddGenericPacketHandler(string MethodName, GenericMessage handler);
|
||||||
|
|
|
@ -283,6 +283,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
private EventNotificationRemoveRequest handlerEventNotificationRemoveRequest;
|
private EventNotificationRemoveRequest handlerEventNotificationRemoveRequest;
|
||||||
private EventGodDelete handlerEventGodDelete;
|
private EventGodDelete handlerEventGodDelete;
|
||||||
|
|
||||||
|
private ParcelDwellRequest handlerParcelDwellRequest;
|
||||||
|
|
||||||
private readonly IGroupsModule m_GroupsModule;
|
private readonly IGroupsModule m_GroupsModule;
|
||||||
|
|
||||||
//private TerrainUnacked handlerUnackedTerrain = null;
|
//private TerrainUnacked handlerUnackedTerrain = null;
|
||||||
|
@ -1050,6 +1052,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
||||||
public event EventGodDelete OnEventGodDelete;
|
public event EventGodDelete OnEventGodDelete;
|
||||||
|
|
||||||
|
public event ParcelDwellRequest OnParcelDwellRequest;
|
||||||
|
|
||||||
public void ActivateGesture(UUID assetId, UUID gestureId)
|
public void ActivateGesture(UUID assetId, UUID gestureId)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -6565,6 +6569,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case PacketType.ParcelDwellRequest:
|
||||||
|
ParcelDwellRequestPacket dwellrq =
|
||||||
|
(ParcelDwellRequestPacket)Pack;
|
||||||
|
|
||||||
|
handlerParcelDwellRequest = OnParcelDwellRequest;
|
||||||
|
if (handlerParcelDwellRequest != null)
|
||||||
|
{
|
||||||
|
handlerParcelDwellRequest(dwellrq.Data.LocalID, this);
|
||||||
|
}
|
||||||
|
break;
|
||||||
case PacketType.TransferAbort:
|
case PacketType.TransferAbort:
|
||||||
// TODO: handle this packet
|
// TODO: handle this packet
|
||||||
//m_log.Warn("[CLIENT]: unhandled TransferAbort packet");
|
//m_log.Warn("[CLIENT]: unhandled TransferAbort packet");
|
||||||
|
@ -6573,10 +6587,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
// TODO: handle this packet
|
// TODO: handle this packet
|
||||||
//m_log.Warn("[CLIENT]: unhandled MuteListRequest packet");
|
//m_log.Warn("[CLIENT]: unhandled MuteListRequest packet");
|
||||||
break;
|
break;
|
||||||
case PacketType.ParcelDwellRequest:
|
|
||||||
// TODO: handle this packet
|
|
||||||
//m_log.Warn("[CLIENT]: unhandled ParcelDwellRequest packet");
|
|
||||||
break;
|
|
||||||
case PacketType.UseCircuitCode:
|
case PacketType.UseCircuitCode:
|
||||||
// Don't display this one, we handle it at a lower level
|
// Don't display this one, we handle it at a lower level
|
||||||
break;
|
break;
|
||||||
|
@ -8283,6 +8293,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
OutPacket(ac, ThrottleOutPacketType.Task);
|
OutPacket(ac, ThrottleOutPacketType.Task);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
public void KillEndDone()
|
public void KillEndDone()
|
||||||
{
|
{
|
||||||
KillPacket kp = new KillPacket();
|
KillPacket kp = new KillPacket();
|
||||||
|
|
|
@ -355,6 +355,8 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
|
||||||
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
||||||
public event EventGodDelete OnEventGodDelete;
|
public event EventGodDelete OnEventGodDelete;
|
||||||
|
|
||||||
|
public event ParcelDwellRequest OnParcelDwellRequest;
|
||||||
|
|
||||||
#pragma warning restore 67
|
#pragma warning restore 67
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
@ -1039,6 +1041,9 @@ namespace OpenSim.Region.Environment.Modules.World.NPC
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
|
@ -250,6 +250,8 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||||
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
||||||
public event EventGodDelete OnEventGodDelete;
|
public event EventGodDelete OnEventGodDelete;
|
||||||
|
|
||||||
|
public event ParcelDwellRequest OnParcelDwellRequest;
|
||||||
|
|
||||||
#pragma warning restore 67
|
#pragma warning restore 67
|
||||||
|
|
||||||
private UUID myID = UUID.Random();
|
private UUID myID = UUID.Random();
|
||||||
|
@ -1040,6 +1042,9 @@ namespace OpenSim.Region.Examples.SimpleModule
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,8 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest;
|
||||||
public event EventGodDelete OnEventGodDelete;
|
public event EventGodDelete OnEventGodDelete;
|
||||||
|
|
||||||
|
public event ParcelDwellRequest OnParcelDwellRequest;
|
||||||
|
|
||||||
#pragma warning restore 67
|
#pragma warning restore 67
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
|
@ -986,6 +988,8 @@ namespace OpenSim.Tests.Common.Mock
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SendParcelDwellReply(int localID, UUID parcelID, float dwell)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue