Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,20 +1,20 @@
|
|||
namespace Server.Network
|
||||
{
|
||||
public class UpdateStatueAnimation : Packet
|
||||
{
|
||||
public UpdateStatueAnimation( Mobile m, int status, int animation, int frame ) : base( 0xBF, 17 )
|
||||
{
|
||||
m_Stream.Write( (short) 0x11 );
|
||||
m_Stream.Write( (short) 0x19 );
|
||||
m_Stream.Write( (byte) 0x5 );
|
||||
m_Stream.Write( (int) m.Serial );
|
||||
m_Stream.Write( (byte) 0 );
|
||||
m_Stream.Write( (byte) 0xFF );
|
||||
m_Stream.Write( (byte) status );
|
||||
m_Stream.Write( (byte) 0 );
|
||||
m_Stream.Write( (byte) animation );
|
||||
m_Stream.Write( (byte) 0 );
|
||||
m_Stream.Write( (byte) frame );
|
||||
}
|
||||
}
|
||||
}
|
||||
public class UpdateStatueAnimation : Packet
|
||||
{
|
||||
public UpdateStatueAnimation(Mobile m, int status, int animation, int frame) : base(0xBF, 17)
|
||||
{
|
||||
m_Stream.Write((short)0x11);
|
||||
m_Stream.Write((short)0x19);
|
||||
m_Stream.Write((byte)0x5);
|
||||
m_Stream.Write(m.Serial);
|
||||
m_Stream.Write((byte)0);
|
||||
m_Stream.Write((byte)0xFF);
|
||||
m_Stream.Write((byte)status);
|
||||
m_Stream.Write((byte)0);
|
||||
m_Stream.Write((byte)animation);
|
||||
m_Stream.Write((byte)0);
|
||||
m_Stream.Write((byte)frame);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue