public CreatorInformation(EventHandler functionToLaunchCreator, string iconPath, string description, bool paidAddOnFlag = false, UnlockFunction unlockFunction = null, PermissionFunction permissionFunction = null, UnlockRegisterFunction unlockRegisterFunction = null) { this.functionToLaunchCreator = functionToLaunchCreator; this.iconPath = iconPath; this.description = description; this.paidAddOnFlag = paidAddOnFlag; this.unlockFunction = unlockFunction; this.permissionFunction = permissionFunction; this.unlockRegisterFunction = unlockRegisterFunction; }
public CreatorInformation( Action showFunction, string iconPath, string description, bool paidAddOnFlag = false, UnlockFunction unlockFunction = null, PermissionFunction permissionFunction = null, UnlockRegisterFunction unlockRegisterFunction = null) { this.Show = showFunction; this.iconPath = iconPath; this.description = description; this.paidAddOnFlag = paidAddOnFlag; this.unlockFunction = unlockFunction; this.permissionFunction = permissionFunction; this.unlockRegisterFunction = unlockRegisterFunction; }