mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Edit specific item
This commit is contained in:
parent
aadac2339a
commit
14ebfbf0da
@ -159,6 +159,11 @@ public void VoteDown()
|
||||
workshop.ugc.SetUserItemVote( Id, false );
|
||||
}
|
||||
|
||||
public Editor Edit()
|
||||
{
|
||||
return workshop.EditItem( Id );
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Return a URL to view this item online
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user