public void Load(string Path) { this.path = Path; BinaryReader binaryReader = new BinaryReader(File.Open(Path, FileMode.Open)); short num = binaryReader.ReadInt16(); for (int i = 0; i < (int)num; i++) { ZSC.Mesh mesh = new ZSC.Mesh(); mesh.read(ref binaryReader); this.listMesh.Add(mesh); } short num2 = binaryReader.ReadInt16(); for (int i = 0; i < (int)num2; i++) { ZSC.Materiel materiel = new ZSC.Materiel(); materiel.read(ref binaryReader); this.listMateriel.Add(materiel); } short num3 = binaryReader.ReadInt16(); for (int i = 0; i < (int)num3; i++) { ZSC.Effect effect = new ZSC.Effect(); effect.read(ref binaryReader); this.listEffect.Add(effect); } short num4 = binaryReader.ReadInt16(); for (int i = 0; i < (int)num4; i++) { ZSC.Object @object = new ZSC.Object(); @object.read(ref binaryReader); this.listObject.Add(@object); } binaryReader.Close(); }