mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-28 15:45:29 +03:00
Added UgcEditor.WithChangeLog
This commit is contained in:
parent
8560d94a18
commit
1dc804c7ac
@ -45,6 +45,9 @@ internal Editor( WorkshopFileType filetype ) : this()
|
|||||||
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 @@ public async Task<PublishResult> SubmitAsync( IProgress<float> progress = null )
|
|||||||
|
|
||||||
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…
Reference in New Issue
Block a user