Example #1
0
        private void method_0(object sender, EventArgs e)
        {
            if (((vmethod_4().SelectedItem == null) & (vmethod_6().SelectedItem == null)))
            {
                return;
            }
            if (Operators.CompareString(vmethod_6().SelectedItem.ToString(), vmethod_4().SelectedItem.ToString(), false) == 0)
            {
                return;
            }
            IEnumerable <GClass28.GClass29> ienumerable = Enumerable.Where <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_4));

            if (Enumerable.Count <GClass28.GClass29>(ienumerable) == 3)
            {
                return;
            }
            GClass28.GClass29 gclass29_2 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_5));
            if (((gclass29_2.method_2() == PartyCode.Leader) & (Enumerable.Count <GClass28.GClass29>(ienumerable) == 3)))
            {
                return;
            }
            gclass29_2 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_6));
            if (gclass29_2.method_2() == PartyCode.Leader)
            {
                return;
            }
            GClass28.GClass29 gclass29_1 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_7));
            if (gclass29_1.method_2() != PartyCode.Follower)
            {
                gclass29_1.method_5(Conversions.ToString(vmethod_4().SelectedItem));
                gclass29_1.method_3(PartyCode.Follower);
            }
            GClass28.GClass29 gclass29_3 = Enumerable.FirstOrDefault <GClass28.GClass29>(GClass28.hashSet_0, new Func <GClass28.GClass29, bool>(method_8));
            if (gclass29_3.method_2() != PartyCode.Leader)
            {
                gclass29_3.method_3(PartyCode.Leader);
            }
        }
Example #2
0
 public bool method_5(GClass28.GClass29 gclass29_0)
 {
     return((Operators.CompareString(gclass29_0.method_0(), listViewItem_1.Text, false) == 0) & (gclass29_0.method_2() == PartyCode.Leader));
 }