public void Save(string fileName)
 {
     var resource = new ResourceFile_GTA5_pc<DrawableDictionary_GTA5_pc>();
     resource.ResourceData = drawableDictionary;
     resource.Version = 165;
     resource.Save(fileName);
 }
 public void Save(Stream stream)
 {
     var resource = new ResourceFile_GTA5_pc<DrawableDictionary_GTA5_pc>();
     resource.ResourceData = drawableDictionary;
     resource.Version = 165;
     resource.Save(stream);
 }
 public void Save(Stream stream)
 {
     var resource = new ResourceFile_GTA5_pc<ParticleFile_GTA5_pc>();
     resource.ResourceData = particles;
     resource.Version = 68;
     resource.Save(stream);
 }
 public void Save(string fileName)
 {
     var resource = new ResourceFile_GTA5_pc<ParticleFile_GTA5_pc>();
     resource.ResourceData = particles;
     resource.Version = 68;
     resource.Save(fileName);
 }
        public void Save(string fileName)
        {
            var w = new FragTypeWrapper_GTA5_pc(fragType);
            w.UpdateClass();

            var resource = new ResourceFile_GTA5_pc<FragType_GTA5_pc>();
            resource.ResourceData = fragType;
            resource.Version = 162;
            resource.Save(fileName);
        }
        /// <summary>
        /// Saves the texture dictionary to a file.
        /// </summary>
        public void Save(string fileName)
        {
            var w = new TextureDictionaryWrapper_GTA5_pc(textureDictionary);
            w.UpdateClass();

            var resource = new ResourceFile_GTA5_pc<TextureDictionary_GTA5_pc>();
            resource.ResourceData = textureDictionary;
            resource.Version = 13;
            resource.Save(fileName);
        }