コード例 #1
0
        public MaginciaBazaarPlot(GenericReader reader)
        {
            int version = reader.ReadInt();

            m_Definition = new PlotDef(reader);

            m_Owner     = reader.ReadMobile();
            m_ShopName  = reader.ReadString();
            m_Merchant  = reader.ReadMobile() as BaseBazaarBroker;
            m_Sign      = reader.ReadItem() as PlotSign;
            m_PlotMulti = reader.ReadItem() as BaseBazaarMulti;

            if (reader.ReadBool())
            {
                m_Auction = new MaginciaPlotAuction(reader, this);
            }

            if (m_Merchant != null)
            {
                m_Merchant.Plot = this;
            }

            if (m_Sign != null)
            {
                m_Sign.Plot = this;
            }
        }
コード例 #2
0
            public RecallRuneEntry(Mobile from, PlotSign sign)
                : base(1151508, -1)
            {
                m_Sign = sign;
                m_From = from;

                Enabled = from.InRange(sign.Location, 2);
            }
コード例 #3
0
ファイル: PlotSign.cs プロジェクト: Crome696/ServUO
            public RecallRuneEntry(Mobile from, PlotSign sign)
                : base(1151508, -1)
            {
                m_Sign = sign;
                m_From = from;

                Enabled = from.InRange(sign.Location, 2);
            }
コード例 #4
0
ファイル: BizaarSignGump.cs プロジェクト: Crome696/ServUO
		public ShopRecallRuneGump(Mobile from, PlotSign sign)
		{
			m_Sign = sign;

            AddHtmlLocalized(195, 5, 150, 18, 1150385, RedColor16, false, false);     // New Magincia Bazaar
            AddHtmlLocalized(217, 40, 150, 18, 1151508, RedColor16, false, false);    // Shop Recall Rune
			
			// For a charge of 100gp, you will receive a recall rune marked for your bazaar stall.
			AddHtmlLocalized(10, 120, 500, 18, 1150458, RedColor16, false, false);
			
			AddButton(175, 150, 4005, 4007, 1, GumpButtonType.Reply, 0);
			AddHtml(215, 150, 150, 18, Color("PURCHASE", OrangeColor), false, false);
		}
コード例 #5
0
 public void AddPlotSign()
 {
     m_Sign = new PlotSign(this);
     m_Sign.MoveToWorld(m_Definition.SignLoc, m_Definition.Map);
 }
コード例 #6
0
ファイル: MaginciaBizaarPlot.cs プロジェクト: Crome696/ServUO
		public MaginciaBazaarPlot(GenericReader reader)
		{
			int version = reader.ReadInt();

            m_Definition = new PlotDef(reader);

			m_Owner = reader.ReadMobile();
			m_ShopName = reader.ReadString();
			m_Merchant = reader.ReadMobile() as BaseBazaarBroker;
			m_Sign = reader.ReadItem() as PlotSign;
			m_PlotMulti = reader.ReadItem() as BaseBazaarMulti;
			
			if(reader.ReadBool())
				m_Auction = new MaginciaPlotAuction(reader, this);
				
			if(m_Merchant != null)
				m_Merchant.Plot = this;

            if (m_Sign != null)
                m_Sign.Plot = this;
		}
コード例 #7
0
ファイル: MaginciaBizaarPlot.cs プロジェクト: Crome696/ServUO
		public void AddPlotSign()
		{
			m_Sign = new PlotSign(this);
            m_Sign.MoveToWorld(m_Definition.SignLoc, m_Definition.Map);
		}