Commit Graph

38 Commits

Author SHA1 Message Date
Deukhoofd 382cbf2673
Update to latest version of pkmnLib. 2021-11-27 11:27:19 +01:00
Deukhoofd e1dadddf06
Fixes exception not showing c++ stacktrace in some cases. 2021-04-30 13:53:41 +02:00
Deukhoofd 3cb243175c
Fixes assert not throwing exceptions for PkmnLibAI, now always throws exceptions if non-zero response. 2021-04-30 13:53:16 +02:00
Deukhoofd ced4524737
Fixes ReadOnlyNativePtrArray.IndexOf returning invalid index. 2021-03-13 14:43:17 +01:00
Deukhoofd cbe5747d04
Fixes issue where getting battle from a pokemon could result in battle being in a deleted state. 2021-01-31 12:53:35 +01:00
Deukhoofd 9f30f411cc
Adds ChangeStatBoostEvent, fixes issue where ExecutingMove would create default LearnedMove, instead of potential inheritor. 2021-01-31 12:48:02 +01:00
Deukhoofd d38338ddc3
Lock cache while using it in ReadOnlyNativeArray 2021-01-16 19:50:43 +01:00
Deukhoofd d5bbc18b1a
Fixes for scopedowner. 2021-01-16 14:48:07 +01:00
Deukhoofd 7807ee9676
Adds ScopedOwner class, that disposes owned values when garbage collected. 2021-01-15 16:53:32 +01:00
Deukhoofd 8d5f7f318f
Updates to latest pkmnlib, fixes issues. 2020-12-23 12:27:58 +01:00
Deukhoofd 471c082527
Allow ReadOnlyNativePtrArray to contain nulls when IntPtr is zero. 2020-09-01 12:27:16 +02:00
Deukhoofd 8a7872cf3a
Fixed issue where .ArrayPtr() would not give the pointer to the desired array, and instead returned a pointer to an array of C# objects. 2020-08-24 19:08:51 +02:00
Deukhoofd 2c5f35c640
Use Constructor class in PointerArray 2020-08-24 18:33:04 +02:00
Deukhoofd a2cf693bbd
Fixed bug with libraries returning some values twice in GetEnumerator, move more over to Constructor class. 2020-08-22 16:42:56 +02:00
Deukhoofd 59a5ddf5da
Move constructing from pointer to Constructor class to easily handle inheritance. 2020-08-22 16:26:14 +02:00
Deukhoofd 59b4223d18
Grab stacktrace on signal. 2020-08-18 19:26:39 +02:00
Deukhoofd 743c63a99c
Several fixes and improvements. 2020-08-17 18:51:07 +02:00
Deukhoofd 00cfd3c469
Cleanup for EventData. 2020-08-14 16:15:19 +02:00
Deukhoofd e08be5c013
Implements more functionality. 2020-08-11 21:48:41 +02:00
Deukhoofd e4f8e46102
Additional functionality. 2020-08-10 19:13:17 +02:00
Deukhoofd 69ab7b197c
Reworks PokemonBuilder. 2020-08-08 17:07:05 +02:00
Deukhoofd cecb1e9a83
Remove public empty constructors for pointer arrays, implements basic evolutions. 2020-08-08 15:24:14 +02:00
Deukhoofd 01e622c22c
Use fancy C# 8 Nullable Reference pattern. 2020-08-08 14:32:27 +02:00
Deukhoofd 00c5f51c55
Update to latest CreatureLib, more work on battle tests. 2020-07-31 14:19:21 +02:00
Deukhoofd d01e6a8df7
Support for PokemonParty. 2020-07-25 15:23:01 +02:00
Deukhoofd e4a515e11a
Finished outlining Pokemon class. 2020-07-25 14:03:05 +02:00
Deukhoofd 34c64d6b68
Adds new NativePtrArray class to deal with native arrays easier. 2020-07-25 12:52:18 +02:00
Deukhoofd 4d74dcc263
More work on Pokemon class wrapping. 2020-07-24 10:57:18 +02:00
Deukhoofd c143235495
Support for Pokemon building. 2020-07-19 12:33:22 +02:00
Deukhoofd 049eb480c0
Initial work on battle side. 2020-07-18 16:49:11 +02:00
Deukhoofd eb99fc5661
Ensure pointers aren't used anymore when their parents are being deleted and they should be deleted themselves. 2020-05-20 14:47:17 +02:00
Deukhoofd 0dbc800e38
Better handling of PokemonLibrary that requires less reflection (but is slightly more verbose) 2020-05-19 14:34:20 +02:00
Deukhoofd 61b5bd710e
Implements PokemonLibrary 2020-05-19 14:25:21 +02:00
Deukhoofd 2c94f6ab50
Ensure cached pointer wrappers are cleaned up when deleted 2020-05-19 13:14:05 +02:00
Deukhoofd cc66729529
Growth Rate Library wrapper and tests 2020-05-06 12:39:28 +02:00
Deukhoofd 87cd1b0b40
Moved files 2020-05-04 17:54:34 +02:00
Deukhoofd 640451e6d5
Fixes to ensure compatibility 2020-05-03 11:38:49 +02:00
Deukhoofd 6b6ba9a031
Lots of work 2020-05-02 22:58:18 +02:00