Exemplo n.º 1
0
        public override void Read(BinaryReader file, uint size)
        {
            Buffer = new CBytes(cr2w, this, nameof(Buffer))
            {
                Bytes        = new byte[0],
                IsSerialized = true
            };

            Buffer.Read(file, size);
        }
Exemplo n.º 2
0
 public EntityHandle(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name)
 {
     id   = new CUInt16(cr2w, this, nameof(id));
     guid = new CGUID(cr2w, this, nameof(guid));
     unk1 = new CBytes(cr2w, this, nameof(unk1));
 }