Commit Graph

12 Commits

Author SHA1 Message Date
Chomp 01570a1621 Improved locking inside RagfairRequiredItemsService
Comment and name improvements
2025-09-08 10:58:08 +01:00
Chomp c87bace62c Made RagfairRequiredItemsService cache generate on use instead of every Update() 2025-08-17 16:28:58 +01:00
Chomp 3f0d68dbf6 Minor refresh of RagfairRequiredItemsService
Adding a new set + lookup is now atomic
Returns a readonly set, caller shouldn't be able to ever modify this data
Removed memory allocation when calling `GetRequiredOffersById` with a tpl that doesn't have any offerIds
2025-08-17 15:47:03 +01:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Cj 448c258600 update mongoIds, remove underscores from injections in generators (#460) 2025-07-07 09:46:51 +01:00
Chomp 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp b69544ae2c Added lock to GetStaleOfferIds
Made `RagfairRequiredItemService` a singleton
Made `RagfairRequiredItemService ` store offerIds instead of offer objects, reducing memory footprint
Reworked `GetOffersThatRequireItem` to work with `RagfairRequiredItemService` changes
Moved `GenerateDynamicOffers` to run after garbage colelction, this means GC will work on memory prior to new offers being added but after stale offers are removed

Made `PaymentHelper` a singleton + Store currency tpls in a hashset instead of list

Comment improvements
2025-06-16 14:46:37 +01:00
Chomp 972dd997fc Fixed null being thrown when searching for an item that has no offers requiring it 2025-05-28 18:25:14 +01: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
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00