* 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
- 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)
* Switch PlayerPayload Encode/Decode to using Lumina
- This also fixes a bug that PlayerPayload would encode worldIds as byte (they are ushort)
* Remove comment
* 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
* 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)
* 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>