Esempio n. 1
0
        public P(Archetypes archetypes, Collection collection, global::H.c constraints, global::H.D permissions, global::H.q validator, Decks decks)
        {
            this.local_collection_avatars = archetypes;
            global::E.H h = new global::E.H();
            global::E.K k = new global::E.K(h);
            this.current_deck     = new global::H.r(archetypes, global::H.S.Sources.Deck, false);
            this.collection       = new global::E.j(archetypes, collection, h, k);
            this.GlobalCollection = new global::J.y(archetypes, true, this.collection, this.current_deck);
            global::E.X x = new global::E.X(this.current_deck);
            global::E.D d = new global::E.D(this.current_deck, validator);
            this.deck_colors = new global::h.a(d, x, validator, 1.5f);
            global::b.m m  = new global::b.m(archetypes);
            global::h.B b  = new global::h.B();
            global::h.d d2 = new global::h.d();
            global::h.C c  = new global::h.C(archetypes, Finder.FindOrThrow <CardinalNewArchetypes>());
            global::h.D d3 = new global::h.D();
            global::H.z z  = new global::H.z(global::J.U.E.Get());
            global::E.w w  = new global::E.w(d2, d3);
            global::H.t t  = new global::H.t(x, this.current_deck, validator);
            this.deck = new global::H.O(this.current_deck, t);
            this.deck_editor_saver = new global::H.X(this);
            this.deck_name         = new global::E.f(x, this.deck_editor_saver, permissions == null || permissions.get_AllowRename(), decks);
            SinglesCommerceProvider singlesCommerceProvider = SinglesCommerceProvider.Find();

            this.Collection = new global::H.M(this.GlobalCollection, true, new global::h.b[]
            {
                this.deck_colors,
                b,
                d2,
                c,
                d3,
                z,
                m
            });
            global::E.b b2 = new global::E.b(this.current_deck);
            global::E.B b3 = new global::E.B(this.current_deck);
            global::B.q q  = new global::B.q(this.current_deck);
            global::E.I i  = new global::E.I(archetypes, collection, x);
            this.deck_avatars = new global::E.g(i, this.deck_editor_saver, permissions == null || permissions.get_AllowChangeAvatar());
            global::B.T t2 = new global::B.T(this.Collection, this.deck_colors, x);
            this.Composition = new DataComposition(new DataComponent[]
            {
                this.deck_name,
                this.deck_editor_saver,
                new global::H.u(),
                new global::H.W(DeckEditorModes.Collection),
                new global::H.Y(),
                new global::H.U(this.deck, true),
                new global::H.T(this.Collection, global::H.V.ItemState.Card),
                this.deck_colors,
                b,
                m,
                d2,
                c,
                d3,
                h,
                b2,
                b3,
                q,
                d,
                x,
                i,
                this.deck_avatars,
                t,
                w,
                k,
                new global::J.w(),
                new global::E.F(b2, 5),
                new global::E.d(permissions == null || permissions.get_AllowDelete()),
                new global::A.a(permissions != null && permissions.get_AllowClone()),
                new global::E.C(this.deck_editor_saver),
                new global::B.R(this.collection),
                t2
            });
            if (permissions != null)
            {
                this.Composition.Add <DataComponent>(permissions.Clone());
            }
            this.deckvalidator = validator;
            this.set_DeckReprintCounts(new global::E.G(archetypes, this.current_deck));
        }
Esempio n. 2
0
 private void set_Validator(global::H.q value)
 {
     this.Validator = value;
 }