Minor formatting cleanup.

This commit is contained in:
Jeff Ames
2008-08-07 12:55:46 +00:00
parent dddf7bba4e
commit 0718aa0b7f
19 changed files with 82 additions and 82 deletions

View File

@@ -115,7 +115,7 @@ namespace OpenSim.Region.ClientStack.FunSLUDP
protected LLUUID m_activeGroupID = LLUUID.Zero;
protected string m_activeGroupName = String.Empty;
protected ulong m_activeGroupPowers = 0;
protected Dictionary<LLUUID,ulong> m_groupPowers = new Dictionary<LLUUID, ulong>();
protected Dictionary<LLUUID,ulong> m_groupPowers = new Dictionary<LLUUID, ulong>();
/* Instantiated Designated Event Delegates */
//- used so we don't create new objects for each incoming packet and then toss it out later */
@@ -293,12 +293,12 @@ namespace OpenSim.Region.ClientStack.FunSLUDP
get { return m_activeGroupPowers; }
}
public ulong GetGroupPowers(LLUUID groupID)
{
if(m_groupPowers.ContainsKey(groupID))
return m_groupPowers[groupID];
return 0;
}
public ulong GetGroupPowers(LLUUID groupID)
{
if (m_groupPowers.ContainsKey(groupID))
return m_groupPowers[groupID];
return 0;
}
/// <summary>
/// This is a utility method used by single states to not duplicate kicks and blue card of death messages.
@@ -6291,7 +6291,7 @@ namespace OpenSim.Region.ClientStack.FunSLUDP
packet.ObjectData.ObjectID = objectID;
SetFollowCamPropertiesPacket.CameraPropertyBlock[] camPropBlock = new SetFollowCamPropertiesPacket.CameraPropertyBlock[parameters.Count];
uint idx = 0;
foreach(KeyValuePair<int, float> pair in parameters)
foreach (KeyValuePair<int, float> pair in parameters)
{
SetFollowCamPropertiesPacket.CameraPropertyBlock block = new SetFollowCamPropertiesPacket.CameraPropertyBlock();
block.Type = pair.Key;

View File

@@ -248,12 +248,12 @@ namespace OpenSim.Region.ClientStack.FunSLUDP
private void AddAcks(ref Packet packet)
{
// This packet type has shown to have issues with
// acks being appended to the payload, just don't send
// any with this packet type until libsl is fixed.
//
if(packet is libsecondlife.Packets.ViewerEffectPacket)
return;
// This packet type has shown to have issues with
// acks being appended to the payload, just don't send
// any with this packet type until libsl is fixed.
//
if (packet is libsecondlife.Packets.ViewerEffectPacket)
return;
// Add acks to outgoing packets
//