diff --git a/Facepunch.Steamworks/Interfaces/Workshop.Item.cs b/Facepunch.Steamworks/Interfaces/Workshop.Item.cs index 7cf436f..6e1deab 100644 --- a/Facepunch.Steamworks/Interfaces/Workshop.Item.cs +++ b/Facepunch.Steamworks/Interfaces/Workshop.Item.cs @@ -25,6 +25,8 @@ public class Item public string Title { get; private set; } public uint VotesDown { get; private set; } public uint VotesUp { get; private set; } + public DateTime Modified { get; private set; } + public DateTime Created { get; private set; } internal static Item From( SteamUGCDetails_t details, Workshop workshop ) { @@ -39,6 +41,8 @@ internal static Item From( SteamUGCDetails_t details, Workshop workshop ) item.Score = details.m_flScore; item.VotesUp = details.m_unVotesUp; item.VotesDown = details.m_unVotesDown; + item.Modified = new DateTime( details.m_rtimeUpdated ); + item.Created = new DateTime( details.m_rtimeCreated ); item.UpdateState(); return item;