Commit Graph

13 Commits

Author SHA1 Message Date
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00: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
Chomp e596974d07 Cleaned up usings 2025-06-14 16:43:24 +01:00
GrooveypenguinX f4428deccf fixed missing import for customitemservice, added bundle loading sequence in the program.cs (#333)
* Added missing import for reflection /bonk

* Implemented bundles.json loading directly into program.cs

`IsBundleMod` is now read from all loaded mods metadata, and if set to true the bundles.json is read from the mod directory.

* re-assign the sorted valid mods to the loadedMods list

since ValidateMods returns the sortedLoadedMods, this is the list of mods we should be passing to our other spots

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-06-01 15:34:14 +01:00
Chomp 2357fd4a4f Fixed build 2025-06-01 15:29:05 +01:00
GrooveypenguinX 3e9c557a89 Fixed overrideproperties not applying in customitemservice
Swapped out the old method with new logic that sets the properties using reflection, and can also handle fields.

(cherry picked from commit 026c8dec5fa5cffd09de438e43d74e18a480d907)
2025-06-01 14:26:52 +01:00
hulkhan22 320e6adb84 Minor cleanup 2025-05-17 13:04:34 +02:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 69ecde139e Update uasges to use LocalService 2025-04-17 13:21:38 +01:00
Alex c36543bd13 Added ProfileDataService 2025-04-01 12:33:03 +01:00
TetrisGG 86f31fe202 Change Services Comments
Changed comments to XML standard
Added missing comments
Adjusted wording on some comments for clarity.
2025-03-09 13:40:05 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00