2022-06-18 18:04:24 +00:00
|
|
|
using System;
|
2022-01-03 05:35:59 +00:00
|
|
|
using static System.Buffers.Binary.BinaryPrimitives;
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
namespace PKHeX.Core;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Generation 4 Mystery Gift Template File (Inner Gift Data, no card data)
|
|
|
|
/// </summary>
|
|
|
|
public sealed class PGT : DataMysteryGift, IRibbonSetEvent3, IRibbonSetEvent4
|
2016-06-20 04:22:43 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
public const int Size = 0x104; // 260
|
|
|
|
public override int Generation => 4;
|
Refactoring: Move Source (Legality) (#3560)
Rewrites a good amount of legality APIs pertaining to:
* Legal moves that can be learned
* Evolution chains & cross-generation paths
* Memory validation with forgotten moves
In generation 8, there are 3 separate contexts an entity can exist in: SW/SH, BD/SP, and LA. Not every entity can cross between them, and not every entity from generation 7 can exist in generation 8 (Gogoat, etc). By creating class models representing the restrictions to cross each boundary, we are able to better track and validate data.
The old implementation of validating moves was greedy: it would iterate for all generations and evolutions, and build a full list of every move that can be learned, storing it on the heap. Now, we check one game group at a time to see if the entity can learn a move that hasn't yet been validated. End result is an algorithm that requires 0 allocation, and a smaller/quicker search space.
The old implementation of storing move parses was inefficient; for each move that was parsed, a new object is created and adjusted depending on the parse. Now, move parse results are `struct` and store the move parse contiguously in memory. End result is faster parsing and 0 memory allocation.
* `PersonalTable` objects have been improved with new API methods to check if a species+form can exist in the game.
* `IEncounterTemplate` objects have been improved to indicate the `EntityContext` they originate in (similar to `Generation`).
* Some APIs have been extended to accept `Span<T>` instead of Array/IEnumerable
2022-08-03 23:15:27 +00:00
|
|
|
public override EntityContext Context => EntityContext.Gen4;
|
2022-06-18 18:04:24 +00:00
|
|
|
|
|
|
|
public override byte Level
|
2016-06-20 04:22:43 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
get => IsManaphyEgg ? (byte)1 : IsEntity ? (byte)PK.Met_Level : (byte)0;
|
|
|
|
set { if (IsEntity) PK.Met_Level = value; }
|
|
|
|
}
|
2018-08-10 04:53:39 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public override int Ball
|
|
|
|
{
|
|
|
|
get => IsEntity ? PK.Ball : 0;
|
|
|
|
set { if (IsEntity) PK.Ball = value; }
|
|
|
|
}
|
2018-08-10 04:53:39 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public override AbilityPermission Ability => IsManaphyEgg ? AbilityPermission.Any12 : (int)(PK.PID & 1) == 1 ? AbilityPermission.OnlySecond : AbilityPermission.OnlyFirst;
|
|
|
|
|
|
|
|
private enum GiftType
|
|
|
|
{
|
|
|
|
Pokémon = 1,
|
|
|
|
PokémonEgg = 2,
|
|
|
|
Item = 3,
|
|
|
|
Rule = 4,
|
|
|
|
Seal = 5,
|
|
|
|
Accessory = 6,
|
|
|
|
ManaphyEgg = 7,
|
|
|
|
MemberCard = 8,
|
|
|
|
OaksLetter = 9,
|
|
|
|
AzureFlute = 10,
|
|
|
|
PokétchApp = 11,
|
|
|
|
Ribbon = 12,
|
|
|
|
PokéWalkerArea = 14,
|
|
|
|
}
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public override string CardTitle { get => "Raw Gift (PGT)"; set { } }
|
|
|
|
public override int CardID { get => -1; set { } }
|
|
|
|
public override bool GiftUsed { get => false; set { } }
|
|
|
|
public override Shiny Shiny => IsEgg ? Shiny.Random : PK.PID == 1 ? Shiny.Never : IsShiny ? Shiny.Always : Shiny.Never;
|
2021-12-09 08:46:59 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public PGT() : this(new byte[Size]) { }
|
|
|
|
public PGT(byte[] data) : base(data) { }
|
|
|
|
|
|
|
|
public byte CardType { get => Data[0]; set => Data[0] = value; }
|
|
|
|
// Unused 0x01
|
|
|
|
public byte Slot { get => Data[2]; set => Data[2] = value; }
|
|
|
|
public byte Detail { get => Data[3]; set => Data[3] = value; }
|
|
|
|
public override int ItemID { get => ReadUInt16LittleEndian(Data.AsSpan(0x4)); set => WriteUInt16LittleEndian(Data.AsSpan(0x4), (ushort)value); }
|
|
|
|
|
|
|
|
public PK4 PK
|
|
|
|
{
|
|
|
|
get => _pk ??= new PK4(Data.Slice(8, PokeCrypto.SIZE_4PARTY));
|
|
|
|
set
|
2016-06-20 04:22:43 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
_pk = value;
|
|
|
|
var data = Array.FindIndex(value.Data, z => z != 0) == -1 // all zero
|
|
|
|
? value.Data
|
|
|
|
: PokeCrypto.EncryptArray45(value.Data);
|
|
|
|
data.CopyTo(Data, 8);
|
2016-06-20 04:22:43 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public override byte[] Write()
|
|
|
|
{
|
|
|
|
// Ensure PGT content is encrypted
|
|
|
|
var clone = new PGT((byte[])Data.Clone());
|
|
|
|
clone.VerifyPKEncryption();
|
|
|
|
return clone.Data;
|
|
|
|
}
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private PK4? _pk;
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Double checks the encryption of the gift data for Pokemon data.
|
|
|
|
/// </summary>
|
|
|
|
/// <returns>True if data was encrypted, false if the data was not modified.</returns>
|
|
|
|
public bool VerifyPKEncryption()
|
|
|
|
{
|
|
|
|
if (PGTGiftType is not (GiftType.Pokémon or GiftType.PokémonEgg))
|
|
|
|
return false; // not encrypted
|
|
|
|
if (ReadUInt32LittleEndian(Data.AsSpan(0x64 + 8)) != 0)
|
|
|
|
return false; // already encrypted (unused PK4 field, zero)
|
|
|
|
EncryptPK();
|
|
|
|
return true;
|
|
|
|
}
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private void EncryptPK()
|
|
|
|
{
|
|
|
|
var span = Data.AsSpan(8, PokeCrypto.SIZE_4PARTY);
|
|
|
|
var ekdata = PokeCrypto.EncryptArray45(span);
|
|
|
|
ekdata.CopyTo(span);
|
|
|
|
}
|
2018-08-10 04:53:39 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private GiftType PGTGiftType { get => (GiftType)Data[0]; set => Data[0] = (byte)value; }
|
|
|
|
public bool IsHatched => PGTGiftType == GiftType.Pokémon;
|
|
|
|
public override bool IsEgg { get => PGTGiftType == GiftType.PokémonEgg || IsManaphyEgg; set { if (value) { PGTGiftType = GiftType.PokémonEgg; PK.IsEgg = true; } } }
|
|
|
|
public bool IsManaphyEgg { get => PGTGiftType == GiftType.ManaphyEgg; set { if (value) PGTGiftType = GiftType.ManaphyEgg; } }
|
|
|
|
public override bool EggEncounter => IsEgg;
|
|
|
|
public override bool IsItem { get => PGTGiftType == GiftType.Item; set { if (value) PGTGiftType = GiftType.Item; } }
|
|
|
|
public override bool IsEntity { get => PGTGiftType is GiftType.Pokémon or GiftType.PokémonEgg or GiftType.ManaphyEgg; set { } }
|
|
|
|
|
|
|
|
public override int Species { get => IsManaphyEgg ? 490 : PK.Species; set => PK.Species = value; }
|
2022-08-22 00:34:32 +00:00
|
|
|
public override Moveset Moves { get => new((ushort)PK.Move1, (ushort)PK.Move2, (ushort)PK.Move3, (ushort)PK.Move4); set => PK.SetMoves(value); }
|
2022-06-18 18:04:24 +00:00
|
|
|
public override int HeldItem { get => PK.HeldItem; set => PK.HeldItem = value; }
|
|
|
|
public override bool IsShiny => PK.IsShiny;
|
|
|
|
public override int Gender { get => PK.Gender; set => PK.Gender = value; }
|
|
|
|
public override int Form { get => PK.Form; set => PK.Form = value; }
|
|
|
|
public override int TID { get => (ushort)PK.TID; set => PK.TID = value; }
|
|
|
|
public override int SID { get => (ushort)PK.SID; set => PK.SID = value; }
|
|
|
|
public override string OT_Name { get => PK.OT_Name; set => PK.OT_Name = value; }
|
|
|
|
public override int Location { get => PK.Met_Location; set => PK.Met_Location = value; }
|
|
|
|
public override int EggLocation { get => PK.Egg_Location; set => PK.Egg_Location = value; }
|
2022-06-20 21:36:25 +00:00
|
|
|
public override bool HasFixedIVs => (PK.IV32 & 0x3FFF_FFFFu) != 0;
|
2022-06-18 18:04:24 +00:00
|
|
|
public override void GetIVs(Span<int> value)
|
|
|
|
{
|
|
|
|
if (HasFixedIVs)
|
|
|
|
PK.GetIVs(value);
|
|
|
|
}
|
2019-12-25 07:24:28 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public override PKM ConvertToPKM(ITrainerInfo tr, EncounterCriteria criteria)
|
|
|
|
{
|
|
|
|
if (!IsEntity)
|
|
|
|
throw new ArgumentException(nameof(IsEntity));
|
2017-01-21 05:43:59 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
// template is already filled out, only minor mutations required
|
|
|
|
PK4 pk4 = new((byte[])PK.Data.Clone()) { Sanity = 0 };
|
|
|
|
if (!IsHatched && Detail == 0)
|
2017-12-11 18:13:08 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
pk4.OT_Name = tr.OT;
|
|
|
|
pk4.TID = tr.TID;
|
|
|
|
pk4.SID = tr.SID;
|
|
|
|
pk4.OT_Gender = tr.Gender;
|
|
|
|
pk4.Language = tr.Language;
|
2017-12-11 18:13:08 +00:00
|
|
|
}
|
2018-07-27 02:34:27 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
if (IsManaphyEgg)
|
|
|
|
SetDefaultManaphyEggDetails(pk4, tr);
|
2017-12-11 18:13:08 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
SetPINGA(pk4, criteria);
|
|
|
|
SetMetData(pk4, tr);
|
2016-09-04 17:38:53 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
var pi = pk4.PersonalInfo;
|
|
|
|
pk4.CurrentFriendship = pk4.IsEgg ? pi.HatchCycles : pi.BaseFriendship;
|
|
|
|
|
|
|
|
pk4.RefreshChecksum();
|
|
|
|
return pk4;
|
|
|
|
}
|
2019-02-09 19:37:20 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private void SetMetData(PK4 pk4, ITrainerInfo trainer)
|
|
|
|
{
|
|
|
|
if (!EggEncounter)
|
2019-02-09 19:37:20 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
pk4.Met_Location = pk4.Egg_Location + 3000;
|
|
|
|
pk4.Egg_Location = 0;
|
|
|
|
pk4.MetDate = DateTime.Now;
|
|
|
|
pk4.IsEgg = false;
|
2019-02-09 19:37:20 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
else
|
2019-02-09 19:37:20 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
pk4.Egg_Location += 3000;
|
|
|
|
if (trainer.Generation == 4)
|
|
|
|
SetUnhatchedEggDetails(pk4);
|
|
|
|
else
|
|
|
|
SetHatchedEggDetails(pk4);
|
2019-02-09 19:37:20 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2019-02-09 19:37:20 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private static void SetDefaultManaphyEggDetails(PK4 pk4, ITrainerInfo trainer)
|
|
|
|
{
|
|
|
|
// Since none of this data is populated, fill in default info.
|
|
|
|
pk4.Species = (int)Core.Species.Manaphy;
|
|
|
|
pk4.Gender = 2;
|
|
|
|
// Level 1 Moves
|
|
|
|
pk4.Move1 = 294; pk4.Move1_PP = 20;
|
|
|
|
pk4.Move2 = 145; pk4.Move2_PP = 30;
|
|
|
|
pk4.Move3 = 346; pk4.Move3_PP = 15;
|
|
|
|
pk4.Ability = (int)Core.Ability.Hydration;
|
|
|
|
pk4.FatefulEncounter = true;
|
|
|
|
pk4.Ball = (int)Core.Ball.Poke;
|
|
|
|
pk4.Version = GameVersion.Gen4.Contains(trainer.Game) ? trainer.Game : (int)GameVersion.D;
|
|
|
|
var lang = trainer.Language < (int)LanguageID.Korean ? trainer.Language : (int)LanguageID.English;
|
|
|
|
pk4.Language = lang;
|
|
|
|
pk4.Egg_Location = 1; // Ranger (will be +3000 later)
|
|
|
|
pk4.Nickname = SpeciesName.GetSpeciesNameGeneration((int)Core.Species.Manaphy, lang, 4);
|
|
|
|
}
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private void SetPINGA(PK4 pk4, EncounterCriteria criteria)
|
|
|
|
{
|
|
|
|
// Ability is forced already, can't force anything
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
// Generate PID
|
|
|
|
var seed = SetPID(pk4, criteria);
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
if (!IsManaphyEgg)
|
|
|
|
seed = Util.Rand32(); // reseed, do not have method 1 correlation
|
2016-06-20 04:22:43 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
// Generate IVs
|
2022-06-20 21:36:25 +00:00
|
|
|
if ((pk4.IV32 & 0x3FFF_FFFFu) == 0) // Ignore Nickname/Egg flag bits
|
2020-10-18 17:00:44 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
uint iv1 = ((seed = RNG.LCRNG.Next(seed)) >> 16) & 0x7FFF;
|
|
|
|
uint iv2 = ((RNG.LCRNG.Next(seed)) >> 16) & 0x7FFF;
|
2022-06-20 21:36:25 +00:00
|
|
|
pk4.IV32 |= iv1 | (iv2 << 15);
|
2020-10-18 17:00:44 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2020-10-18 17:00:44 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private uint SetPID(PK4 pk4, EncounterCriteria criteria)
|
|
|
|
{
|
|
|
|
uint seed = Util.Rand32();
|
|
|
|
if (pk4.PID != 1 && !IsManaphyEgg)
|
|
|
|
return seed; // PID is already set.
|
|
|
|
|
|
|
|
// The games don't decide the Nature/Gender up-front, but we can try to honor requests.
|
|
|
|
// Pre-determine the result values, and generate something.
|
|
|
|
var n = (int)criteria.GetNature(Nature.Random);
|
|
|
|
// Gender is already pre-determined in the template.
|
|
|
|
while (true)
|
2019-02-09 19:37:20 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
seed = GeneratePID(seed, pk4);
|
|
|
|
if (pk4.Nature != n)
|
|
|
|
continue;
|
|
|
|
return seed;
|
2019-02-09 19:37:20 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
}
|
2016-07-28 23:30:48 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private static void SetHatchedEggDetails(PK4 pk4)
|
|
|
|
{
|
|
|
|
pk4.IsEgg = false;
|
|
|
|
// Met Location & Date is modified when transferred to pk5; don't worry about it.
|
|
|
|
pk4.EggMetDate = DateTime.Now;
|
|
|
|
}
|
2018-07-25 14:34:48 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private void SetUnhatchedEggDetails(PK4 pk4)
|
|
|
|
{
|
|
|
|
pk4.IsEgg = true;
|
|
|
|
pk4.IsNicknamed = false;
|
Refactoring: Move Source (Legality) (#3560)
Rewrites a good amount of legality APIs pertaining to:
* Legal moves that can be learned
* Evolution chains & cross-generation paths
* Memory validation with forgotten moves
In generation 8, there are 3 separate contexts an entity can exist in: SW/SH, BD/SP, and LA. Not every entity can cross between them, and not every entity from generation 7 can exist in generation 8 (Gogoat, etc). By creating class models representing the restrictions to cross each boundary, we are able to better track and validate data.
The old implementation of validating moves was greedy: it would iterate for all generations and evolutions, and build a full list of every move that can be learned, storing it on the heap. Now, we check one game group at a time to see if the entity can learn a move that hasn't yet been validated. End result is an algorithm that requires 0 allocation, and a smaller/quicker search space.
The old implementation of storing move parses was inefficient; for each move that was parsed, a new object is created and adjusted depending on the parse. Now, move parse results are `struct` and store the move parse contiguously in memory. End result is faster parsing and 0 memory allocation.
* `PersonalTable` objects have been improved with new API methods to check if a species+form can exist in the game.
* `IEncounterTemplate` objects have been improved to indicate the `EntityContext` they originate in (similar to `Generation`).
* Some APIs have been extended to accept `Span<T>` instead of Array/IEnumerable
2022-08-03 23:15:27 +00:00
|
|
|
pk4.Nickname = SpeciesName.GetEggName(pk4.Language, Generation);
|
2022-06-18 18:04:24 +00:00
|
|
|
pk4.EggMetDate = DateTime.Now;
|
|
|
|
}
|
2018-12-27 09:00:08 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
private static uint GeneratePID(uint seed, PK4 pk4)
|
|
|
|
{
|
|
|
|
do
|
2019-11-28 18:42:24 +00:00
|
|
|
{
|
2022-06-18 18:04:24 +00:00
|
|
|
uint pid1 = (seed = RNG.LCRNG.Next(seed)) >> 16; // low
|
|
|
|
uint pid2 = (seed = RNG.LCRNG.Next(seed)) & 0xFFFF0000; // hi
|
|
|
|
pk4.PID = pid2 | pid1;
|
|
|
|
// sanity check gender for non-genderless PID cases
|
|
|
|
} while (!pk4.IsGenderValid());
|
|
|
|
|
|
|
|
while (pk4.IsShiny) // Call the ARNG to change the PID
|
|
|
|
pk4.PID = RNG.ARNG.Next(pk4.PID);
|
|
|
|
return seed;
|
|
|
|
}
|
2019-11-28 18:42:24 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
public static bool IsRangerManaphy(PKM pk)
|
|
|
|
{
|
|
|
|
var egg = pk.Egg_Location;
|
|
|
|
if (!pk.IsEgg) // Link Trade Egg or Ranger
|
|
|
|
return egg is Locations.LinkTrade4 or Locations.Ranger4;
|
|
|
|
if (egg != Locations.Ranger4)
|
|
|
|
return false;
|
2019-11-28 18:42:24 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
if (pk.Language == (int)LanguageID.Korean) // never korean
|
|
|
|
return false;
|
2019-11-28 18:42:24 +00:00
|
|
|
|
2022-06-18 18:04:24 +00:00
|
|
|
var met = pk.Met_Location;
|
|
|
|
return met is Locations.LinkTrade4 or 0;
|
2016-06-20 04:22:43 +00:00
|
|
|
}
|
2022-06-18 18:04:24 +00:00
|
|
|
|
|
|
|
// Nothing is stored as a PGT besides Ranger Manaphy. Nothing should trigger these.
|
|
|
|
public override bool IsMatchExact(PKM pk, EvoCriteria evo) => false;
|
|
|
|
protected override bool IsMatchDeferred(PKM pk) => false;
|
|
|
|
protected override bool IsMatchPartial(PKM pk) => false;
|
|
|
|
|
|
|
|
public bool RibbonEarth { get => PK.RibbonEarth; set => PK.RibbonEarth = value; }
|
|
|
|
public bool RibbonNational { get => PK.RibbonNational; set => PK.RibbonNational = value; }
|
|
|
|
public bool RibbonCountry { get => PK.RibbonCountry; set => PK.RibbonCountry = value; }
|
|
|
|
public bool RibbonChampionBattle { get => PK.RibbonChampionBattle; set => PK.RibbonChampionBattle = value; }
|
|
|
|
public bool RibbonChampionRegional { get => PK.RibbonChampionRegional; set => PK.RibbonChampionRegional = value; }
|
|
|
|
public bool RibbonChampionNational { get => PK.RibbonChampionNational; set => PK.RibbonChampionNational = value; }
|
|
|
|
public bool RibbonClassic { get => PK.RibbonClassic; set => PK.RibbonClassic = value; }
|
|
|
|
public bool RibbonWishing { get => PK.RibbonWishing; set => PK.RibbonWishing = value; }
|
|
|
|
public bool RibbonPremier { get => PK.RibbonPremier; set => PK.RibbonPremier = value; }
|
|
|
|
public bool RibbonEvent { get => PK.RibbonEvent; set => PK.RibbonEvent = value; }
|
|
|
|
public bool RibbonBirthday { get => PK.RibbonBirthday; set => PK.RibbonBirthday = value; }
|
|
|
|
public bool RibbonSpecial { get => PK.RibbonSpecial; set => PK.RibbonSpecial = value; }
|
|
|
|
public bool RibbonWorld { get => PK.RibbonWorld; set => PK.RibbonWorld = value; }
|
|
|
|
public bool RibbonChampionWorld { get => PK.RibbonChampionWorld; set => PK.RibbonChampionWorld = value; }
|
|
|
|
public bool RibbonSouvenir { get => PK.RibbonSouvenir; set => PK.RibbonSouvenir = value; }
|
2016-06-20 04:22:43 +00:00
|
|
|
}
|