Пример #1
0
 public void SetPokedexPerfect(PokedexType8a which) => GlobalData.Flags   |= (uint)((which < PokedexType8a.Count ? (1 << (int)which) : 1) << 6);
Пример #2
0
 public bool IsPokedexPerfect(PokedexType8a which) => (GlobalData.Flags & ((which < PokedexType8a.Count ? (1 << (int)which) : 1) << 6)) != 0;
Пример #3
0
 public void SetPokedexCompleted(PokedexType8a which) => GlobalData.Flags |= (uint)(which < PokedexType8a.Count ? (1 << (int)which) : 1);
Пример #4
0
 public bool IsPokedexCompleted(PokedexType8a which) => (GlobalData.Flags & (which < PokedexType8a.Count ? (1 << (int)which) : 1)) != 0;