mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Misc.
This commit is contained in:
parent
fce8b058b0
commit
46fcac6c7d
3 changed files with 9 additions and 8 deletions
|
|
@ -231,9 +231,9 @@ public class AutoDesignManager : ISavable, IReadOnlyList<AutoDesignSet>, IDispos
|
|||
{
|
||||
var newDesign = new AutoDesign()
|
||||
{
|
||||
Design = design,
|
||||
Type = ApplicationType.All,
|
||||
Jobs = _jobs.JobGroups[1],
|
||||
Design = design,
|
||||
Type = ApplicationType.All,
|
||||
Jobs = _jobs.JobGroups[1],
|
||||
};
|
||||
set.Designs.Add(newDesign);
|
||||
Save();
|
||||
|
|
@ -494,8 +494,8 @@ public class AutoDesignManager : ISavable, IReadOnlyList<AutoDesignSet>, IDispos
|
|||
|
||||
var ret = new AutoDesign
|
||||
{
|
||||
Design = design,
|
||||
Type = applicationType & ApplicationType.All,
|
||||
Design = design,
|
||||
Type = applicationType & ApplicationType.All,
|
||||
};
|
||||
return ParseConditions(setName, jObj, ret) ? ret : null;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,10 +62,10 @@ public unsafe struct DesignData
|
|||
=> CrestVisibility.HasFlag(slot);
|
||||
|
||||
|
||||
public FullEquipType MainhandType
|
||||
public readonly FullEquipType MainhandType
|
||||
=> _typeMainhand;
|
||||
|
||||
public FullEquipType OffhandType
|
||||
public readonly FullEquipType OffhandType
|
||||
=> _typeOffhand;
|
||||
|
||||
public readonly EquipItem Item(EquipSlot slot)
|
||||
|
|
|
|||
|
|
@ -105,7 +105,8 @@ public sealed class DesignFileSystem : FileSystem<Design>, IDisposable, ISavable
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Glamourer.Messager.NotificationMessage(ex, $"Could not move design to {path} because the folder could not be created.", NotificationType.Error);
|
||||
Glamourer.Messager.NotificationMessage(ex, $"Could not move design to {path} because the folder could not be created.",
|
||||
NotificationType.Error);
|
||||
}
|
||||
|
||||
CreateDuplicateLeaf(parent, design.Name.Text, design);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue