mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-03-31 06:39:02 +03:00
Edit specific item
This commit is contained in:
parent
aadac2339a
commit
14ebfbf0da
@ -159,6 +159,11 @@ namespace Facepunch.Steamworks
|
|||||||
workshop.ugc.SetUserItemVote( Id, false );
|
workshop.ugc.SetUserItemVote( Id, false );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Editor Edit()
|
||||||
|
{
|
||||||
|
return workshop.EditItem( Id );
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return a URL to view this item online
|
/// Return a URL to view this item online
|
||||||
|
@ -62,6 +62,11 @@ namespace Facepunch.Steamworks
|
|||||||
return new Editor() { workshop = this, Type = type };
|
return new Editor() { workshop = this, Type = type };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Editor EditItem( ulong itemId )
|
||||||
|
{
|
||||||
|
return new Editor() { workshop = this, Id = itemId };
|
||||||
|
}
|
||||||
|
|
||||||
public enum Order
|
public enum Order
|
||||||
{
|
{
|
||||||
RankedByVote = 0,
|
RankedByVote = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user