FakeSerial() 공개 정적인 메소드

public static FakeSerial ( Server.Mobile parent ) : int
parent Server.Mobile
리턴 int
예제 #1
0
        public FacialHairEquipUpdate(Mobile parent)
            : base(0x2E, 15)
        {
            var hue = parent.SolidHueOverride >= 0 ? parent.SolidHueOverride : parent.FacialHairHue;

            Stream.Write(FacialHairInfo.FakeSerial(parent));
            Stream.Write((short)parent.FacialHairItemID);
            Stream.Write((byte)0);
            Stream.Write((byte)Layer.FacialHair);
            Stream.Write(parent.Serial);
            Stream.Write((short)hue);
        }
예제 #2
0
		public FacialHairEquipUpdate( Mobile parent )
			: base( 0x2E, 15 )
		{
			int hue = parent.FacialHairHue;

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

			int hairSerial = FacialHairInfo.FakeSerial( parent );

			m_Stream.Write( (int)hairSerial );
			m_Stream.Write( (short)parent.FacialHairItemID );
			m_Stream.Write( (byte)0 );
			m_Stream.Write( (byte)Layer.FacialHair );
			m_Stream.Write( (int)parent.Serial );
			m_Stream.Write( (short)hue );
		}
예제 #3
0
 public RemoveFacialHair(Mobile parent)
     : base(0x1D, 5)
 {
     m_Stream.Write((int)FacialHairInfo.FakeSerial(parent));
 }