Commit Graph

31 Commits

Author SHA1 Message Date
Chomp 735b5956e6 Fixed BTR drive service issues #580 2025-08-30 16:55:04 +01:00
Chomp 0df0d95363 First pass at rest area hideout changes 2025-08-23 21:02:24 +01:00
Archangel 8a4f2a297b Remove loot cloners and make LazyLoad return a new result each request 2025-08-06 15:33:11 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp ef50c3fea1 Condensed code with use of ?? 2025-07-25 20:15:52 +01:00
Archangel a2ddd7ae17 Converter fixes
- Various nullability warnings removed
- Made CanConvert on a few of them a bit more strict
2025-07-25 16:28:22 +02:00
Alex 545edfd25f Removed unnecessary annotation 2025-07-23 21:47:20 +01:00
Alex 723f6fc638 Removed check for Enum converter and removed unnecesary converters 2025-07-23 21:32:49 +01:00
sp-tarkov-bot 1edc4d101a .NET Format Style Fixes 2025-07-23 09:51:58 +00:00
Alex 29be94462f Removed enum reflection method in favor of factory approach 2025-07-23 10:49:34 +01:00
clodanSPT 1af50bfd34 Application cleanup (#485)
* Changed application to use background services and removed hacky http server startup

* Small improvements and method removals

* Removed Core dependency on Web application SDK

* Fixed wrong imported type

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-18 16:21:24 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Archangel eeddb97641 Remove extra method on Func, add options to converters 2025-07-04 22:25:39 +02:00
Jesse d3cd4359fa Mongo fixes (#444)
* Pass Json serializer options to all converters

* Fix required on record that has two sets of id's

* Pass options to mod handlers

* Update method
2025-07-03 20:24:05 +01:00
Jesse 6ac747d18d Begin converting some id's to MongoId (#435)
* Begin converting some id's to MongoId

* Remove nullability on MongoId's

* Update trader MongoId's
2025-06-30 15:25:47 +01:00
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