Zepheus.Zone.Game.Mob.Write C# (CSharp) Method

Write() public method

public Write ( Packet packet ) : void
packet Zepheus.FiestaLib.Networking.Packet
return void
        public void Write(Packet packet)
        {
            packet.WriteUShort(this.MapObjectID);
            packet.WriteByte(2);
            packet.WriteUShort(ID);
            packet.WriteInt(this.Position.X);
            packet.WriteInt(this.Position.Y);
            packet.WriteByte(this.Rotation);
            packet.Fill(54, 0);
        }