2017-06-20 04:43:44 +00:00
|
|
|
|
namespace PKHeX.Core
|
|
|
|
|
{
|
|
|
|
|
/// <summary> Common Ribbons introduced in Generation 6 </summary>
|
2019-01-26 22:48:32 +00:00
|
|
|
|
public interface IRibbonSetCommon6
|
2018-05-12 15:13:39 +00:00
|
|
|
|
{
|
2017-06-20 04:43:44 +00:00
|
|
|
|
bool RibbonChampionKalos { get; set; }
|
|
|
|
|
bool RibbonChampionG6Hoenn { get; set; }
|
|
|
|
|
bool RibbonBestFriends { get; set; }
|
|
|
|
|
bool RibbonTraining { get; set; }
|
|
|
|
|
bool RibbonBattlerSkillful { get; set; }
|
|
|
|
|
bool RibbonBattlerExpert { get; set; }
|
|
|
|
|
|
|
|
|
|
bool RibbonContestStar { get; set; }
|
|
|
|
|
bool RibbonMasterCoolness { get; set; }
|
|
|
|
|
bool RibbonMasterBeauty { get; set; }
|
|
|
|
|
bool RibbonMasterCuteness { get; set; }
|
|
|
|
|
bool RibbonMasterCleverness { get; set; }
|
|
|
|
|
bool RibbonMasterToughness { get; set; }
|
|
|
|
|
|
|
|
|
|
int RibbonCountMemoryContest { get; set; }
|
|
|
|
|
int RibbonCountMemoryBattle { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
internal static partial class RibbonExtensions
|
|
|
|
|
{
|
|
|
|
|
private static readonly string[] RibbonSetNamesCommon6Bool =
|
|
|
|
|
{
|
2017-06-27 05:18:42 +00:00
|
|
|
|
nameof(IRibbonSetCommon6.RibbonChampionKalos), nameof(IRibbonSetCommon6.RibbonChampionG6Hoenn), // nameof(IRibbonSetCommon6.RibbonBestFriends),
|
2017-06-20 04:43:44 +00:00
|
|
|
|
nameof(IRibbonSetCommon6.RibbonTraining), nameof(IRibbonSetCommon6.RibbonBattlerSkillful), nameof(IRibbonSetCommon6.RibbonBattlerExpert),
|
|
|
|
|
nameof(IRibbonSetCommon6.RibbonContestStar), nameof(IRibbonSetCommon6.RibbonMasterCoolness), nameof(IRibbonSetCommon6.RibbonMasterBeauty),
|
|
|
|
|
nameof(IRibbonSetCommon6.RibbonMasterCuteness), nameof(IRibbonSetCommon6.RibbonMasterCleverness), nameof(IRibbonSetCommon6.RibbonMasterToughness),
|
|
|
|
|
};
|
2018-07-27 02:34:27 +00:00
|
|
|
|
|
2018-03-26 23:42:18 +00:00
|
|
|
|
private static readonly string[] RibbonSetNamesCommon6Contest =
|
|
|
|
|
{
|
|
|
|
|
nameof(IRibbonSetCommon6.RibbonMasterCoolness), nameof(IRibbonSetCommon6.RibbonMasterBeauty),
|
|
|
|
|
nameof(IRibbonSetCommon6.RibbonMasterCuteness), nameof(IRibbonSetCommon6.RibbonMasterCleverness),
|
|
|
|
|
nameof(IRibbonSetCommon6.RibbonMasterToughness),
|
|
|
|
|
};
|
2018-07-27 02:34:27 +00:00
|
|
|
|
|
2017-06-20 04:43:44 +00:00
|
|
|
|
internal static bool[] RibbonBits(this IRibbonSetCommon6 set)
|
|
|
|
|
{
|
|
|
|
|
return new[]
|
|
|
|
|
{
|
|
|
|
|
set.RibbonChampionKalos,
|
|
|
|
|
set.RibbonChampionG6Hoenn,
|
2017-06-27 05:18:42 +00:00
|
|
|
|
//set.RibbonBestFriends,
|
2017-06-20 04:43:44 +00:00
|
|
|
|
set.RibbonTraining,
|
|
|
|
|
set.RibbonBattlerSkillful,
|
|
|
|
|
set.RibbonBattlerExpert,
|
|
|
|
|
|
|
|
|
|
set.RibbonContestStar,
|
|
|
|
|
set.RibbonMasterCoolness,
|
|
|
|
|
set.RibbonMasterBeauty,
|
|
|
|
|
set.RibbonMasterCuteness,
|
|
|
|
|
set.RibbonMasterCleverness,
|
|
|
|
|
set.RibbonMasterToughness,
|
|
|
|
|
};
|
|
|
|
|
}
|
2018-07-27 02:34:27 +00:00
|
|
|
|
|
2017-06-27 05:18:42 +00:00
|
|
|
|
internal static bool[] RibbonBitsContest(this IRibbonSetCommon6 set)
|
|
|
|
|
{
|
|
|
|
|
return new[]
|
|
|
|
|
{
|
|
|
|
|
set.RibbonMasterCoolness,
|
|
|
|
|
set.RibbonMasterBeauty,
|
|
|
|
|
set.RibbonMasterCuteness,
|
|
|
|
|
set.RibbonMasterCleverness,
|
|
|
|
|
set.RibbonMasterToughness,
|
|
|
|
|
};
|
|
|
|
|
}
|
2018-07-27 02:34:27 +00:00
|
|
|
|
|
2018-05-12 19:28:48 +00:00
|
|
|
|
internal static string[] RibbonNamesBool(this IRibbonSetCommon6 _) => RibbonSetNamesCommon6Bool;
|
|
|
|
|
internal static string[] RibbonNamesContest(this IRibbonSetCommon6 _) => RibbonSetNamesCommon6Contest;
|
2017-06-20 04:43:44 +00:00
|
|
|
|
}
|
|
|
|
|
}
|