Sealing some packet classes

This commit is contained in:
asayre 2010-12-31 11:09:18 +00:00
parent 0f0641b607
commit 4ea9a1e9dc
5 changed files with 23 additions and 23 deletions

View file

@ -147,7 +147,7 @@ namespace Server
#endregion
#region Convience Methods
#region Convenience Methods
public static void AddBuff( Mobile m, BuffInfo b )
{
PlayerMobile pm = m as PlayerMobile;
@ -184,26 +184,26 @@ namespace Server
EvilOmen,
UnknownStandingSwirl, //Which is healing throttle & Stamina throttle?
UnknownKneelingSword,
DivineFury,
EnemyOfOne,
DivineFury, //*
EnemyOfOne, //*
HidingAndOrStealth, //*
ActiveMeditation, //*
BloodOathCaster,
BloodOathCurse,
BloodOathCaster, //*
BloodOathCurse, //*
CorpseSkin, //*
Mindrot, //*
PainSpike, //*
Strangle,
GiftOfRenewal, //*
AttuneWeapon,
Thunderstorm,
EssenceOfWind,
EtherealVoyage,
GiftOfLife,
ArcaneEmpowerment,
AttuneWeapon, //*
Thunderstorm, //*
EssenceOfWind, //*
EtherealVoyage, //*
GiftOfLife, //*
ArcaneEmpowerment, //*
MortalStrike,
ReactiveArmor,
Protection,
ReactiveArmor, //*
Protection, //*
ArchProtection,
MagicReflection, //*
Incognito, //*
@ -217,15 +217,15 @@ namespace Server
Clumsy, //*
FeebleMind, //*
Weaken, //*
Curse,
Curse, //*
MassCurse,
Agility, //*
Cunning, //*
Strength, //*
Bless
Bless //*
}
public class AddBuffPacket : Packet
public sealed class AddBuffPacket : Packet
{
public AddBuffPacket( Mobile m, BuffInfo info )
: this( m, info.ID, info.TitleCliloc, info.SecondaryCliloc, info.Args, (info.TimeStart != DateTime.MinValue) ? ((info.TimeStart + info.TimeLength) - DateTime.Now) : TimeSpan.Zero )
@ -279,7 +279,7 @@ namespace Server
}
}
public class RemoveBuffPacket : Packet
public sealed class RemoveBuffPacket : Packet
{
public RemoveBuffPacket( Mobile mob, BuffInfo info )
: this( mob, info.ID )

View file

@ -357,7 +357,7 @@ namespace Server.Misc
PlaceItemIn( cont, 93, 66, new PixieSwatter() );
for( int i = 0; i < 10; i++ )
PlaceItemIn( cont, 117, 128, new MessageInABottle( Utility.RandomBool() ? Map.Trammel : Map.Felucca, 4 ) );
PlaceItemIn( cont, 117, 128, new MessageInABottle( Utility.RandomBool() ? Map.Trammel : Map.Felucca, 4 ) );
PlaceItemIn( bank, 18, 124, cont );

View file

@ -2114,7 +2114,7 @@ namespace Server.Multis
}
}
public class DesignStateGeneral : Packet
public sealed class DesignStateGeneral : Packet
{
public DesignStateGeneral( HouseFoundation house, DesignState state )
: base( 0xBF )
@ -2127,7 +2127,7 @@ namespace Server.Multis
}
}
public class DesignStateDetailed : Packet
public sealed class DesignStateDetailed : Packet
{
public const int MaxItemsPerStairBuffer = 750;

View file

@ -3771,7 +3771,7 @@ namespace Server.Network
}
}
public class ClearWeaponAbility : Packet
public sealed class ClearWeaponAbility : Packet
{
public static readonly Packet Instance = Packet.SetStatic( new ClearWeaponAbility() );

View file

@ -25,7 +25,7 @@ using Server.Network;
namespace Server
{
public class ObjectPropertyList : Packet
public sealed class ObjectPropertyList : Packet
{
private IEntity m_Entity;
private int m_Hash;
@ -178,7 +178,7 @@ namespace Server
}
}
public class OPLInfo : Packet
public sealed class OPLInfo : Packet
{
/*public OPLInfo( ObjectPropertyList list ) : base( 0xBF )
{