Exemplo n.º 1
0
        public static ExternalMtdParam Read(DSBinaryReader bin)
        {
            var p = new ExternalMtdParam();

            p.UnknownA01 = bin.ReadInt32();
            p.UnknownA02 = bin.ReadInt32();
            p.UnknownA03 = bin.ReadInt32();
            p.UnknownA04 = bin.ReadInt32();


            bin.ReadMtdDelimiter();


            p.Name     = bin.ReadMtdName();
            p.UnknownB = bin.ReadInt32();


            bin.ReadMtdDelimiter();


            p.ShaderDataIndex = bin.ReadInt32();

            return(p);
        }