/// <description> /// %success = settingObj.write(); /// </description> public bool Write() { InternalUnsafeMethods.Write__Args _args = new InternalUnsafeMethods.Write__Args() { }; bool _engineResult = InternalUnsafeMethods.Write()(ObjectPtr, _args); return(_engineResult); }
/// <description> /// (object, filename) - Writes an object to a file using Taml. /// </description> /// <param name="object">The object to write.</param> /// <param name="filename">The filename to write to.</param> /// <returns>Whether the write was successful or not.</returns> public bool Write(SimObject obj, string filename) { InternalUnsafeMethods.Write__Args _args = new InternalUnsafeMethods.Write__Args() { obj = obj.ObjectPtr, filename = filename, }; bool _engineResult = InternalUnsafeMethods.Write()(ObjectPtr, _args); return(_engineResult); }