diff --git a/Facepunch.Steamworks/Interfaces/Workshop.Item.cs b/Facepunch.Steamworks/Interfaces/Workshop.Item.cs index e6d49ba..f276509 100644 --- a/Facepunch.Steamworks/Interfaces/Workshop.Item.cs +++ b/Facepunch.Steamworks/Interfaces/Workshop.Item.cs @@ -159,6 +159,11 @@ public void VoteDown() workshop.ugc.SetUserItemVote( Id, false ); } + public Editor Edit() + { + return workshop.EditItem( Id ); + } + /// /// Return a URL to view this item online diff --git a/Facepunch.Steamworks/Interfaces/Workshop.cs b/Facepunch.Steamworks/Interfaces/Workshop.cs index 7f0f53c..ccb1321 100644 --- a/Facepunch.Steamworks/Interfaces/Workshop.cs +++ b/Facepunch.Steamworks/Interfaces/Workshop.cs @@ -62,6 +62,11 @@ public Editor CreateItem( ItemType type ) return new Editor() { workshop = this, Type = type }; } + public Editor EditItem( ulong itemId ) + { + return new Editor() { workshop = this, Id = itemId }; + } + public enum Order { RankedByVote = 0,