BizHawk/BizHawk.Emulation.Common/CoreAttributes.cs

32 lines
783 B
C#
Raw Normal View History

using System;
namespace BizHawk.Emulation.Common
{
[AttributeUsage(AttributeTargets.Class)]
public class CoreAttributes : Attribute
{
2014-06-01 01:57:22 +00:00
public CoreAttributes(
string name,
string author,
bool isPorted = false,
bool isReleased = false,
string portedVersion = "",
string portedUrl = "")
{
CoreName = name;
Author = author;
Ported = isPorted;
Released = isReleased;
2014-06-01 01:57:22 +00:00
PortedVersion = portedVersion;
PortedUrl = portedUrl;
}
public string CoreName { get; private set; }
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; }
}
}