From e6c395b2f67472cc4446c25a69971965aec4994f Mon Sep 17 00:00:00 2001 From: Matthew Oldfield Date: Wed, 12 Jul 2017 23:21:33 +0100 Subject: [PATCH] Removed GetSubscribedItems, could not find a nice way to change to property --- Facepunch.Steamworks/Interfaces/Workshop.cs | 30 --------------------- 1 file changed, 30 deletions(-) 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 @@ namespace Facepunch.Steamworks 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. ///