Commit graph

13 commits

Author SHA1 Message Date
Haselnussbomber
0bb87d87b7
Add AutoTranslatePayload re-encode test 2025-09-21 02:18:55 +02:00
goat
7e397bef17 actually just move the language types, don't use the one from the common assembly 2024-06-29 01:26:29 +02:00
goat
b212b4e00a Revert "api10 todo: only use ClientLanguage from Dalamud.Common, move ToLumina() extension into Dalamud.Util"
This reverts commit 2e731b1eab.
2024-06-29 01:23:29 +02:00
goat
2e731b1eab api10 todo: only use ClientLanguage from Dalamud.Common, move ToLumina() extension into Dalamud.Util 2024-06-29 00:29:51 +02:00
Kara
d393fa64b6
Add tests for GameVersionConverter and fix edge case (#1726)
- Adds tests for GameVersionConverter
- Refactors GameVersionConverter to reduce nesting
- Fixes an edge case in GameVersion deserialization in which the JsonConstructor will be invoked even if no properties match
- Adds a test for the GameVersion deserialization edge case
2024-03-18 20:12:34 -07:00
karashiiro
66a04cb45d Fix edge case in GameVersion and refactor
- Test coverage has been added for the entire class, and verbose/redundant code has been refactored
- Fixes JSON serialization: JsonConstructor requires that the ctor parameters match fields/properties of the target class.
Previously, this meant that the JSON constructor would always throw an ArgumentNullException, as `Input` was not a class property.
2024-03-13 21:40:25 -07:00
goat
f44c6794e7
chore: tidy-up, move files shared between dalamud and injector into separate assembly 2023-09-30 16:11:52 +02:00
karashiiro
387a820392
Fix SeString serialization/deserialization (#840)
* chore: add SeString JSON conversion test

* fix: SeString JSON serialization

* chore: add SeString JSON deserialization test

* chore: rename tests to abstract format away

* chore: fix typos

* fix: deserializable SeStrings

* chore: add comment to test

* chore: use DeserializeConfig in Load
2022-05-13 22:07:51 +02:00
goat
ca201e1a14
refactor: obsolete SeStringManager, move into SeString 2021-08-28 19:02:18 +02:00
Raymond
ff1d7f2829 Implement service locator 2021-08-21 14:03:06 -04:00
goat
4c159d606a
feat: add test for NewLinePayload 2021-07-15 23:30:25 +02:00
Raymond Lynch
658eedca37 Magic the magic happen 2021-07-11 16:32:32 -04:00
goat
3decb57b2c refactor: Dalamud.Game.Chat => Dalamud.Game.Text, move Sanitizer 2021-04-04 21:54:24 +02:00