public ValorTitleItemEdit(ValorRewardController mValorRewardController, ValorTitleItem mtitle, ValorItem mVItem, bool addingItem)
            : base(820, 300)
        {
            _mIsAdd          = addingItem;
            _MValorRc        = mValorRewardController;
            _MValorTitleItem = mtitle;
            _mVItem          = mVItem;

            Closable   = true;
            Disposable = false;
            Dragable   = true;
            Resizable  = false;

            AddBackground(0, 0, 500, 450, 2620);
            if (mVItem == null)
            {
                EditTitle();
            }
            else
            {
                EditItem();
            }

            AddButton(350, 400, 4023, 4024, 1, GumpButtonType.Reply, 0);             //ok
            AddButton(430, 400, 4017, 4018, 0, GumpButtonType.Reply, 0);             //cancel
        }
Example #2
0
        public ValorBoardGumpViewItem(Mobile user, ValorRewardController controller, ValorTitleItem titleItem, ValorItem item)
            : base(820, 300)
        {
            _Controller = controller;
            _TitleItem  = titleItem;
            _Item       = item;

            _User = user as PlayerMobile;

            Closable   = true;
            Disposable = false;
            Dragable   = true;
            Resizable  = false;

            if (_Item != null)
            {
                ViewItem();
            }
            else if (_TitleItem != null)
            {
                ViewTitle();
            }
        }
		public ValorTitleItemEdit(ValorRewardController mValorRewardController, ValorTitleItem mtitle, ValorItem mVItem, bool addingItem)
			: base(820, 300)
		{
			_mIsAdd = addingItem;
			_MValorRc = mValorRewardController;
			_MValorTitleItem = mtitle;
			_mVItem = mVItem;

			Closable = true;
			Disposable = false;
			Dragable = true;
			Resizable = false;

			AddBackground(0, 0, 500, 450, 2620);
			if (mVItem == null)
			{
				EditTitle();
			}
			else
			{
				EditItem();
			}

			AddButton(350, 400, 4023, 4024, 1, GumpButtonType.Reply, 0); //ok
			AddButton(430, 400, 4017, 4018, 0, GumpButtonType.Reply, 0); //cancel
		}
Example #4
0
 public void AddValorItem(ValorItem r, Mobile from)
 {
     _mValorItems.Add(r);
 }