Skip to content

Commit

Permalink
Add GetAllItemData method for getting all the item data
Browse files Browse the repository at this point in the history
  • Loading branch information
xen-42 committed Sep 2, 2024
1 parent ff52e83 commit 36d40d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Winch/Util/ItemUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,9 @@ internal static void AddItemFromMeta<T>(string metaPath) where T : ItemData
WinchCore.Log.Error($"No item data converter found for type {typeof(T)}");
}
}

public static ItemData[] GetAllItemData()
{
return AllItemDataDict.Values.ToArray();
}
}

0 comments on commit 36d40d3

Please sign in to comment.