Ejemplo n.º 1
0
        private void wannaGo(Variant data)
        {
            bool flag = data["line"] > 0;

            if (flag)
            {
                ModelBase <A3_dartModel> .getInstance().init(data["line"]);
            }
            bool flag2 = !this.isme;

            if (flag2)
            {
                flytxt.instance.fly("活动已开启", 0, default(Color), null);
                bool flag3 = GRMap.instance.m_nCurMapID >= 3333;
                if (!flag3)
                {
                    this.show2 = true;
                    InterfaceMgr.getInstance().open(InterfaceMgr.A3_LEGION_DART, null, false);
                    a3_legion_dart expr_97 = a3_legion_dart.instance;
                    if (expr_97 != null)
                    {
                        expr_97.getGameObjectByPath("candodart").SetActive(false);
                    }
                    a3_legion_dart expr_B3 = a3_legion_dart.instance;
                    if (expr_B3 != null)
                    {
                        expr_B3.getGameObjectByPath("cantdart").SetActive(true);
                    }
                }
            }
        }