public override void CreateFolderFile(string folder)
{
XDocument doc = new XDocument();
XElement root = new XElement("fMeshBone");
doc.Add(root);
root.Add(new XElement("boneIndex", this.BoneIndex));
root.Add(new XElement("unknown", this.Unknown));
root.Add(new XElement("obbMin", this.OBBMin));
root.Add(new XElement("obbMax", this.OBBMax));
string fileName = System.IO.Path.Combine(folder, "fMeshBone.xml");
using (FileStream stream = System.IO.File.Create(fileName))
{
doc.Save(stream);
}
}