mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Minor formatting cleanup.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user