SwiftXP
964aad016b
Little code refactorings.
2025-11-10 23:36:36 +01:00
SwiftXP
14a4a3ba53
Only integers were used for the calculation for keys, which meant that only 1 or 0 could be the result. At least one value must be a double for the calculation to result in a double.
2025-11-10 22:41:53 +01:00
Chomp
5f20768f4e
Early exit GetItemQualityModifier when item Upd object is null
2025-11-04 09:43:30 +00:00
Chomp
508e7f44b0
Removed unused methods
2025-09-08 19:30:10 +01:00
Archangel
7e2e3db3fd
Change property naming to be more consistent ( #578 )
2025-08-28 15:32:02 +02:00
Cj
726e4fccd5
Fix doc, remove unused using
2025-08-13 03:49:38 -04:00
Cj
21e075af2f
ItemHelper warning fixes ( #546 )
...
* - ItemHelper warning fixes
- Fix Fast panel id replacement
- Disable resharper enumeration highlighting
* Use suggestion
2025-08-13 08:28:06 +01:00
Cj
e54dcbd4d1
Fix more warnings... ( #543 )
...
* Fix more warnings...
* Fix mistake
2025-08-12 15:28:54 +00:00
Chomp
982878cd95
Removed unused helper method
2025-08-10 12:17:05 +01:00
Cj
4b02b6de7d
Fix most warnings inside ItemHelper.cs
2025-08-10 00:09:44 -04:00
Lacyway
d468848b0c
Improve MongoIds ( #537 )
...
* Mongoid improvements pt1
* Format Style Fixes
* Fix incorrect string
* Fix != comparison
---------
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com >
2025-08-09 11:50:49 +01:00
Chomp
dea94255e4
Bot generation performance improvements
...
Trader assort generation performance improvements
Removed use of recursion inside `FindAndReturnChildrenByAssort`
Created extension method `CreateParentIdLookupCache`
2025-08-08 12:33:31 +01:00
Chomp
57dde61384
Various code quality improvements
2025-08-06 12:28:56 +01:00
Chomp
83408c76fc
Reduced complexity of GetCompatibleTplFromArray()
...
Flagged ItemHelper as singleton due to number of frozensets
2025-08-05 23:55:13 +01:00
Chomp
ec2cc78b2a
Inventory code cleanup
2025-08-05 23:48:10 +01:00
Chomp
02b80888ec
Improved dictionary access inside GetItemName to prevent issues where now-removed modded items are checked
2025-08-05 16:27:35 +01:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +00:00
Chomp
623fce1484
Added id generation for BaseClasses, updated references
2025-07-27 17:40:27 +01:00
Chomp
5cfb1421c7
Removed unnecessary ??
2025-07-25 20:13:50 +01:00
Chomp
b1aa8f0942
Removed unnecessary ??
2025-07-25 20:09:07 +01:00
Chomp
834666a403
Created overload of ItemHasBaseClass that accepts one base type input, faster for 70% of use cases
2025-07-25 17:22:59 +01:00
Chomp
2c5420f3db
list to ienumerable
2025-07-24 16:05:14 +01:00
Chomp
f562c634a7
Converted lists to hashsets where appropriate
...
Removed unnecessary uses of ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp
10ad2dfe9a
list to ienumerable changes
2025-07-23 22:07:56 +01:00
Chomp
a1e0dadd08
Part 2 of list to ienumerable
2025-07-23 15:55:28 +01:00
Chomp
1320f7d0ab
Ienumerable changes
2025-07-23 13:06:48 +01:00
Chomp
db34eaa501
Updated various methods to accept IEnumerable instead of List
2025-07-23 10:57:49 +01:00
Chomp
731b79519f
Rename method to GetItemWithChildren
2025-07-22 20:43:08 +01:00
Chomp
096ec842ba
Created overload of IsValidItem
2025-07-19 14:06:49 +01:00
Chomp
fe7498c32d
Reduced boxing inside FindAndReturnChildrenByAssort
2025-07-19 13:22:59 +01:00
Chomp
38fb2454c7
Various micro-optimisations
2025-07-18 16:05:29 +01:00
Chomp
b94d625362
string to mongoId + Various small refactors
2025-07-16 21:29:35 +01:00
Chomp
2639504471
String to MongoId conversions
...
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
Chomp
5ef2271a29
Converted collections to their frozen counterparts for improved lookup speed
2025-07-14 19:56:20 +01:00
Chomp
7bda1b525f
Updated acceptableFileExtensions to be a frozenSet
...
Removed more boxing
2025-07-07 13:31:39 +01:00
Cj
3817d6cca4
Helpers Mongoid conversion + cleanup ( #458 )
...
* Start converting helper method ids to mongoids and remove underscore from injections...
* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Cj
edb1f8a6fc
alphabetical order, rename var
2025-07-06 08:52:16 -04:00
Cj
14d2c53ba1
clean up FindBarterItems, remove underscore from injections, add locale for warning
2025-07-06 08:33:44 -04:00
Cj
d1af6bf6e3
Service sessionIDs to mongoIDs ( #454 )
...
* Start updating service sessionIDs to mongoIDs
* Finish service conversion + fix other small issues
2025-07-06 13:08:07 +01:00
Chomp
fa674d6add
Converted RemapRootItemId into extension method
2025-07-05 17:46:58 +01:00
Chomp
f140e1e106
Converted ReplaceIDs into extension method
2025-07-05 17:25:59 +01:00
Chomp
4f5571c2d4
Converted more ids to MongoId
2025-07-05 12:35:03 +01:00
Chomp
8253215410
Converted strings into MongoId type
2025-07-05 11:03:09 +01:00
Chomp
908635e272
Correctly init 2d array
2025-07-04 10:41:24 +01:00
Chomp
c8b8669546
Cleaned up Inventory helper and improved readability
2025-07-04 09:23:41 +01:00
chompDev
973ea857f9
.NET Format Style Fixes
2025-07-03 22:06:04 +00:00
Archangel
79489eadce
Handle ToLower neutrally across all locales ( #412 )
2025-07-03 18:28:36 +02:00
Chomp
4e2d4dc708
Rewrote container item space system to use 2 dimensional arrays ( #442 )
...
* Rewrote container item space system to use 2 dimensional arrays
* Moved container helper code into extension methods
* Reduced amount of parameters passed into `RowIsFull`
* Skip root trader items
* Remove debug
---------
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-07-03 16:36:13 +01:00
Jesse
ebe8f9ded5
Mongoid changes ( #440 )
...
* Remove old IsValidMongoId and Regex
* Convert more configs to MongoId, as well as BaseClasses
* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
Chomp
82f555a754
Added MongoId type to various places
2025-07-03 10:04:09 +01:00