예제 #1
0
 public static void SignHash(zzPakNode2 pakNode)
 {
     if (pakNode.method_6(GameSettingsChecker._hashPath))
     {
         pakNode.method_7(GameSettingsChecker._hashPath);
     }
     zzGenericNode1 @class = new zzGenericNode1();
     @class.method_3(new UnicodeRootNode("version", GameSettingsChecker._hashPath, Assembly.GetExecutingAssembly().GetName().Version.ToString()));
     using (Stream26 stream = pakNode.method_17())
     {
         stream.Position = 0L;
         @class.method_3(new ArrayPointerRootNode("hash", GameSettingsChecker._hashPath, new IntegerArrayNode(KeyGenerator.smethod_21(KeyGenerator.HashStream(stream._stream)))));
     }
     GC.Collect();
     DateTime now = DateTime.Now;
     @class.method_3(new ArrayPointerRootNode("date", GameSettingsChecker._hashPath, new FloatArrayNode(new float[]
     {
         (float)now.Year,
         (float)now.Month,
         (float)now.Day
     })));
     pakNode.method_1<zzCocoaNode12>(GameSettingsChecker._hashPath, new zzCocoaNode12(GameSettingsChecker._hashPath, KeyGenerator.smethod_2(@class.method_8(), "MaC39SubInfo1245")));
 }
예제 #2
0
 private void method_9(int int_2, string string_0, zzGenericNode1 class308_0)
 {
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, new IntegerArrayNode(this.class239_0)));
 }
예제 #3
0
 private void method_8(int int_2, string string_0, zzGenericNode1 class308_0)
 {
     ListArrayNode @class = new ListArrayNode();
     foreach (int current in this.tsList.Keys)
     {
         @class.method_3(new IntegerArrayNode(new int[]
         {
             current,
             this.tsList[current][0],
             this.tsList[current][1]
         }));
     }
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, @class));
 }
예제 #4
0
 private void method_7(int int_2, string string_0, zzGenericNode1 class308_0, Track<int, int> class228_7)
 {
     if (class228_7.Keys.Count == 0)
     {
         this.method_11(int_2, string_0, class308_0);
         return;
     }
     ListArrayNode @class = new ListArrayNode();
     foreach (int current in class228_7.Keys)
     {
         @class.method_3(new IntegerArrayNode(new int[]
         {
             current,
             class228_7[current]
         }));
     }
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, @class));
 }
예제 #5
0
 private void method_5(int int_2, string string_0, zzGenericNode1 class308_0, Track<int, NotesAtOffset> class228_7)
 {
     if (class228_7.Keys.Count == 0)
     {
         this.method_11(int_2, string_0, class308_0);
         return;
     }
     List<int> list = new List<int>();
     foreach (int current in class228_7.Keys)
     {
         list.Add(current);
         list.Add(class228_7[current].sustainLength);
         list.Add(class228_7[current].method_0());
     }
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, new IntegerArrayNode(list)));
 }
예제 #6
0
 private void method_11(int int_2, string string_0, zzGenericNode1 class308_0)
 {
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, this.class287_0));
 }
예제 #7
0
 private void method_10(int int_2, string string_0, zzGenericNode1 class308_0)
 {
     if (this.class228_1.Keys.Count == 0)
     {
         this.method_11(int_2, string_0, class308_0);
         return;
     }
     StructureArrayNode @class = new StructureArrayNode();
     foreach (int current in this.class228_1.Keys)
     {
         @class.method_3(new StructureHeaderNode(new zzUnkNode294[]
         {
             new IntegerStructureNode("time", current),
             new UnicodeStructureNode("marker", this.class228_1[current])
         }));
     }
     class308_0.method_3(new ArrayPointerRootNode(string_0, int_2, @class));
 }