Game.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. 
  2. namespace MediaBrowser.Controller.Entities
  3. {
  4. public class Game : BaseItem
  5. {
  6. /// <summary>
  7. /// Gets the type of the media.
  8. /// </summary>
  9. /// <value>The type of the media.</value>
  10. public override string MediaType
  11. {
  12. get { return Model.Entities.MediaType.Game; }
  13. }
  14. /// <summary>
  15. /// Gets or sets the players supported.
  16. /// </summary>
  17. /// <value>The players supported.</value>
  18. public int? PlayersSupported { get; set; }
  19. /// <summary>
  20. /// Gets or sets the game system.
  21. /// </summary>
  22. /// <value>The game system.</value>
  23. public string GameSystem { get; set; }
  24. /// <summary>
  25. ///
  26. /// </summary>
  27. public override string MetaLocation
  28. {
  29. get
  30. {
  31. return System.IO.Path.GetDirectoryName(Path);
  32. }
  33. }
  34. /// <summary>
  35. ///
  36. /// </summary>
  37. protected override bool UseParentPathToCreateResolveArgs
  38. {
  39. get
  40. {
  41. return !IsInMixedFolder;
  42. }
  43. }
  44. }
  45. }