public WorkshopItemUpdate() { // this is a new item SteamNative = new SteamNativeData(); ChangeNote = "Initial version"; Tags = new List <string>(); }
public WorkshopItemUpdate(WorkshopItem p_existingItem) { if (p_existingItem.SteamNative != null) { // this is an existing item -> copy data Name = p_existingItem.Name; Description = p_existingItem.Description; ContentPath = p_existingItem.InstalledLocalFolder; SteamNative = new SteamNativeData(p_existingItem.SteamNative.m_nPublishedFileId); ChangeNote = ""; Tags = new List <string>(); // try to find icon if (!string.IsNullOrEmpty(ContentPath)) { string possibleIconPath = System.IO.Path.Combine(ContentPath, Name + ".png"); if (System.IO.File.Exists(possibleIconPath)) { IconPath = possibleIconPath; } } } else { // this is a new item SteamNative = new SteamNativeData(); ChangeNote = "Initial version"; Tags = new List <string>(); } }
public WorkshopItemUpdate(PublishedFileId_t p_existingPublishedFileId) { // this is an existing item SteamNative = new SteamNativeData(p_existingPublishedFileId); ChangeNote = ""; Tags = new List <string>(); }
public LeaderboardsScoreEntry() { SteamNative = new SteamNativeData(); }
public LeaderboardsUploadedScoreEventArgs(EventArgsBase p_errorEventArgs) : base(p_errorEventArgs) { SteamNative = new SteamNativeData(); }
public LeaderboardsUploadedScoreEventArgs() : base() { SteamNative = new SteamNativeData(); }
public WorkshopItem() { SteamNative = new SteamNativeData(); }