Ejemplo n.º 1
0
 public WorkshopItemUpdate()
 {
     // this is a new item
     SteamNative = new SteamNativeData();
     ChangeNote  = "Initial version";
     Tags        = new List <string>();
 }
Ejemplo n.º 2
0
        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>();
            }
        }
Ejemplo n.º 3
0
 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();
 }
Ejemplo n.º 7
0
 public WorkshopItem()
 {
     SteamNative = new SteamNativeData();
 }