public void Load(string fileName)
        {
            var resource = new ResourceFile_GTA5_pc<FragType_GTA5_pc>();
            resource.Load(fileName);

            fragType = resource.ResourceData;
        }
        public void Load(Stream stream)
        {
            var resource = new ResourceFile_GTA5_pc<FragType_GTA5_pc>();
            resource.Load(stream);

            if (resource.Version != 162)
                throw new Exception("version error");

            fragType = resource.ResourceData;
        }
 public FragmentFileWrapper_GTA5_pc()
 {
     fragType = new FragType_GTA5_pc();
 }
 public FragTypeWrapper_GTA5_pc(FragType_GTA5_pc fragType)
 {
     this.fragType = fragType;
 }