mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-27 07:05:50 +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;
|
||||
public Editor WithMetaData( string t ) { this.MetaData = t; return this; }
|
||||
|
||||
string ChangeLog;
|
||||
public Editor WithChangeLog( string t ) { this.ChangeLog = t; return this; }
|
||||
|
||||
string Language;
|
||||
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;
|
||||
|
||||
var updating = SteamUGC.Internal.SubmitItemUpdate( handle, "" );
|
||||
if ( ChangeLog == null )
|
||||
ChangeLog = "";
|
||||
|
||||
var updating = SteamUGC.Internal.SubmitItemUpdate( handle, ChangeLog );
|
||||
|
||||
while ( !updating.IsCompleted )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user