예제 #1
0
        public ZzPakNode1 method_2(string string0)
        {
            if (string.IsNullOrEmpty(string0))
            {
                return(this);
            }
            var list = new List <string>(string0.Split(new[]
            {
                '\\',
                '/'
            }, StringSplitOptions.RemoveEmptyEntries));
            ZzPakNode1 @class;

            if (Nodes.ContainsKey(list[0]) && Nodes[list[0]] is ZzPakNode1)
            {
                @class = (ZzPakNode1)Nodes[list[0]];
                list.RemoveAt(0);
                @class = ((list.Count > 0) ? @class.method_3(list) : @class);
            }
            else
            {
                @class = new ZzPakNode1(list[0]);
                list.RemoveAt(0);
                Nodes.Add(@class);
                @class = ((list.Count > 0) ? @class.method_3(list) : @class);
            }
            return(@class);
        }
예제 #2
0
 public ZzPakNode2(bool bool5, bool bool6, int int1) : base("PakFile")
 {
     Class3170   = new ZzPakNode1(true);
     List0       = new List <INterface12>();
     Dictionary0 = new Dictionary <int, int[]>();
     Bool1       = true;
     Bool2       = true;
     Bool4       = true;
     //base..ctor("PakFile");
     Bool2              = bool5;
     Bool1              = bool6;
     Int0               = int1;
     ImageIndex         = 37;
     SelectedImageIndex = 37;
 }
예제 #3
0
 public ZzPakNode2(string string2, string string3, bool bool5)
 {
     Class3170   = new ZzPakNode1(true);
     List0       = new List <INterface12>();
     Dictionary0 = new Dictionary <int, int[]>();
     Bool1       = true;
     Bool2       = true;
     Bool4       = true;
     //base..ctor();
     Text    = KeyGenerator.GetFileName(string2);
     String0 = string2;
     String1 = string3;
     Bool4   = bool5;
     if (File.Exists(string2))
     {
         method_4();
     }
     ImageIndex         = 37;
     SelectedImageIndex = 37;
 }
예제 #4
0
        public ZzPakNode1 method_3(List <string> list0)
        {
            if (list0.Count == 0)
            {
                return(this);
            }
            if (!Nodes.ContainsKey(list0[0]) || !(Nodes[list0[0]] is ZzPakNode1))
            {
                var @class = new ZzPakNode1(list0[0]);
                list0.RemoveAt(0);
                Nodes.Add(@class);
                return(@class.method_3(list0));
            }
            if (list0.Count == 1)
            {
                return((ZzPakNode1)Nodes[list0[0]]);
            }
            var key = list0[0];

            list0.RemoveAt(0);
            return(((ZzPakNode1)Nodes[key]).method_3(list0));
        }