Exemplo n.º 1
0
        public FaceEquipUpdate(Mobile parent)
            : base(0x2E, 15)
        {
            int hue = parent.FaceHue;

            if (parent.SolidHueOverride >= 0)
            {
                hue = parent.SolidHueOverride;
            }

            int faceSerial = FaceInfo.FakeSerial(parent);

            m_Stream.Write((int)faceSerial);
            m_Stream.Write((short)parent.FaceItemID);
            m_Stream.Write((byte)0);
            m_Stream.Write((byte)Layer.Face);
            m_Stream.Write((int)parent.Serial);
            m_Stream.Write((short)hue);
        }
Exemplo n.º 2
0
 public RemoveFace(Mobile parent)
     : base(0x1D, 5)
 {
     m_Stream.Write((int)FaceInfo.FakeSerial(parent));
 }