Sealing some packet classes
This commit is contained in:
parent
0f0641b607
commit
4ea9a1e9dc
5 changed files with 23 additions and 23 deletions
|
|
@ -147,7 +147,7 @@ namespace Server
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Convience Methods
|
#region Convenience Methods
|
||||||
public static void AddBuff( Mobile m, BuffInfo b )
|
public static void AddBuff( Mobile m, BuffInfo b )
|
||||||
{
|
{
|
||||||
PlayerMobile pm = m as PlayerMobile;
|
PlayerMobile pm = m as PlayerMobile;
|
||||||
|
|
@ -184,26 +184,26 @@ namespace Server
|
||||||
EvilOmen,
|
EvilOmen,
|
||||||
UnknownStandingSwirl, //Which is healing throttle & Stamina throttle?
|
UnknownStandingSwirl, //Which is healing throttle & Stamina throttle?
|
||||||
UnknownKneelingSword,
|
UnknownKneelingSword,
|
||||||
DivineFury,
|
DivineFury, //*
|
||||||
EnemyOfOne,
|
EnemyOfOne, //*
|
||||||
HidingAndOrStealth, //*
|
HidingAndOrStealth, //*
|
||||||
ActiveMeditation, //*
|
ActiveMeditation, //*
|
||||||
BloodOathCaster,
|
BloodOathCaster, //*
|
||||||
BloodOathCurse,
|
BloodOathCurse, //*
|
||||||
CorpseSkin, //*
|
CorpseSkin, //*
|
||||||
Mindrot, //*
|
Mindrot, //*
|
||||||
PainSpike, //*
|
PainSpike, //*
|
||||||
Strangle,
|
Strangle,
|
||||||
GiftOfRenewal, //*
|
GiftOfRenewal, //*
|
||||||
AttuneWeapon,
|
AttuneWeapon, //*
|
||||||
Thunderstorm,
|
Thunderstorm, //*
|
||||||
EssenceOfWind,
|
EssenceOfWind, //*
|
||||||
EtherealVoyage,
|
EtherealVoyage, //*
|
||||||
GiftOfLife,
|
GiftOfLife, //*
|
||||||
ArcaneEmpowerment,
|
ArcaneEmpowerment, //*
|
||||||
MortalStrike,
|
MortalStrike,
|
||||||
ReactiveArmor,
|
ReactiveArmor, //*
|
||||||
Protection,
|
Protection, //*
|
||||||
ArchProtection,
|
ArchProtection,
|
||||||
MagicReflection, //*
|
MagicReflection, //*
|
||||||
Incognito, //*
|
Incognito, //*
|
||||||
|
|
@ -217,15 +217,15 @@ namespace Server
|
||||||
Clumsy, //*
|
Clumsy, //*
|
||||||
FeebleMind, //*
|
FeebleMind, //*
|
||||||
Weaken, //*
|
Weaken, //*
|
||||||
Curse,
|
Curse, //*
|
||||||
MassCurse,
|
MassCurse,
|
||||||
Agility, //*
|
Agility, //*
|
||||||
Cunning, //*
|
Cunning, //*
|
||||||
Strength, //*
|
Strength, //*
|
||||||
Bless
|
Bless //*
|
||||||
}
|
}
|
||||||
|
|
||||||
public class AddBuffPacket : Packet
|
public sealed class AddBuffPacket : Packet
|
||||||
{
|
{
|
||||||
public AddBuffPacket( Mobile m, BuffInfo info )
|
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 )
|
: 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 )
|
public RemoveBuffPacket( Mobile mob, BuffInfo info )
|
||||||
: this( mob, info.ID )
|
: this( mob, info.ID )
|
||||||
|
|
|
||||||
|
|
@ -357,7 +357,7 @@ namespace Server.Misc
|
||||||
PlaceItemIn( cont, 93, 66, new PixieSwatter() );
|
PlaceItemIn( cont, 93, 66, new PixieSwatter() );
|
||||||
|
|
||||||
for( int i = 0; i < 10; i++ )
|
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 );
|
PlaceItemIn( bank, 18, 124, cont );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2114,7 +2114,7 @@ namespace Server.Multis
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DesignStateGeneral : Packet
|
public sealed class DesignStateGeneral : Packet
|
||||||
{
|
{
|
||||||
public DesignStateGeneral( HouseFoundation house, DesignState state )
|
public DesignStateGeneral( HouseFoundation house, DesignState state )
|
||||||
: base( 0xBF )
|
: base( 0xBF )
|
||||||
|
|
@ -2127,7 +2127,7 @@ namespace Server.Multis
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DesignStateDetailed : Packet
|
public sealed class DesignStateDetailed : Packet
|
||||||
{
|
{
|
||||||
public const int MaxItemsPerStairBuffer = 750;
|
public const int MaxItemsPerStairBuffer = 750;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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() );
|
public static readonly Packet Instance = Packet.SetStatic( new ClearWeaponAbility() );
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ using Server.Network;
|
||||||
|
|
||||||
namespace Server
|
namespace Server
|
||||||
{
|
{
|
||||||
public class ObjectPropertyList : Packet
|
public sealed class ObjectPropertyList : Packet
|
||||||
{
|
{
|
||||||
private IEntity m_Entity;
|
private IEntity m_Entity;
|
||||||
private int m_Hash;
|
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 )
|
/*public OPLInfo( ObjectPropertyList list ) : base( 0xBF )
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue