public virtual void vmethod_0(Interface16 interface16_0) { if (interface16_0 is GH3Song) { GH3Song gH3Song = interface16_0 as GH3Song; this.original_artist = gH3Song.original_artist; this.not_bass = gH3Song.not_bass; this.no_rhythm_track = gH3Song.no_rhythm_track; this.use_coop_notetracks = gH3Song.use_coop_notetracks; this.keyboard = gH3Song.keyboard; this.band_vol = gH3Song.band_vol; this.guitar_vol = gH3Song.guitar_vol; this.hammer_on = gH3Song.hammer_on; this.gem_offset = gH3Song.gem_offset; this.fretbar_offset = gH3Song.fretbar_offset; this.input_offset = gH3Song.input_offset; this.version = gH3Song.version; this.title = gH3Song.title; this.artist = gH3Song.artist; this.year = gH3Song.year; this.countoff = gH3Song.countoff; this.bassist = gH3Song.bassist; this.singer = gH3Song.singer; this.boss = gH3Song.boss; this.artist_text = gH3Song.artist_text; } }
internal static void smethod_0(BinaryReader A_0, int A_1, int A_2, Interface16 A_3, string A_4) { if (A_1 != 0) { int num = (A_1 - 4) / (4 + A_2); smethod_1(A_0, num, A_3); } }
private void method_34(JsonWriter jsonWriter_0, IDictionary idictionary_0, JsonDictionaryContract jsonDictionaryContract_0, JsonProperty jsonProperty_0, JsonContainerContract jsonContainerContract_0, JsonProperty jsonProperty_1) { Interface16 interface2 = idictionary_0 as Interface16; object obj2 = (interface2 != null) ? interface2.Object_0 : idictionary_0; this.method_15(jsonWriter_0, jsonDictionaryContract_0, obj2); this.list_0.Add(obj2); this.method_19(jsonWriter_0, obj2, jsonDictionaryContract_0, jsonProperty_0, jsonContainerContract_0, jsonProperty_1); if (jsonDictionaryContract_0.JsonContract_0 == null) { jsonDictionaryContract_0.JsonContract_0 = base.jsonSerializer_0.icontractResolver_0.ResolveContract(jsonDictionaryContract_0.DictionaryValueType ?? typeof(object)); } if (jsonDictionaryContract_0.JsonContract_2 == null) { jsonDictionaryContract_0.JsonContract_2 = base.jsonSerializer_0.icontractResolver_0.ResolveContract(jsonDictionaryContract_0.DictionaryKeyType ?? typeof(object)); } int top = jsonWriter_0.Top; foreach (DictionaryEntry entry in idictionary_0) { bool flag; string arg = this.method_35(jsonWriter_0, entry, jsonDictionaryContract_0.JsonContract_2, out flag); arg = (jsonDictionaryContract_0.PropertyNameResolver != null) ? jsonDictionaryContract_0.PropertyNameResolver(arg) : arg; try { object obj3 = entry.Value; JsonContract contract = jsonDictionaryContract_0.JsonContract_1 ?? this.method_5(obj3); if (this.method_9(obj3, null, contract, jsonDictionaryContract_0, jsonProperty_0)) { jsonWriter_0.WritePropertyName(arg, flag); this.method_12(jsonWriter_0, obj3); } else if (this.method_11(jsonWriter_0, obj3, null, contract, jsonDictionaryContract_0, jsonProperty_0)) { jsonWriter_0.WritePropertyName(arg, flag); this.method_7(jsonWriter_0, obj3, contract, null, jsonDictionaryContract_0, jsonProperty_0); } } catch (Exception exception) { if (!base.method_2(obj2, jsonDictionaryContract_0, arg, null, jsonWriter_0.String_0, exception)) { throw; } this.method_36(jsonWriter_0, top); } } jsonWriter_0.WriteEndObject(); this.list_0.RemoveAt(this.list_0.Count - 1); this.method_16(jsonWriter_0, jsonDictionaryContract_0, obj2); }
public override void vmethod_0(Interface16 interface16_0) { base.vmethod_0(interface16_0); if (interface16_0 is GHASong) { GHASong gHASong = interface16_0 as GHASong; gHASong.covered_by = this.covered_by; gHASong.band = this.band; gHASong.guitarist_checksum = this.guitarist_checksum; gHASong.singer_anim_pak = this.singer_anim_pak; gHASong.thin_fretbar_8note_params_high_bpm = this.thin_fretbar_8note_params_high_bpm; gHASong.perry_mic_stand = this.perry_mic_stand; } }
internal static void smethod_1(BinaryReader A_0, int A_1, Interface16 A_2) { int num = A_1 + 1; int[] numArray = new int[num]; for (int i = 0; i < num; i++) { numArray[i] = A_0.ReadInt32(); } for (int j = 0; j < A_1; j++) { A_2.imethod_0(A_0, numArray[j], numArray[j + 1]); } }