add velocityinterpolator packets handling but actually do nothing, since
they don't do what i was looking for.avinationmerge
parent
c73c2fb070
commit
ecdd0e225f
|
@ -331,6 +331,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
private Prioritizer m_prioritizer;
|
private Prioritizer m_prioritizer;
|
||||||
private bool m_disableFacelights = false;
|
private bool m_disableFacelights = false;
|
||||||
|
|
||||||
|
private bool m_VelocityInterpolate = false;
|
||||||
private const uint MaxTransferBytesPerPacket = 600;
|
private const uint MaxTransferBytesPerPacket = 600;
|
||||||
|
|
||||||
|
|
||||||
|
@ -5311,6 +5312,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
AddLocalPacketHandler(PacketType.AgentUpdate, HandleAgentUpdate, false);
|
AddLocalPacketHandler(PacketType.AgentUpdate, HandleAgentUpdate, false);
|
||||||
|
|
||||||
AddLocalPacketHandler(PacketType.ViewerEffect, HandleViewerEffect, false);
|
AddLocalPacketHandler(PacketType.ViewerEffect, HandleViewerEffect, false);
|
||||||
|
AddLocalPacketHandler(PacketType.VelocityInterpolateOff, HandleVelocityInterpolateOff, false);
|
||||||
|
AddLocalPacketHandler(PacketType.VelocityInterpolateOn, HandleVelocityInterpolateOn, false);
|
||||||
AddLocalPacketHandler(PacketType.AgentCachedTexture, HandleAgentTextureCached, false);
|
AddLocalPacketHandler(PacketType.AgentCachedTexture, HandleAgentTextureCached, false);
|
||||||
AddLocalPacketHandler(PacketType.MultipleObjectUpdate, HandleMultipleObjUpdate, false);
|
AddLocalPacketHandler(PacketType.MultipleObjectUpdate, HandleMultipleObjUpdate, false);
|
||||||
AddLocalPacketHandler(PacketType.MoneyTransferRequest, HandleMoneyTransferRequest, false);
|
AddLocalPacketHandler(PacketType.MoneyTransferRequest, HandleMoneyTransferRequest, false);
|
||||||
|
@ -5828,6 +5831,29 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool HandleVelocityInterpolateOff(IClientAPI sender, Packet Pack)
|
||||||
|
{
|
||||||
|
VelocityInterpolateOffPacket p = (VelocityInterpolateOffPacket)Pack;
|
||||||
|
if (p.AgentData.SessionID != SessionId ||
|
||||||
|
p.AgentData.AgentID != AgentId)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
m_VelocityInterpolate = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
private bool HandleVelocityInterpolateOn(IClientAPI sender, Packet Pack)
|
||||||
|
{
|
||||||
|
VelocityInterpolateOffPacket p = (VelocityInterpolateOffPacket)Pack;
|
||||||
|
if (p.AgentData.SessionID != SessionId ||
|
||||||
|
p.AgentData.AgentID != AgentId)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
m_VelocityInterpolate = true;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
private bool HandleAvatarPropertiesRequest(IClientAPI sender, Packet Pack)
|
private bool HandleAvatarPropertiesRequest(IClientAPI sender, Packet Pack)
|
||||||
{
|
{
|
||||||
AvatarPropertiesRequestPacket avatarProperties = (AvatarPropertiesRequestPacket)Pack;
|
AvatarPropertiesRequestPacket avatarProperties = (AvatarPropertiesRequestPacket)Pack;
|
||||||
|
|
Loading…
Reference in New Issue