示例#1
1
 public ItemListStatic(JObject basicO,
     JObject dataO,
     JArray groupsA,
     JArray treeA,
     string type,
     string version,
     JObject originalObject)
 {
     data = new Dictionary<string, ItemStatic>();
     groups = new List<GroupStatic>();
     tree = new List<ItemTreeStatic>();
     if (basicO != null)
     {
         basic = HelperMethods.LoadBasicDataStatic(basicO);
     }
     if (dataO != null)
     {
         LoadData(dataO.ToString());
     }
     if (groupsA != null)
     {
         LoadGroups(groupsA);
     }
     if (treeA != null)
     {
         LoadTree(treeA);
     }
     this.type = type;
     this.version = version;
     this.originalObject = originalObject;
 }
示例#2
0
 public ItemListStatic(JObject basicO,
                       JObject dataO,
                       JArray groupsA,
                       JArray treeA,
                       string type,
                       string version,
                       JObject originalObject)
 {
     data   = new Dictionary <string, ItemStatic>();
     groups = new List <GroupStatic>();
     tree   = new List <ItemTreeStatic>();
     if (basicO != null)
     {
         basic = HelperMethods.LoadBasicDataStatic(basicO);
     }
     if (dataO != null)
     {
         LoadData(dataO.ToString());
     }
     if (groupsA != null)
     {
         LoadGroups(groupsA);
     }
     if (treeA != null)
     {
         LoadTree(treeA);
     }
     this.type           = type;
     this.version        = version;
     this.originalObject = originalObject;
 }
示例#3
0
 public RuneListStatic(JObject basicO,
     JObject dataO,
     string type,
     string version)
 {
     data = new Dictionary<string, RuneStatic>();
     if (basicO != null)
     {
         this.basic = HelperMethods.LoadBasicDataStatic(basicO);
     }
     if (dataO != null)
     {
         this.data = LoadData(dataO.ToString());
     }
     this.type = type;
     this.version = version;
 }
示例#4
0
 public RuneListStatic(JObject basicO,
                       JObject dataO,
                       string type,
                       string version,
                       JObject originalObject)
 {
     data = new Dictionary <string, RuneStatic>();
     if (basicO != null)
     {
         this.basic = HelperMethods.LoadBasicDataStatic(basicO);
     }
     if (dataO != null)
     {
         this.data = LoadData(dataO.ToString());
     }
     this.type           = type;
     this.version        = version;
     this.originalObject = originalObject;
 }