From 088ba90f65021968b51a0349540d0e5d95437e89 Mon Sep 17 00:00:00 2001 From: Sabien Date: Wed, 9 Dec 2020 22:36:20 -0600 Subject: [PATCH 1/3] Add game managed UGC Items --- Facepunch.Steamworks/Structs/UgcEditor.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index e1c28ac..a4c2890 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -43,7 +43,12 @@ namespace Steamworks.Ugc /// Workshop item that is meant to be voted on for the purpose of selling in-game /// public static Editor NewMicrotransactionFile => new Editor( WorkshopFileType.Microtransaction ); - + + /// + /// Workshop item that is meant to be voted on for the purpose of selling in-game + /// + public static Editor NewMGameManagedFile => new Editor(WorkshopFileType.GameManagedItem); + public Editor ForAppId( AppId id ) { this.consumerAppId = id; return this; } string Title; From f2ac10deb35869fd8abcf18af6e8f13f7042eb76 Mon Sep 17 00:00:00 2001 From: Sabien Date: Wed, 9 Dec 2020 22:38:21 -0600 Subject: [PATCH 2/3] Updated comment --- Facepunch.Steamworks/Structs/UgcEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index a4c2890..880cf4f 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -45,7 +45,7 @@ namespace Steamworks.Ugc public static Editor NewMicrotransactionFile => new Editor( WorkshopFileType.Microtransaction ); /// - /// Workshop item that is meant to be voted on for the purpose of selling in-game + /// Workshop item that is meant to be managed by the game. It is queryable by the API, but isn't visible on the web browser. /// public static Editor NewMGameManagedFile => new Editor(WorkshopFileType.GameManagedItem); From 5be8940c830d07e04ea25e5245166d998f2fa17d Mon Sep 17 00:00:00 2001 From: Sabien Date: Wed, 9 Dec 2020 23:01:41 -0600 Subject: [PATCH 3/3] Fix Typo --- Facepunch.Steamworks/Structs/UgcEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Facepunch.Steamworks/Structs/UgcEditor.cs b/Facepunch.Steamworks/Structs/UgcEditor.cs index 880cf4f..52fbc46 100644 --- a/Facepunch.Steamworks/Structs/UgcEditor.cs +++ b/Facepunch.Steamworks/Structs/UgcEditor.cs @@ -47,7 +47,7 @@ namespace Steamworks.Ugc /// /// Workshop item that is meant to be managed by the game. It is queryable by the API, but isn't visible on the web browser. /// - public static Editor NewMGameManagedFile => new Editor(WorkshopFileType.GameManagedItem); + public static Editor NewGameManagedFile => new Editor(WorkshopFileType.GameManagedItem); public Editor ForAppId( AppId id ) { this.consumerAppId = id; return this; }