コード例 #1
0
 public PvPRestrictionListEntryGump(
     Mobile user,
     PvPBattleRestrictionsBase <TKey> res,
     Gump parent        = null,
     GumpButton clicked = null,
     TKey key           = default(TKey),
     bool locked        = false,
     bool useConfirm    = true)
     : base(user, parent, clicked: clicked)
 {
     Restrictions     = res;
     Key              = key;
     Locked           = locked;
     UseConfirmDialog = useConfirm;
 }
コード例 #2
0
        public PvPRestrictionListGump(
            Mobile user,
            PvPBattleRestrictionsBase <TKey> res,
            Gump parent     = null,
            bool locked     = true,
            bool useConfirm = true)
            : base(
                user,
                parent,
                emptyText: "There are no restrictions to display.",
                title: res != null ? res.ToString() : "Restrictions")
        {
            Restrictions     = res;
            Locked           = locked;
            UseConfirmDialog = useConfirm;

            ForceRecompile = true;
        }