示例#1
0
 public static void JSON_Game_Custom_Injection_Import(string string_2)
 {
     Class67.smethod_18();
     foreach (DbRow dbRow in JsonConvert.DeserializeObject <IEnumerable <DbRow> >(Class67.zipArchive_0.GetEntry(string_2).smethod_7()).Where <DbRow>((Func <DbRow, bool>)(dbRow_0 => !dbRow_0.PreLoad)))
     {
         GClass28.dictionary_2.Add(dbRow.TitleId, dbRow);
     }
 }
示例#2
0
 public static void JSON_DLC_Import(string string_2)
 {
     Class67.smethod_18();
     foreach (DbRow dbRow in JsonConvert.DeserializeObject <IEnumerable <DbRow> >(Class67.zipArchive_0.GetEntry(string_2).smethod_7()))
     {
         if (!GClass28.dictionary_1.ContainsKey(dbRow.TitleId))
         {
             GClass28.dictionary_1.Add(dbRow.TitleId, new GClass80.GStruct4()
             {
                 dataSize_0 = dbRow.Size,
                 titleId_0  = dbRow.TitleId
             });
         }
     }
 }
示例#3
0
 public static void JSON_Update_Import(string string_2)
 {
     Class67.smethod_18();
     foreach (DbRow dbRow in JsonConvert.DeserializeObject <IEnumerable <DbRow> >(Class67.zipArchive_0.GetEntry(string_2).smethod_7()))
     {
         if (!GClass28.dictionary_3.ContainsKey(dbRow.TitleId))
         {
             GClass28.dictionary_3.Add(dbRow.TitleId, new List <GClass80.GStruct5>());
         }
         GClass28.dictionary_3[dbRow.TitleId].Add(new GClass80.GStruct5()
         {
             dataSize_0 = dbRow.Size,
             titleId_0  = dbRow.TitleId,
             string_0   = dbRow.Version
         });
     }
 }