diff --git a/SharedLib/Data/Creature.cs b/SharedLib/Data/Creature.cs index 989acf94..ada5355e 100644 --- a/SharedLib/Data/Creature.cs +++ b/SharedLib/Data/Creature.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct Creature +public readonly record struct Creature { public int Entry { get; init; } public string Name { get; init; } diff --git a/SharedLib/Data/Item.cs b/SharedLib/Data/Item.cs index 70c6d292..5987be25 100644 --- a/SharedLib/Data/Item.cs +++ b/SharedLib/Data/Item.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct Item +public readonly record struct Item { public int Entry { get; init; } public string Name { get; init; } diff --git a/SharedLib/Data/Spell.cs b/SharedLib/Data/Spell.cs index ea3cf828..d222bcaa 100644 --- a/SharedLib/Data/Spell.cs +++ b/SharedLib/Data/Spell.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct Spell +public readonly record struct Spell { public int Id { get; init; } public string Name { get; init; } diff --git a/SharedLib/Data/TalentTab.cs b/SharedLib/Data/TalentTab.cs index 6153e875..79046bc4 100644 --- a/SharedLib/Data/TalentTab.cs +++ b/SharedLib/Data/TalentTab.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct TalentTab +public readonly record struct TalentTab { public int Id { get; init; } public int OrderIndex { get; init; } diff --git a/SharedLib/Data/TalentTreeElement.cs b/SharedLib/Data/TalentTreeElement.cs index 5d74e18c..9c64de3c 100644 --- a/SharedLib/Data/TalentTreeElement.cs +++ b/SharedLib/Data/TalentTreeElement.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct TalentTreeElement +public readonly record struct TalentTreeElement { public int TierID { get; init; } public int ColumnIndex { get; init; } diff --git a/SharedLib/Data/WorldMapArea.cs b/SharedLib/Data/WorldMapArea.cs index 010aba38..0323c5f4 100644 --- a/SharedLib/Data/WorldMapArea.cs +++ b/SharedLib/Data/WorldMapArea.cs @@ -1,6 +1,6 @@ namespace SharedLib; -public readonly struct WorldMapArea +public readonly record struct WorldMapArea { public int MapID { get; init; } public int AreaID { get; init; }