Exemple #1
0
            public ClaimListGump(ChickenCoop post, Mobile from, List <BaseCreature> list)
                : base(50, 50)
            {
                m_Post = post;
                m_From = from;
                m_List = list;

                from.CloseGump(typeof(ClaimListGump));

                AddPage(0);

                AddBackground(0, 0, 325, 50 + (list.Count * 20), 9250);
                AddAlphaRegion(5, 5, 315, 40 + (list.Count * 20));

                AddHtml(15, 15, 275, 20, "<BASEFONT COLOR=#FFFFFF>Select a pet to retrieve from the stables:</BASEFONT>", false, false);

                for (int i = 0; i < list.Count; ++i)
                {
                    BaseCreature pet = list[i];

                    if (pet == null || pet.Deleted)
                    {
                        continue;
                    }

                    AddButton(15, 39 + (i * 20), 10006, 10006, i + 1, GumpButtonType.Reply, 0);
                    AddHtml(32, 35 + (i * 20), 275, 18, string.Format("<BASEFONT COLOR=#C0C0EE>{0}</BASEFONT>", pet.Name), false, false);
                }
            }
Exemple #2
0
            public ClaimListGump(ChickenCoop post, Mobile from, List<BaseCreature> list)
                : base(50, 50)
            {
                m_Post = post;
                m_From = from;
                m_List = list;

                from.CloseGump(typeof(ClaimListGump));

                AddPage(0);

                AddBackground(0, 0, 325, 50 + (list.Count * 20), 9250);
                AddAlphaRegion(5, 5, 315, 40 + (list.Count * 20));

                AddHtml(15, 15, 275, 20, "<BASEFONT COLOR=#FFFFFF>Select a pet to retrieve from the stables:</BASEFONT>", false, false);

                for (int i = 0; i < list.Count; ++i)
                {
                    BaseCreature pet = list[i];

                    if (pet == null || pet.Deleted)
                        continue;

                    AddButton(15, 39 + (i * 20), 10006, 10006, i + 1, GumpButtonType.Reply, 0);
                    AddHtml(32, 35 + (i * 20), 275, 18, String.Format("<BASEFONT COLOR=#C0C0EE>{0}</BASEFONT>", pet.Name), false, false);
                }
            }
Exemple #3
0
 public StableEntry(ChickenCoop coop, Mobile from)
     : base(6126, 12)
 {
     m_Coop = coop;
     m_From = from;
 }
Exemple #4
0
 public StableTarget(ChickenCoop post)
     : base(12, false, TargetFlags.None)
 {
     m_Post = post;
 }
Exemple #5
0
 public ClaimAllEntry(ChickenCoop coop, Mobile from)
     : base(6127, 12)
 {
     m_Coop = coop;
     m_From = from;
 }
Exemple #6
0
 public StableEntry(ChickenCoop post, Mobile from)
     : base(6126, 12)
 {
     m_Post = post;
     m_From = from;
 }
 public StableEntry(ChickenCoop post, Mobile from)
     : base(6126, 12)
 {
     this.m_Post = post;
     this.m_From = from;
 }
 public StableTarget(ChickenCoop post)
     : base(12, false, TargetFlags.None)
 {
     this.m_Post = post;
 }
Exemple #9
0
 public StableEntry(ChickenCoop coop, Mobile from)
     : base(6126, 12)
 {
     m_Coop = coop;
     m_From = from;
 }
Exemple #10
0
 public ClaimAllEntry(ChickenCoop coop, Mobile from)
     : base(6127, 12)
 {
     m_Coop = coop;
     m_From = from;
 }