public DuelRegion(Dueller m) : base("A Duel Arena", m.Map, 152, new Rectangle3D[] { m.Area }) { m_Npc = m; NoPots = m.NoPots; NoMounts = m.NoMounts; }
public DuelTimer(Dueller duelnpc, int duration, TimeSpan interval) : base(interval, interval) { m_TimeLeft = duration; m_Npc = duelnpc; if (interval == TimeSpan.FromSeconds(1.0)) m_CountDown = true; }
public DuelRune(Mobile starter, Dueller dueller) { Participants[0] = starter; Npc = dueller; }
public DuelSetupTarget(Dueller dueller, Mobile m, List<Point3D> list) : base(-1, true, TargetFlags.None) { m_Dueller = dueller; m_List = list; m_Mob = m; m.SendMessage(Message()); }
public DuelSetupTarget(Dueller dueller, Mobile m) : this(dueller, m, new List<Point3D>()) { }
public DuelSetupGump(Dueller dueller) : base(30, 30) { m_Dueller = dueller; Closable = true; Disposable = true; Dragable = true; Resizable = false; AddPage(0); AddBackground(0, 0, 450, 376, 3600); AddBackground(100, 22, 250, 80, 3600); AddHtml(115, 41, 220, 50, "", false, false); AddLabel(25, 125, 0x480, "Options"); AddBackground(25, 150, 375, 89, 9270); AddLabel(45, 170, 0x480, "Wall ID:"); AddLabel(45, 195, 0x480, "Wall Hue:"); AddAlphaRegion(110, 195, 200, 20); AddAlphaRegion(110, 170, 200, 20); AddTextEntry(110, 170, 200, 20, 0x480, 1, dueller.WallID.ToString()); AddTextEntry(110, 195, 200, 20, 0x480, 2, dueller.WallHue.ToString()); AddButton(30, 245, 4005, 4006, 1, GumpButtonType.Reply, 0); AddLabel(70, 245, 0x480, "Confirm Options"); AddButton(30, 275, 4005, 4006, 2, GumpButtonType.Reply, 0); AddLabel(70, 275, 0x480, "Setup Locations"); AddButton(30, 305, 4005, 4006, 3, GumpButtonType.Reply, 0); AddLabel(70, 305, 0x480, "Props"); AddButton(30, 335, 4005, 4006, 0, GumpButtonType.Reply, 0); AddLabel(70, 335, 0x480, "Cancel"); }
public DuelStartGump(Mobile starter, Dueller npc) : base(null) { m_Rune = new DuelRune(starter, npc); AddAccept(); AddBackType(); for (int i = 0; i < 4; i++) { AddRadio(20, 30 * i + 50, 2151, 2154, false, i); AddLabel(55, 30 * i + 55, 1152, GetType(i)); AddRadio(200, 30 * i + 50, 2151, 2154, false, i + 4); AddLabel(235, 30 * i + 55, 1152, GetType(i + 4)); } }