Sfoglia il codice sorgente

added multipart game properties

Luke Pulverenti 11 anni fa
parent
commit
4a1d8771a8
1 ha cambiato i file con 18 aggiunte e 1 eliminazioni
  1. 18 1
      MediaBrowser.Controller/Entities/Game.cs

+ 18 - 1
MediaBrowser.Controller/Entities/Game.cs

@@ -1,8 +1,14 @@
-
+using System.Collections.Generic;
+
 namespace MediaBrowser.Controller.Entities
 {
     public class Game : BaseItem
     {
+        public Game()
+        {
+            MultiPartGameFiles = new List<string>();
+        }
+
         /// <summary>
         /// Gets the type of the media.
         /// </summary>
@@ -35,6 +41,17 @@ namespace MediaBrowser.Controller.Entities
             }
         }
 
+        /// <summary>
+        /// Gets or sets a value indicating whether this instance is multi part.
+        /// </summary>
+        /// <value><c>true</c> if this instance is multi part; otherwise, <c>false</c>.</value>
+        public bool IsMultiPart { get; set; }
+
+        /// <summary>
+        /// Holds the paths to the game files in the event this is a multipart game
+        /// </summary>
+        public List<string> MultiPartGameFiles { get; set; }
+
         /// <summary>
         /// 
         /// </summary>