Rename stains.

This commit is contained in:
Ottermandias 2024-07-31 17:06:30 +02:00
parent 9d569266b5
commit f6434cbc61
2 changed files with 3 additions and 3 deletions

View file

@ -196,7 +196,7 @@ public class DesignEditor(
design.LastEdit = DateTimeOffset.UtcNow;
SaveService.QueueSave(design);
Glamourer.Log.Debug($"Set stain of {slot} equipment piece to {stains}.");
DesignChanged.Invoke(DesignChanged.Type.Stain, design, (oldStain, stains, slot));
DesignChanged.Invoke(DesignChanged.Type.Stains, design, (oldStain, stains, slot));
}
/// <inheritdoc/>

View file

@ -68,8 +68,8 @@ public sealed class DesignChanged()
/// <summary> An existing design had its weapons changed. Data is the old mainhand, the old offhand, the new mainhand, the new offhand (if any) and the new gauntlets (if any). [(EquipItem, EquipItem, EquipItem, EquipItem?, EquipItem?)]. </summary>
Weapon,
/// <summary> An existing design had a stain changed. Data is the old stain id, the new stain id and the slot [(StainId, StainId, EquipSlot)]. </summary>
Stain,
/// <summary> An existing design had a stain changed. Data is the old stain id, the new stain id and the slot [(StainIds, StainIds, EquipSlot)]. </summary>
Stains,
/// <summary> An existing design had a crest visibility changed. Data is the old crest visibility, the new crest visibility and the slot [(bool, bool, EquipSlot)]. </summary>
Crest,