From 4a1d8771a80c805dfb27b119a33e14f99c9e0812 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 19 Sep 2013 16:36:45 -0400 Subject: [PATCH] added multipart game properties --- MediaBrowser.Controller/Entities/Game.cs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Entities/Game.cs b/MediaBrowser.Controller/Entities/Game.cs index 9a787b3d38..ef115c691b 100644 --- a/MediaBrowser.Controller/Entities/Game.cs +++ b/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(); + } + /// /// Gets the type of the media. /// @@ -35,6 +41,17 @@ namespace MediaBrowser.Controller.Entities } } + /// + /// Gets or sets a value indicating whether this instance is multi part. + /// + /// true if this instance is multi part; otherwise, false. + public bool IsMultiPart { get; set; } + + /// + /// Holds the paths to the game files in the event this is a multipart game + /// + public List MultiPartGameFiles { get; set; } + /// /// ///