private static void _Import(Regulus.Utility.Console.IViewer view, Wheel wheel, string path) { try { var buffer = System.IO.File.ReadAllText(path); var set = Newtonsoft.Json.JsonConvert.DeserializeObject<VGame.CLR.Dump.WheelFieldSet>(buffer); wheel.Import(ref set); } catch(Exception) { view.WriteLine("失敗"); throw; } view.WriteLine("成功"); }