Commit graph

137 commits

Author SHA1 Message Date
Daniel Cronqvist
40106b5472 Add different PR templates to make sure no release work is missed, and dev PRs are actually filled with useful information 2024-09-07 21:39:48 +02:00
Daniel Cronqvist
914a667c35 Add version compatibility matrix to docs 2024-09-07 21:21:16 +02:00
Daniel Cronqvist
373cdc991e Fix maintained status in NuGet README 2024-09-07 20:55:05 +02:00
dcronqvist
7f22f868e8
Merge pull request #28 from dcronqvist/map-custom-types
Add custom types generation and mapping API
2024-09-07 20:49:31 +02:00
Daniel Cronqvist
b3be5c3735 Add docs on how to map properties to classes 2024-09-07 18:44:46 +02:00
Daniel Cronqvist
9b665efe18 Add more tests to Loader for custom types 2024-09-07 15:54:51 +02:00
Daniel Cronqvist
e0252d263e Added test that creates class definition from C# class and uses to load map 2024-09-07 15:47:59 +02:00
Daniel Cronqvist
d23eec4433 Move test data and current tests into UnitTests 2024-09-07 13:23:32 +02:00
Daniel Cronqvist
0a77a9fec7 Add FromEnum to CustomEnumDefinition with tests 2024-09-07 13:16:29 +02:00
Daniel Cronqvist
58b0ad3493 Make use of generic type parameter in generic methods 2024-09-07 13:03:27 +02:00
Daniel Cronqvist
64f66421c2 Add tests for FromClass for CustomClassDefinition 2024-09-07 12:59:59 +02:00
Daniel Cronqvist
762e610904 Make sure to only embed map, tileset and template files in tests binary 2024-09-07 12:49:10 +02:00
Daniel Cronqvist
84b55fe005 Added some new FromClass methods to construct custom class definitions, tests not done 2024-09-05 22:25:13 +02:00
Daniel Cronqvist
e285f97825 Add some more tests to HasPropertiesBase 2024-09-05 21:15:39 +02:00
Daniel Cronqvist
53907b9c36 Add overload to MapPropertiesTo with supplied factory method 2024-09-05 21:02:34 +02:00
Daniel Cronqvist
612b5cdb33 Rename tests 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
4e273cd521 Remove unecessary duplicate of API 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
ce3d4e339c Rename parts of the property mapping API and simplify 2024-09-05 20:53:17 +02:00
Daniel Cronqvist
fda0922dcc Initial working concept of mapping properties to C# classes using reflection 2024-09-05 20:53:15 +02:00
dcronqvist
be71a1af85
Merge pull request #27 from dcronqvist/tiledcsplus-readme
TiledCSPlus README update
2024-09-05 20:49:48 +02:00
Daniel Cronqvist
f497968c8a Update TiledCSPlus maintained status 2024-09-05 20:48:02 +02:00
dcronqvist
2b05ab9a72
Merge pull request #26 from dcronqvist/resolve-class
Resolve properties from specified classes
2024-09-05 20:46:28 +02:00
Daniel Cronqvist
99fb910336 Affected parts of model should now inherit properties from their specified class 2024-09-05 20:43:12 +02:00
Daniel Cronqvist
ffc529ecb6 Now able to override properties from class in Map 2024-09-04 22:24:40 +02:00
Daniel Cronqvist
0ad1347bc1 Map now resolves props from class 2024-09-04 22:11:45 +02:00
dcronqvist
fef01eb41d
Merge pull request #25 from dcronqvist/nuget-fixes
NuGet fixes
2024-09-04 21:41:20 +02:00
Daniel Cronqvist
77a47856e2 Updated NuGet README to not have ugly formatting 2024-09-04 21:39:32 +02:00
Daniel Cronqvist
9abda9e244 Fix strange keywords 2024-09-04 21:35:19 +02:00
dcronqvist
4034e68cf3
Merge pull request #24 from dcronqvist/common-readers
Create easy-to-use Loader class with reader and cache
2024-09-04 21:33:07 +02:00
Daniel Cronqvist
b06bbd27c8 Made makefile use proper dependency for docs index.md 2024-09-04 21:31:07 +02:00
Daniel Cronqvist
8fd43d95aa Updated docs a bit 2024-09-04 21:27:18 +02:00
Daniel Cronqvist
247f9294af Simplified loader a bit and added more docs 2024-09-03 22:52:26 +02:00
Daniel Cronqvist
738a9fc5a8 Add docs to quickstart 2024-09-02 23:58:25 +02:00
Daniel Cronqvist
01bb3d4f23 Add better default loader creation 2024-09-02 21:14:56 +02:00
Daniel Cronqvist
9133f8887c Add loader to make it easier to start using library 2024-09-02 21:11:31 +02:00
dcronqvist
97307ccba2
Merge pull request #23 from dcronqvist/tiledlib-release 2024-09-02 17:53:09 +02:00
Daniel Cronqvist
fee686b348 Update TiledLib .NET targets since their latest release 2024-09-02 17:50:08 +02:00
dcronqvist
60e4adadb1
Merge pull request #22 from dcronqvist/optional
Use Optional<T> in model for explicit optionality for some properties
2024-09-02 17:39:28 +02:00
Daniel Cronqvist
3b6c5f8111 Remove nullables 2024-09-02 17:33:11 +02:00
Daniel Cronqvist
3185e038c0 Update docs on representation model 2024-09-02 17:30:12 +02:00
Daniel Cronqvist
df075eed8d Use proper list assertion and add optional to some Data properties 2024-09-01 22:09:03 +02:00
Daniel Cronqvist
4fd887e7c8 Further optional improvements, Tmj now supports it too 2024-09-01 22:03:05 +02:00
Daniel Cronqvist
88a5eadb74 Model now uses Optional correctly, I think, massive changes 2024-09-01 20:44:36 +02:00
dcronqvist
39d2838663
Merge pull request #21 from dcronqvist/objlayer-visibility
Fix incorrect type for visibility in layers
2024-08-31 17:09:14 +02:00
Daniel Cronqvist
4695a4f739 Fix incorrect type for visibility in layers 2024-08-31 17:07:50 +02:00
Daniel Cronqvist
ac073d689d Set version to 0.1.0 for initial release of functionality 2024-08-30 20:25:24 +02:00
dcronqvist
398200c586
Merge pull request #19 from dcronqvist/remove-model
Remove .Model namespace as it is unnecessary
2024-08-30 20:13:31 +02:00
Daniel Cronqvist
d85494e7a9 Remove .Model namespace as it is unnecessary 2024-08-30 20:11:33 +02:00
dcronqvist
8a1da18dfd
Merge pull request #18 from dcronqvist/more-docs
Update README
2024-08-30 19:52:18 +02:00
Daniel Cronqvist
3ea0e6ca13 Update README 2024-08-30 19:48:24 +02:00