예제 #1
0
        public static void ListItemsCmd(string filter = "")
        {
            if (filter == "")
            {
                Log.Info("Item List:");
            }
            else
            {
                Log.Info($"Item List: (Filter: {filter})");
            }

            foreach (BaseItem item in ItemUtils.GetAllItems(filter))
            {
                Log.Info($"Item: {item.ItemName}, Id: {item.ItemId}");
            }
        }