Commit graph

136 commits

Author SHA1 Message Date
Kaz Wolfe
2f9363b9cc
chore: clean up lumina obsoletes and warnings 2025-08-04 23:24:37 -07:00
Haselnussbomber
094fcc86d4
Add support for SheetSub payload (#2283) 2025-08-04 23:12:18 -07:00
Asriel
d6aa6b8b64
[API 13] Add Lumina.Excel as submodule (#2332)
* WIP on excel-submodule

* Add Lumina.Excel to build

* Fix sheet changes
2025-08-04 23:11:59 -07:00
Haselnussbomber
63e7cb25b5
[Api13] Update ChatLinkHandler functions (#2322)
* Update ChatLinkHandler functions

- Move functions to IChatGui
- Switch CommandId to type Guid and generate them automatically

* Remove unused field
2025-08-03 18:07:21 -07:00
Haselnussbomber
ff934d981c
Remove Experimental from ISeStringEvaluator (#2327) 2025-08-03 17:44:16 -07:00
Haselnussbomber
b425ee0a2a
Move ItemKind to Dalamud.Utility (#2324) 2025-07-26 12:51:20 -07:00
Haselnussbomber
e20f132abe
Add ISeStringEvaluator.EvaluateMacroString (#2281) 2025-05-29 19:38:10 +02:00
Haselnussbomber
3f3a1f2be1
Add support for sheet payload links (#2282)
* Fix "Print Evaluated" not evaluating with context

* Add support for sheet payload links
2025-05-29 19:37:48 +02:00
goaaats
731d7e0f6e Un-whether-or-not the codebase 2025-04-25 22:49:05 +02:00
Haselnussbomber
ce49b0d51f
SeStringEvaluator: fallback to games ClientLanguage (#2261) 2025-04-25 20:59:44 +02:00
Haselnussbomber
61a17dac28
SeString Creator and Evaluator fixes (#2250)
* Fix SeString Creator example

* SeStringEvaluator: Don't print auto translation brackets for categories

* SeStringEvaluator: Fix map id mask

MapId is a ushort, not a byte.
2025-04-21 14:02:26 +02:00
goaaats
2f0c57d5ad Reassign leftover Api12ToDo to Api13ToDo 2025-04-15 19:12:07 +02:00
Haselnussbomber
bc18198435
Fix kilo macro not having thousands separators (#2237) 2025-04-09 22:13:27 +02:00
Haselnussbomber
499952b3d2
SeStringEvaluator: Fix HeadAll not capitalizing correctly (#2240)
* Fix obsoletes

* Fix HeadAll not capitalizing correctly

* Fix incorrect denoun cases in SeString Creator

* Implement Utf8String.ToUpper in C#

* Handle characters with accents too

* Add remarks to ToUpper functions
2025-04-09 22:13:11 +02:00
Haselnussbomber
f96e2ae37c
Fix reading world name for PcName (#2235) 2025-04-06 21:36:26 +00:00
Caraxi
46ed621761
Add BitmapFontIcons from 7.2 (#2212) 2025-03-26 23:20:37 +00:00
Haselnussbomber
2f029567e4
Fixing colors and NounResolver (#2208)
* Fixing colors and NounResolver

* Remove failing special case NounProcessor selftest
2025-03-25 17:32:24 -07:00
Haselnussbomber
fe5ce40a97
Fix ISeStringEvaluator service not resolving (#2204) 2025-03-25 09:38:21 -07:00
Kaz Wolfe
c5af536032
docs: Explain what the UI*Payloads actually are. 2025-03-25 09:35:21 -07:00
Kaz Wolfe
67561af32f
fix: Lumina updates 2025-03-25 09:28:57 -07:00
Kaz Wolfe
a7509ef77d
feat: More utilities!
- Also document that CStringExtensions only works with bundled CS.
2025-03-24 18:16:39 -07:00
Kaz Wolfe
2176b32219
chore: Bump ClientStructs and make it build again 2025-03-24 13:25:13 -07:00
goaaats
f209ac087a SeStringEvaluator: Throw if not on main thread 2025-03-24 20:24:34 +01:00
goaaats
c0c61c66be Fix warnings 2025-03-24 19:21:04 +01:00
Haselnussbomber
fdbfdbb2cd
Add SeStringEvaluator service (#2188)
* Add SeStringEvaluator service

* Move DrawCopyableText into WidgetUtil

* Use Icon2RemapTable in SeStringRenderer

* Beautify some code

* Make sure to use the correct language

* Add SeString Creator widget

* Fix getting local parameters

* Update expressionNames

* misc changes

* Use InvariantCulture in TryResolveSheet

* Add SeStringEvaluatorAgingStep

* Fix item id comparisons

* Add SheetRedirectResolverAgingStep

* Add NounProcessorAgingStep

* Update SeString.CreateItemLink

This also adds the internal ItemUtil class.

* Fix name of SeStringCreator widget

* Add Global Parameters tab to SeStringCreatorWidget

* Load widgets on demand

* Update SeStringCreatorWidget

* Resizable SeStringCreatorWidget panels

* Update GamepadStateAgingStep

* Experimental status was removed in #2144

* Update SheetRedirectResolver, rewrite Noun params

* Fixes for 4 am code

* Remove incorrect column offset

I have no idea how that happened.

* Draw names of linked things

---------

Co-authored-by: Soreepeong <3614868+Soreepeong@users.noreply.github.com>
Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2025-03-24 09:00:27 -07:00
goat
2e2feb144f fix some warnings 2024-12-26 14:11:14 +01:00
Haselnussbomber
3ccd93aaf1
Return nullable on XivChatType.GetDetails (#2143) 2024-12-17 15:56:55 +00:00
srkizer
d19b7d70d5
Move UtfEnumerator from Dalamud to Lumina (#2111)
* Move UtfEnumerator from Dalamud to Lumina

Comes with some trivial cleanups.

* Update Lumina to 5.5.0
2024-11-20 09:32:49 -08:00
Infi
3a3d6b6e6a
Implement Print methods that work with Lumina SeString/ReadOnlySeString (#2106)
* Implement Print methods that work with Lumina SeString/ReadOnlySeString

* null terminate before passing to Utf8String

* Rename XivChatEntryReadOnly to XivChatEntryRaw

* Fix error from wrong conversion method

* Follow Rider suggestion

* Switch from AppendMacroString to BeginMacro for optimization

* More optimization suggested by kizer

* More kizer suggested optimizations

* Fix small mistake

* Use XivChatEntry and read/write to Byte fields accordingly
2024-11-19 02:05:28 +00:00
Infi
2f50276738
Switch PlayerPayload Encode/Decode to using Lumina (#2107)
* Switch PlayerPayload Encode/Decode to using Lumina
- This also fixes a bug that PlayerPayload would encode worldIds as byte (they are ushort)

* Remove comment
2024-11-18 17:29:53 -08:00
nebel
abcb99d4ec
Add support for boxed outlined numbers in SeIconChar (#2088) 2024-11-16 00:34:49 +00:00
KazWolfe
67e6bcac61
fix: XivChatType respects the configured chat channel if not set (#2001) 2024-11-12 08:23:22 -08:00
Asriel Camora
0b9af0e3f4
Update to Lumina 5 (new Excel parsing) (#2022)
* Refactor and upgrade to new excel design

* Obsolete ExcelResolver<T> and use only RowRef<T>

* Better benchmarking for Lumina

* Add custom game-supported RSV provider

* Refactor and move Lazy<T> and nullable/cached row objects to RowRefs

* Convert IRSVProvider to delegate, resolve strings by default

* Split IExcelRow into IExcelSubrow

* Extra lumina documentation

* Minor RSV CS fixes

* Fix UIGlowPayload warning

* Fix rebase

* Update to Lumina 5
2024-10-20 19:59:03 -07:00
srkizer
1f74293de4
Update Lumina and use MacroStringParser (#2033)
No longer requires hook and main thread requirements on compiling macro
strings.

Needs lookup table fixing on Lumina; using reflection to fix for the
time being.
2024-09-14 10:23:24 -07:00
Pascal
cab84a8e31
feat: add new 7.0 BitmapFontIcons & fix few others (#2006)
add new 7.0 BitmapFontIcons
- Tuiyolal flag
- Viper job icon
- Pictomancer job icon
- Moogle treasure trove

fix some outdated icons
2024-08-25 15:07:32 +02:00
srkizer
b6eb18d550
SeString renderer: fix colors, add link support (#1983)
* Add coloring options

* Add link support

* simplify

* fixes

* Prevent EncodeString from causing crashes

* Fix link range application and add link example

* Fix test widget

* Make DalamudLinkPayload backward compatible

* make it better to use

* make it better to use

* Mark SeString rendering functions experimental via comments

* rename

* Simplify

* Make sestring draw functions take in draw params

* Improvements
2024-08-01 10:36:11 -07:00
Haselnussbomber
378ef0a052
Add SeString.Parse(byte*) (#1937) 2024-07-16 18:41:41 +00:00
Haselnussbomber
f7f52ddc77
Respect null terminator in SeString.Parse(ReadOnlySpan<byte>) (#1936) 2024-07-16 18:37:36 +00:00
MidoriKami
7f6bbafbbf
SeString add EncodeWithNullTerminator (#1931) 2024-07-16 20:32:08 +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
Haselnussbomber
1a91495159
Use SeString Expressions in DalamudLinkPayload (#1856) 2024-06-29 00:01:57 +02:00
github-actions[bot]
4e331b1d85 Merge remote-tracking branch 'origin/master' into apiX-rollup 2024-06-08 23:34:08 +00:00
goat
31e541fae5 deps: upgrade StyleCop, fix warnings
...fixes new array initializer expression
2024-06-07 21:19:16 +02:00
Kaz Wolfe
61f47449fd
Merge branch 'refs/heads/master' into apiX
# Conflicts:
#	lib/FFXIVClientStructs
2024-06-01 15:13:32 -07:00
Infi
10b44ba6d0
AutoTranslatePayload: Add public property for group and key (#1814) 2024-05-27 05:51:45 +00:00
Infi
9fcb890d20
AutoTranslatePayload: Use Alias for TextCommands (#1809) 2024-05-26 22:34:32 -07:00
Infi
44a3c3a1ee
Fix RGB returning wrong color and change it to RGBA (#1793)
* FIx RGB returning wrong color and change it to RGBA

* Don't use the old RGB variable

* Fix UIGlowPayload too

* Add RGBA to ABGR helper and new method for glow/foreground to expose it directly

* Move from Utils to ColorHelpers

* Rename the function
2024-05-03 21:22:53 -07:00
Kaz Wolfe
b32ed39826
Merge branch 'refs/heads/master' into apiX
# Conflicts:
#	Dalamud/Game/Libc/LibcFunction.cs
#	Dalamud/Game/Libc/LibcFunctionAddressResolver.cs
#	Dalamud/Game/Libc/OwnedStdString.cs
#	Dalamud/Game/Libc/StdString.cs
#	Dalamud/Interface/UiBuilder.cs
2024-04-28 11:54:54 -07:00
Haselnussbomber
b98337be4e
Update XivChatEntry types and names (#1784) 2024-04-28 11:38:40 -07:00