40 FxCop Warnings; good practice
This commit is contained in:
parent
3f535ea235
commit
34e3a88bfe
30 changed files with 45 additions and 49 deletions
|
|
@ -26,7 +26,7 @@ namespace Server.Network {
|
|||
/// <summary>
|
||||
/// Handles outgoing packet compression for the network.
|
||||
/// </summary>
|
||||
public class Compression {
|
||||
public static class Compression {
|
||||
private static int[] _huffmanTable = new int[514]
|
||||
{
|
||||
0x2, 0x000, 0x5, 0x01F, 0x6, 0x022, 0x7, 0x034, 0x7, 0x075, 0x6, 0x028, 0x6, 0x03B, 0x7, 0x032,
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Server.Network
|
|||
Encoded = 0xC0
|
||||
}
|
||||
|
||||
public class PacketHandlers
|
||||
public static class PacketHandlers
|
||||
{
|
||||
private static PacketHandler[] m_Handlers;
|
||||
private static PacketHandler[] m_6017Handlers;
|
||||
|
|
|
|||
|
|
@ -2715,7 +2715,7 @@ namespace Server.Network
|
|||
}
|
||||
}
|
||||
|
||||
public class AttributeNormalizer
|
||||
public static class AttributeNormalizer
|
||||
{
|
||||
private static int m_Maximum = 25;
|
||||
private static bool m_Enabled = true;
|
||||
|
|
@ -3997,7 +3997,7 @@ namespace Server.Network
|
|||
get{ return m_PacketID; }
|
||||
}
|
||||
|
||||
public Packet( int packetID )
|
||||
protected Packet( int packetID )
|
||||
{
|
||||
m_PacketID = packetID;
|
||||
|
||||
|
|
@ -4015,7 +4015,7 @@ namespace Server.Network
|
|||
m_Stream.Write( (short) 0 );
|
||||
}
|
||||
|
||||
public Packet( int packetID, int length )
|
||||
protected Packet( int packetID, int length )
|
||||
{
|
||||
m_PacketID = packetID;
|
||||
m_Length = length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue