diff --git a/Facepunch.Steamworks/SteamInventory.cs b/Facepunch.Steamworks/SteamInventory.cs index bf50b53..2a01e8e 100644 --- a/Facepunch.Steamworks/SteamInventory.cs +++ b/Facepunch.Steamworks/SteamInventory.cs @@ -180,7 +180,7 @@ internal static InventoryDef[] GetDefinitions() /// or if you don't care about hacked clients granting arbitrary items. /// This call can be disabled by a setting on Steamworks. /// - static async Task GenerateItem( InventoryDef target, int amount ) + public static async Task GenerateItem( InventoryDef target, int amount ) { var sresult = default( SteamInventoryResult_t ); @@ -198,7 +198,7 @@ internal static InventoryDef[] GetDefinitions() /// You need to have set up the appropriate exchange rules in your item /// definitions. This assumes all the items passed in aren't stacked. /// - static async Task CraftItem( InventoryItem[] list, InventoryDef target ) + public static async Task CraftItem( InventoryItem[] list, InventoryDef target ) { var sresult = default( SteamInventoryResult_t ); @@ -228,7 +228,7 @@ internal static InventoryDef[] GetDefinitions() /// You should call CheckResultSteamID on the result handle when it completes to verify /// that a remote player is not pretending to have a different user's inventory. /// - static async Task DeserializeAsync( byte[] data, int dataLength = -1 ) + public static async Task DeserializeAsync( byte[] data, int dataLength = -1 ) { if ( data == null ) throw new ArgumentException( "data should nto be null" ); diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index 8181792..a4ff755 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -32,7 +32,7 @@ internal Editor( WorkshopFileType filetype ) : this() /// Workshop item that is meant to be voted on for the purpose of selling in-game /// public static Editor NewMicrotransactionFile => new Editor( WorkshopFileType.Microtransaction ); - + public Editor ForAppId( AppId id ) { this.consumerAppId = id; return this; }