mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-11 21:22:41 +00:00
c301ce88ab
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 |
||
---|---|---|
.. | ||
BoxLayout6.cs | ||
Fashion6XY.cs | ||
GameTime6.cs | ||
IGymTeamInfo.cs | ||
IPokePuff.cs | ||
ItemInfo6.cs | ||
Misc6AO.cs | ||
Misc6XY.cs | ||
MyItem6AO.cs | ||
MyItem6XY.cs | ||
MyStatus6.cs | ||
MyStatus6XY.cs | ||
MysteryBlock6.cs | ||
PlayTime6.cs | ||
PSS6.cs | ||
Puff6.cs | ||
RecordBlock6.cs | ||
SangoInfoBlock.cs | ||
SecretBase6.cs | ||
Situation6.cs | ||
SubEventLog6.cs | ||
SuperTrainBlock.cs | ||
TrainerFashion6.cs | ||
TrainerSprite6.cs |