private static void readMotionRepresentnameContainer(BinaryReader br, ref MotionPack pack, ref Balthasar.IO.PackageLang pl) { string value = ModelReader.ReadString(br); IDanceMotionLeaf danceMotionLeaf = null; foreach (IDanceMotionLeaf current in pack.Motions) { if (current.Name.Equals(value)) { danceMotionLeaf = current; break; } } int num = br.ReadInt32(); for (int i = 0; i < num; i++) { int langId = br.ReadInt32(); string name = ModelReader.ReadString(br); if (danceMotionLeaf != null) { danceMotionLeaf.SetRepresentName((MchaLanguageID)langId, pl.GetString(langId, name)); } } }