Commit Graph
83 Commits
Author SHA1 Message Date
Deukhoofd 0a2ce2d6e4 Add generic LearnedMove in PokemonBuilder. 2020-09-07 18:54:09 +02:00
Deukhoofd c797a4180b Getter for values of actual Pokemon ability. 2020-09-05 14:55:14 +02:00
Deukhoofd ce54b8c2c2 Dont lose references to libraries 2020-09-04 21:01:18 +02:00
Deukhoofd 471c082527 Allow ReadOnlyNativePtrArray to contain nulls when IntPtr is zero. 2020-09-01 12:27:16 +02:00
Deukhoofd 2ba7dbf6a3 Fix wrapper for MiscLibrary ReplacementMove 2020-09-01 12:20:54 +02:00
Deukhoofd a90fb3e481 Support for getting the last turn time. 2020-08-30 13:50:19 +02:00
Deukhoofd ea4c9c6877 Adds more events. 2020-08-25 19:13:15 +02:00
Deukhoofd 2ded1d3ceb Cache pokemon in PokemonParty so they're not garbage collected. 2020-08-25 17:56:57 +02:00
Deukhoofd b1f134c2a1 Clear array passed to PokemonParty to assert dominance and take ownership of it. 2020-08-24 19:52:14 +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 f74f29daef Make it possible to inherit from BattleBuilder. 2020-08-22 16:49:31 +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 01fcbc1935 Update CreatureLib 2020-08-22 15:45:50 +02:00
Deukhoofd ba9333ebb7 Switch to NET Standard 2.0 for Unity 2020-08-22 15:38:10 +02:00
Deukhoofd 2187221a17 Additional support for ExecutingMove 2020-08-22 14:45:13 +02:00
Deukhoofd 59fbe5edaa Wrapper for BattleSide functions. 2020-08-22 14:20:08 +02:00
Deukhoofd 8080e921bc Support for getting a species by ID 2020-08-22 13:33:39 +02:00
Deukhoofd 2c931bd32c Support for Evolution 2020-08-22 13:10:43 +02:00
Deukhoofd 59b4223d18 Grab stacktrace on signal. 2020-08-18 19:26:39 +02:00
Deukhoofd c852824c91 Update libraries 2020-08-17 20:20:55 +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 504bee3bda Support for finding a previous evolution of a Pokemon. 2020-08-11 21:57:02 +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 12ed340643 Adds additional functionality for Pokemon 2020-08-09 11:49:13 +02:00
Deukhoofd a9b0ec0e98 Support getting a nature iterator. 2020-08-09 11:39:41 +02:00
Deukhoofd cae763fdc0 Implements Formes iterator. 2020-08-09 11:01:43 +02:00
Deukhoofd a19c3bdeb4 Adds setters for IVs and EVs. 2020-08-08 18:00:36 +02:00
Deukhoofd 00167ecbb4 Add Friendship 2020-08-08 17:09:01 +02:00
Deukhoofd 69ab7b197c Reworks PokemonBuilder. 2020-08-08 17:07:05 +02:00
Deukhoofd 7f4ccbfe2a Implements all EvolutionData. 2020-08-08 15:37:44 +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 e0f4a38309 Rework constructors to remove the Create pattern. 2020-08-08 13:57:54 +02:00
Deukhoofd 1b025ea3cf Support getting type name. 2020-08-08 13:15:17 +02:00
Deukhoofd 26f8722fee Implements additional functionality for Pokemon class, such as Status and helper function to restore PP. 2020-08-08 12:43:09 +02:00
Deukhoofd 1acd32b986 Make event handler async, while preserving the order of incoming events. 2020-08-07 20:28:38 +02:00
Deukhoofd 90d5c2a16c Implements new events 2020-08-07 12:41:02 +02:00
Deukhoofd b0dea8b6e7 Support for battle event listeners. 2020-08-04 17:32:20 +02:00
Deukhoofd 00c5f51c55 Update to latest CreatureLib, more work on battle tests. 2020-07-31 14:19:21 +02:00
Deukhoofd 283825b355 Initial battle class tests. 2020-07-26 15:40:08 +02:00
Deukhoofd d29aa60010 Initial outline of battle class. 2020-07-26 14:47:56 +02:00
Deukhoofd e2ecec8e7a Support for BattleParty. 2020-07-25 15:44:39 +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 5ad3e2e040 Update to latest PkmnLib 2020-07-08 13:50:51 +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 9bcfdf7791 Rename test to disable warnings. 2020-05-19 14:45:26 +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 4f249de34e Cleanup unused usings 2020-05-19 13:14:49 +02:00
Deukhoofd 2c94f6ab50 Ensure cached pointer wrappers are cleaned up when deleted 2020-05-19 13:14:05 +02:00
Deukhoofd 95a2270ca3 Nature Library, Nature wrapper and tests, cleanup to ensure no duplicate enums are visible outside the library. 2020-05-06 14:40:29 +02:00
Deukhoofd 8845f33d04 Type Library wrapper and tests 2020-05-06 13:32:43 +02:00
Deukhoofd cc66729529 Growth Rate Library wrapper and tests 2020-05-06 12:39:28 +02:00
Deukhoofd 32d07be361 GrowthRate wrappers. 2020-05-05 22:40:17 +02:00
Deukhoofd bf158802d7 Added ItemLibrary Wrapper 2020-05-05 21:40:04 +02:00
Deukhoofd 6491360dbe Added tests for Item wrapper 2020-05-05 20:46:17 +02:00
Deukhoofd 6c0d320656 Item Wrapper 2020-05-04 21:50:14 +02:00
Deukhoofd a8709f2b05 Wrapper for Species and SpeciesLibrary 2020-05-04 21:16:42 +02:00
Deukhoofd f37888554f Support for LibrarySettings. 2020-05-04 18:17:26 +02:00
Deukhoofd 87cd1b0b40 Moved files 2020-05-04 17:54:34 +02:00
Deukhoofd 93c205b81f Throw exception if pointer in PointerWrapper is accessed after dispose 2020-05-04 17:35:53 +02:00
Deukhoofd 0a22959e31 Tests for MoveLibrary 2020-05-04 17:27:30 +02:00
Deukhoofd 0a5a78bc13 Implemented MoveLibrary 2020-05-03 23:34:28 +02:00
Deukhoofd 42ec208425 Cache created wrappers for pointers, so we can resolve them later. 2020-05-03 17:14:07 +02:00
Deukhoofd 1bf2f0ad09 Fixes for CI 2020-05-03 16:32:18 +02:00
Deukhoofd 8f80e92417 ADd missing CI environment variables. 2020-05-03 16:29:53 +02:00
Deukhoofd 8ce1db668e Many fixes 2020-05-03 16:26:14 +02:00
Deukhoofd 640451e6d5 Fixes to ensure compatibility 2020-05-03 11:38:49 +02:00
Deukhoofd d5305b1ac2 Attempt another docker repo 2020-05-03 11:11:14 +02:00
Deukhoofd 1f7bacc81e Support for CI 2020-05-03 11:02:27 +02:00
Deukhoofd 472b8782f3 Include Arbutils 2020-05-03 10:55:28 +02:00
Deukhoofd 6b6ba9a031 Lots of work 2020-05-02 22:58:18 +02:00
Deukhoofd 25d72e14f9 Fixes memory leaks 2020-05-02 20:30:33 +02:00
Deukhoofd 35388de524 Initial commit, implements Forme 2020-05-02 19:54:07 +02:00