mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
Added SteamUGC.GetWorkshopEulaStatus()
This commit is contained in:
parent
30f35c3aae
commit
38c2ffd796
@ -191,5 +191,14 @@ namespace Steamworks
|
|||||||
return Internal.ShowWorkshopEULA();
|
return Internal.ShowWorkshopEULA();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Retrieve information related to the user's acceptance or not of the app's specific Workshop EULA
|
||||||
|
/// </summary>
|
||||||
|
public static async Task<bool?> GetWorkshopEulaStatus()
|
||||||
|
{
|
||||||
|
var status = await Internal.GetWorkshopEULAStatus();
|
||||||
|
return status?.Accepted;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user