浏览代码

added multipart game properties

Luke Pulverenti 11 年之前
父节点
当前提交
4a1d8771a8
共有 1 个文件被更改,包括 18 次插入1 次删除
  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>