mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 07:07:18 +09:00
31 lines
763 B
C#
31 lines
763 B
C#
using osu.Framework.Input.Bindings;
|
|
using osu.Game.Rulesets;
|
|
using SQLite.Net.Attributes;
|
|
using SQLiteNetExtensions.Attributes;
|
|
|
|
namespace osu.Game.Input.Bindings
|
|
{
|
|
[Table("KeyBinding")]
|
|
public class DatabasedKeyBinding : KeyBinding
|
|
{
|
|
[ForeignKey(typeof(RulesetInfo))]
|
|
public int? RulesetID { get; set; }
|
|
|
|
[Indexed]
|
|
public int? Variant { get; set; }
|
|
|
|
[Column("Keys")]
|
|
public string KeysString
|
|
{
|
|
get { return Keys.ToString(); }
|
|
private set { Keys = value; }
|
|
}
|
|
|
|
[Column("Action")]
|
|
public new int Action
|
|
{
|
|
get { return base.Action; }
|
|
private set { base.Action = value; }
|
|
}
|
|
}
|
|
} |