PKHeX/PKHeX.Core/Legality/RNG
Kurt c301ce88ab Update Random to be a bit more thread safe
Random isn't thread safe; users of PKHeX.Core.dll might run multithreaded operations (see PKSM + ALM), so we need to have a thread-specific RNG available.

Thread Local get; to improve performance, save the random object locally whenever it is used more than once in the method.

https://docs.microsoft.com/en-us/dotnet/api/system.threading.threadlocal-1?redirectedfrom=MSDN&view=netframework-4.8
https://stackoverflow.com/questions/18333885/threadstatic-v-s-threadlocalt-is-generic-better-than-attribute/18337158#18337158
2020-01-25 21:49:52 -08:00
..
Frame Use enum for species comparisons 2019-12-08 17:39:19 -08:00
Locks Use enum for species comparisons 2019-12-08 17:39:19 -08:00
MethodFinder.cs Use enum for species comparisons 2019-12-08 17:39:19 -08:00
PIDGenerator.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
PIDIV.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
PIDType.cs Add recognition for Method 3 encounters 2019-06-19 19:15:06 -07:00
PIDTypeInfo.cs Add recognition for Method 3 encounters 2019-06-19 19:15:06 -07:00
RaidRNG.cs Verify full raid result with known seed 2020-01-23 00:11:07 -08:00
RNG.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
Xoroshiro128Plus.cs Verify full raid result with known seed 2020-01-23 00:11:07 -08:00