Class ModPropertyDialog
- Namespace
- AlphaFramework.Editor
- Assembly
- AlphaFramework.Editor.dll
Displays and edits information about a mod. Can also be used to create a new mod.
public class ModPropertyDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
ModPropertyDialog
- Implements
- Inherited Members
- Extension Methods
Constructors
ModPropertyDialog()
Initializes a new instance of the Form class.
public ModPropertyDialog()
Methods
CreateMod()
Creates a new mod. Information is automatically saved to the XML info file.
public static string CreateMod()
Returns
- string
The path of the newly created mod info file,
null
if none was created
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue if managed resources should be disposed; otherwise, false.
EditMod(ModInfo, string)
Edits the properties of an existing mod. Changes are automatically saved to the XML info file.
public static void EditMod(ModInfo info, string path)