Commit graph

5659 commits

Author SHA1 Message Date
bleatbot
6d664cc606
Update ClientStructs (#2110)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-20 08:36:17 -08:00
bleatbot
c831af5a00
Update ClientStructs (#2109)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-19 20:46:42 +00: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
bleatbot
bf7ef00ec0
Update ClientStructs (#2105)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-18 17:30:47 -08:00
ItsBexy
192dc9c3c3
Update Util.ShowStruct() (#2104)
- Now prints field offsets, if/when they are defined.
- Fixed a bug wherein Boolean fields were being printed with incorrect values (now tries reading the value as a byte, which seems to do the trick)
2024-11-18 17:30:12 -08: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
bleatbot
d538ce6350
Update ClientStructs (#2103)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-17 10:46:17 -08:00
bleatbot
d856f657c2
[master] Update ClientStructs (#2101)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-17 13:59:39 +00:00
goat
26be395a07
Merge pull request #2087 from goatcorp/net9-rollup
[net9] Rollup changes from master
2024-11-17 14:36:39 +01:00
github-actions[bot]
a8f3098d74 Merge remote-tracking branch 'origin/master' into net9-rollup 2024-11-17 13:36:00 +00:00
bleatbot
dc10ba4ec5
[master] Update ClientStructs (#2098)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-17 14:35:40 +01:00
Asriel Camora
93b2b5228a
Update to Lumina 5.4.0 and Lumina.Excel 7.1.2 (#2100) 2024-11-16 20:24:33 -08:00
Haselnussbomber
52e8fca7f1
Add InventoryWidget (#2097)
* Add InventoryWidget

* Update InventoryWidget

- Use GameInventoryItem.GetReadOnlySpanOfInventory
- Display Stains
- Display Materia

* Display CrafterContentId in InventoryWidget

* Fix display of HQ items in InventoryWidget

Also removes the Base ItemId, because Dalamud doesn't apply flags.

* Make columns Itemid and Quantity copyable
2024-11-16 17:50:58 -08:00
Haselnussbomber
0d9eed298c
Use correct type for GameInventoryItem.Stains (#2099) 2024-11-16 17:50:15 -08:00
Haselnussbomber
aa450a7199
Revert ItemHover/ItemOut hook removal (#2093)
* Revert ItemHover/ItemOut hook removal

* Update delegates for HandleItemHover hooks

* Fix HandleItemHoverDetour spam

* Update GameGui signature comments

* Use int in HandleItemOutDetour like the game does

* Hook AgentItemDetail vfuncs

* Add missing hook Dispose calls

---------

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2024-11-16 23:08:23 +00:00
bleatbot
bf9a9a05ca
Update ClientStructs (#2095)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-16 22:58:21 +00:00
Infi
c2588cec6b
Switch from CurrentGauge pointer to using the gauge fields address directly (#2094) 2024-11-16 14:51:38 -08:00
Asriel Camora
8ccac255cb
Update to Lumina 5.3.0 and Lumina.Excel 7.1.1 (#2096) 2024-11-16 14:47:06 -08:00
bleatbot
fe90c9a820
[master] Update ClientStructs (#2092)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-16 16:46:13 +00:00
Haselnussbomber
3c8f68b308
Update config options (#2090) 2024-11-16 17:38:47 +01:00
bleatbot
16ea9ea213
Update ClientStructs (#2089)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-16 01:18:05 +00:00
nebel
abcb99d4ec
Add support for boxed outlined numbers in SeIconChar (#2088) 2024-11-16 00:34:49 +00:00
bleatbot
c1fbba2a27
Update ClientStructs (#2062)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-15 21:51:23 +00:00
goat
e1877491e7
Merge pull request #2086 from goatcorp/net9-rollup
[net9] Rollup changes from master
2024-11-15 19:42:00 +01:00
github-actions[bot]
605c3019f6 Merge remote-tracking branch 'origin/master' into net9-rollup 2024-11-15 18:34:17 +00:00
goat
a5b0a3817f
ci: rollup into net9 2024-11-15 19:33:53 +01:00
goat
bbaf600856
use correct gauge pointer 2024-11-15 19:31:41 +01:00
goat
a93c54340c
Merge pull request #2049 from goatcorp/api11
Dalamud API 11: Echoes of Vana'diel
2024-11-15 19:30:20 +01:00
Kaz Wolfe
4436c58749
covfefe 2024-11-15 08:25:19 -08:00
Kaz Wolfe
b43a6b6bce
fix: OnLogin needs to be callable again 2024-11-15 08:24:04 -08:00
Kaz Wolfe
9ac1f5cdb4
Revert OnLogin event to only fire when LocalPlayer is present 2024-11-15 08:18:49 -08:00
Kaz Wolfe
b4d9ebe1ef
bump cs 2024-11-15 08:18:48 -08:00
KazWolfe
14b6bcdb05
Merge branch 'master' into api11 2024-11-15 00:21:50 -08:00
Kaz Wolfe
d6dad8b44a
fix gamepad inputs for imgui 2024-11-15 00:20:51 -08:00
Kaz Wolfe
bd5f1a3277
bump cs 2024-11-14 23:51:08 -08:00
Kaz Wolfe
23cdf3ce4a
Merge branch 'api11' into net9 2024-11-14 23:29:14 -08:00
Kaz Wolfe
d7abf9fe0d
Fix Fate aging step; report Tuliyollal taxes
- FATE table test needs a zone with FATEs in it.
- Use a `byte` rather than an `int` so we don't overflow like crazy.
2024-11-14 23:27:46 -08:00
Kaz Wolfe
bdc24ad23e
bump cs 2024-11-14 23:10:59 -08:00
Kaz Wolfe
ec8389a34e
bump cs 2024-11-14 20:27:30 -08:00
Kaz Wolfe
3100f9134d
cs bumppppp 2024-11-14 16:50:08 -08:00
ItsBexy
ee63f60877
Update UIDebug2, ImGuiComponents, ImGuiHelpers (#2081)
* Update ImGuiComponents & ImGuiHelpers
Took some helper functions created for `UiDebug2`, and incorporated them into `ImGuiComponents` / `ImGuiHelpers` instead

- `IconButton()` (and its various overloads) now includes an optional size parameter
- `IconButtonSelect()` has been added, allowing a row or grid of IconButtons to serve as a radio-like input
- `HelpMarker()` now includes an optional color parameter
- `ClickToCopyText()` now includes an optional color parameter, and includes the `FontAwesome.Copy` icon in the tooltip.
- Implemented ImRaii in these files

These changes are intended not to break any existing calls in plugins or within Dalamud itself.

* Fix ambiguous overloads

* UiDebug2 Updates
- Fixed XY coordinate display
- Added AtkValue table to AddonTree display
- Restored old behaviour wherein the Addon display initially only shows the Root node and a collapsed node list
- The above should also fix the Element Selector / Search behaviour, allowing it to scroll correctly to the searched node
- Now displays field offsets for any node/component whose pointer exists in the addon struct
- Tidied up node tree headers by removing memory addresses (they're still readable in the opened tree, of course)
2024-11-14 15:36:27 -08:00
Haselnussbomber
94f16ac16e
Alias ClientState.IsLoggedIn to AgentLobby.IsLoggedIn (#2082) 2024-11-14 15:36:10 -08:00
Kaz Wolfe
b483b63bf2
GameInventoryItem matches StructSize from CS 2024-11-14 15:34:56 -08:00
Kaz Wolfe
7feeae9910
bump cs 2024-11-14 15:21:07 -08:00
Kaz Wolfe
76df39f7b3
bump cs again 2024-11-14 10:36:32 -08:00
Kaz Wolfe
913fe25cc5
InventoryItem size bump 2024-11-14 08:47:32 -08:00
KazWolfe
097f85eff6
Move more things to ClientStructs (#2080)
* GameGui uses CS methods now

Co-authored-by: Infi <infiziert@protonmail.ch>

* Shove even more things over to CS

* Clean up NetworkHandlers too

* bump cs so things build at least

---------

Co-authored-by: Infi <infiziert@protonmail.ch>
2024-11-14 08:29:28 -08:00
Infi
7c6ed6de76
Use more of the CS version for ActionDetailHover (#2079)
* - Use CS for delegate
- Sync HoverActionKind with CS version

* Undo changes in favor of #2080
2024-11-13 21:56:30 -08:00
Infi
4e76669779
Add new city to the upload (#2078) 2024-11-13 21:56:00 -08:00
Kaz Wolfe
3a6312422c
Move HandleActionHover to CS
Co-authored-by: Infi <infiziert@protonmail.ch>
2024-11-13 19:44:35 -08:00