mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 15:48:06 +03:00
Added UgcEditor.WithChangeLog
This commit is contained in:
parent
8560d94a18
commit
1dc804c7ac
@ -45,6 +45,9 @@ namespace Steamworks.Ugc
|
|||||||
string MetaData;
|
string MetaData;
|
||||||
public Editor WithMetaData( string t ) { this.MetaData = t; return this; }
|
public Editor WithMetaData( string t ) { this.MetaData = t; return this; }
|
||||||
|
|
||||||
|
string ChangeLog;
|
||||||
|
public Editor WithChangeLog( string t ) { this.ChangeLog = t; return this; }
|
||||||
|
|
||||||
string Language;
|
string Language;
|
||||||
public Editor InLanguage( string t ) { this.Language = t; return this; }
|
public Editor InLanguage( string t ) { this.Language = t; return this; }
|
||||||
|
|
||||||
@ -129,7 +132,10 @@ namespace Steamworks.Ugc
|
|||||||
|
|
||||||
result.Result = Steamworks.Result.Fail;
|
result.Result = Steamworks.Result.Fail;
|
||||||
|
|
||||||
var updating = SteamUGC.Internal.SubmitItemUpdate( handle, "" );
|
if ( ChangeLog == null )
|
||||||
|
ChangeLog = "";
|
||||||
|
|
||||||
|
var updating = SteamUGC.Internal.SubmitItemUpdate( handle, ChangeLog );
|
||||||
|
|
||||||
while ( !updating.IsCompleted )
|
while ( !updating.IsCompleted )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user