Commit Graph

16 Commits

Author SHA1 Message Date
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Archangel 0c3a128862 Throw exception if it happens 2025-06-15 19:14:08 +02:00
Archangel 3419368f53 Add Transformer to Lazyload, get rid of event
This will break mods and their examples!

In addition:
- Removes being able to add custom locales, modders should do .AddTransformer on the LazyLoaded value in the database!
- Fixes up PostDBLoad methods trying to use .Value which won't work as this data will be unloaded after 30 seconds
- Move all other SPT code to use .AddTransformer
2025-06-15 19:08:38 +02:00
Jesse 3d288f3489 Fix up converters to target all assemblies in the AppDomain (#364)
* Fix up converters to target all assemblies in the AppDomain

* Make test more robust

* Make test more robust v2 electric boogaloo
2025-06-06 07:23:26 +01:00
CWX 1b82d0641e change the invariantCulture on factory 2025-06-01 21:35:28 +01:00
Chomp 0690ffc803 Merge pull request #316 from CJ-SPT/json-util-refactor
Json util refactor
2025-05-30 14:52:50 +01:00
Cj f30dda24e3 Json util refactor 2025-05-30 09:10:52 -04:00
Archangel 6f3244362c Make sure value is not null 2025-05-29 23:50:06 +02:00
Jesse d079e86fcb Add OnLazyLoad event so modders can modify LazyLoaded data (#297)
* Add OnLazyLoad event so modders can modify LazyLoaded data

* Remove whitespace
2025-05-29 11:05:41 +01:00
CWX 30231964db Add culture Conversion with string to number converter, fixes strings with numbers and commas 2025-05-28 18:54:07 +01:00
clodanSPT 13f9fc1093 Added an option for modders to add their own Data handlers for ItemEv… (#241)
* Added an option for modders to add their own Data handlers for ItemEventRouter handling serialization

* Made return type for func nullable

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-06 19:08:26 +01:00
Chomp 2ea6128815 Improved how ConvertToCorrectType handles /moving actions
Reduced number of times JSON is parsed into an object
2025-05-04 23:09:13 +01:00
hulkhan22 38f561b85d DogtagSide 2025-04-26 21:37:08 +02:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
Chomp 42983bf92c Updated Write handling of null checks, now takes into account structs 2025-03-08 10:08:55 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00