2014-04-22 00:38:59 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace BizHawk.Emulation.Common
|
|
|
|
|
{
|
2014-12-13 02:31:31 +00:00
|
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
2017-07-12 19:10:55 +00:00
|
|
|
|
public class CoreAttribute : Attribute
|
2014-04-22 00:38:59 +00:00
|
|
|
|
{
|
2017-07-12 19:10:55 +00:00
|
|
|
|
public CoreAttribute(
|
2014-06-01 01:57:22 +00:00
|
|
|
|
string name,
|
|
|
|
|
string author,
|
|
|
|
|
bool isPorted = false,
|
|
|
|
|
bool isReleased = false,
|
|
|
|
|
string portedVersion = "",
|
2015-03-03 00:23:50 +00:00
|
|
|
|
string portedUrl = "",
|
|
|
|
|
bool singleInstance = false)
|
2014-04-22 00:38:59 +00:00
|
|
|
|
{
|
|
|
|
|
CoreName = name;
|
2014-04-25 01:19:57 +00:00
|
|
|
|
Author = author;
|
|
|
|
|
Ported = isPorted;
|
|
|
|
|
Released = isReleased;
|
2014-06-01 01:57:22 +00:00
|
|
|
|
PortedVersion = portedVersion;
|
|
|
|
|
PortedUrl = portedUrl;
|
2015-03-03 00:23:50 +00:00
|
|
|
|
SingleInstance = singleInstance;
|
2014-04-22 00:38:59 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CoreName { get; private set; }
|
2014-04-25 01:19:57 +00:00
|
|
|
|
public string Author { get; private set; }
|
|
|
|
|
public bool Ported { get; private set; }
|
|
|
|
|
public bool Released { get; private set; }
|
2014-06-01 01:57:22 +00:00
|
|
|
|
public string PortedVersion { get; private set; }
|
|
|
|
|
public string PortedUrl { get; private set; }
|
2015-03-03 00:23:50 +00:00
|
|
|
|
public bool SingleInstance { get; private set; }
|
2014-04-22 00:38:59 +00:00
|
|
|
|
}
|
|
|
|
|
}
|