Beispiel #1
0
        public override void Read(BinaryReader file, uint size)
        {
            var count = file.ReadByte();

            for (var i = 0; i < count; i++)
            {
                var var = new CName(cr2w);
                var.Read(file, 0);
                AddVariable(var);
            }
        }
Beispiel #2
0
 public CMaterialGraphParameter(CR2WFile cr2w)
     : base(cr2w)
 {
     unk1 = new CUInt8(cr2w)
     {
         Name = "Type", Type = "UInt8"
     };
     unk2 = new CUInt8(cr2w)
     {
         Name = "Offset?", Type = "UInt8"
     };
     name = new CName(cr2w)
     {
         Name = "Name", Type = "CName"
     };
 }