Kurt
|
ce5897ff94
|
Move version value from Slot to Area to reduce member size & value passing
Restrict some setters to protected only
|
2020-08-30 11:08:21 -07:00 |
|
Kurt
|
6970c3a5fb
|
Remove IVersion.set property, as separate interface
I don't want people to mutate IEncounterable.Version; it's only intended to be set on-load
|
2020-05-19 21:46:05 -07:00 |
|
Kurt
|
301350d32b
|
Make IEncounterable expose IVersion get
|
2020-05-19 21:07:30 -07:00 |
|
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 |
|
Kurt
|
1486b7f14a
|
Misc style & minor tweaks
Remove move combobox flicker hack (no longer necessary)
Add more Array.Empty usages
cache mysterygift sizes
seal some classes
no functionality changes
|
2018-08-02 20:11:42 -07:00 |
|
Kurt
|
5a3c8f4147
|
Remove trailing whitespace
|
2018-05-12 08:41:29 -07:00 |
|
Kurt
|
a89c0c3312
|
Rename egg game->version
add more gameversions (soon)
|
2018-03-30 21:37:01 -07:00 |
|
Kurt
|
b38abc22e2
|
Refactoring
add IVersion interface with common interactions
|
2018-03-30 16:31:40 -07:00 |
|