diff --git a/Facepunch.Steamworks/Interfaces/Workshop.cs b/Facepunch.Steamworks/Interfaces/Workshop.cs index cdbe3a8..a0122e7 100644 --- a/Facepunch.Steamworks/Interfaces/Workshop.cs +++ b/Facepunch.Steamworks/Interfaces/Workshop.cs @@ -123,36 +123,6 @@ public Item GetItem( ulong itemid ) return new Item( itemid, this ); } - /// - /// Creates a list of all item's that the user is currently subscribed - /// to for this App. This does not query titles or descriptions but - /// allows you to get the directories, state and ID of any subscribed Item. - /// This is mostly useful for getting all subscribed items install location - /// on initial load to load all workshop content - /// - public unsafe Item[] GetSubscribedItems() - { - Item[] items; - uint subAmount; - var amount = ugc.GetNumSubscribedItems(); - PublishedFileId_t[] vecSubscribedItems = new PublishedFileId_t[amount]; - fixed (PublishedFileId_t* vecSubscribedItems_ptr = vecSubscribedItems) - { - subAmount = ugc.GetSubscribedItems(vecSubscribedItems_ptr, amount); - } - if (subAmount < amount) - items = new Item[subAmount]; - else - items = new Item[amount]; - - for(int i =0, length = items.Length; i /// How a query should be ordered. ///