Commit graph

5489 commits

Author SHA1 Message Date
goat
a1ae33bfee don't set plugin to fail state if we threw InvalidPluginOperationException
These are supposed to indicate to the user that they called a function at the wrong point in time. We don't want to actually mutate the state in that case.
2024-12-23 21:03:31 +01:00
goat
8276c19c6f add plugin enable/disable/toggle commands 2024-12-23 21:00:02 +01:00
goat
8572ed8b1e ProfileCommandHandler -> PluginManagementCommandHandler 2024-12-23 17:05:35 +01:00
goat
bc21621d9a add release script 2024-12-23 16:50:06 +01:00
goat
c647d07d94 build: 11.0.4.0 2024-12-22 19:19:56 +01:00
goat
2d6689b9d3 move lumina version out of csproj 2024-12-22 19:14:18 +01:00
bleatbot
87d069267b
Update ClientStructs (#2148)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-20 14:33:54 +00:00
Infi
2e6cb6ef00
- Add chat notification back to AutoUpdate (#2146)
- ImRaii UI elements in AutoUpdate tab
- Fix scoping in IconButton
2024-12-19 22:19:50 +01:00
goat
f7ef68d65e build: 11.0.3.0 2024-12-17 21:50:03 +01:00
Haselnussbomber
3ccd93aaf1
Return nullable on XivChatType.GetDetails (#2143) 2024-12-17 15:56:55 +00:00
bleatbot
4dedaac50e
Update ClientStructs (#2140)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-17 15:42:09 +00:00
srkizer
70af62885b
chore: remove [Experimental] from SeStringRenderer (#2144)
It hasn't caused problem for a while (though performance probably can be
better), and looks good enough to remove this attribute.
2024-12-17 07:31:44 -08:00
goat
722ee32353
Use MiniGame BGM scene for About tab (#2132)
* Use MiniGame BGM scene for About tab

* Use span comparison in GameGui.IsInLobby
2024-12-06 21:43:39 +01:00
bleatbot
e2298ea099
Update ClientStructs (#2139)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-06 21:42:35 +01:00
goat
fd0b6722ad build: 11.0.2.0 2024-12-06 18:12:57 +01:00
nebel
75f414578d
Don't allow nameplate GameObject lookup when ObjectId is invalid (#2137) 2024-12-04 22:23:17 +01:00
Haselnussbomber
4c62158aea
Fix config option summaries (#2138)
* Fix config option summaries

* Obsolete LockonDefaultZoom_179 with error
2024-12-04 22:22:51 +01:00
bleatbot
bf90817457
[master] Update ClientStructs (#2135)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-04 22:21:20 +01:00
Haselnussbomber
865a05fb1a
Merge branch 'master' into proper-use-of-bgm-scene 2024-12-01 19:21:23 +01:00
bleatbot
dd26d82117
[master] Update ClientStructs (#2134)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-01 15:47:31 +00:00
bleatbot
ec72bd81e0
[master] Update ClientStructs (#2126)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-12-01 16:19:04 +01:00
Haselnussbomber
f7f1b0afc5
Use span comparison in GameGui.IsInLobby 2024-11-30 20:42:46 +01:00
Haselnussbomber
da718b64c1
Use MiniGame BGM scene for About tab 2024-11-30 19:59:42 +01:00
nebel
1830af59fd
Use object table index lookup for NamePlateGui GameObject resolution (#2129) 2024-11-28 18:19:11 +01:00
nebel
7a52cb85db
Fix ShowStructInternal ImGui crash (#2127) 2024-11-27 21:30:24 +01:00
goat
f3db18962f build: 11.0.1.0 2024-11-26 21:09:19 +01:00
bleatbot
245d7be237
Update ClientStructs (#2125)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-26 17:53:25 +00:00
KazWolfe
c0464b80a5
chore: ImGui PDB passthrough, null terminator fix (#2123) 2024-11-26 17:34:28 +01:00
bleatbot
d08966edf8
Update ClientStructs (#2114)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-25 19:41:45 -08:00
srkizer
db4b6cea2c
Avoid re-creating title version string every frame (#2117)
* Avoid re-creating title version string every frame

* Marked title version string that it has been changed by Dalamud by
  appending a newline payload with a string expression embedded within,
  which the game will ignore (effectively `<br(!Dalamud!)>`.)
* Added `PluginManager.LoadedPluginCount` which will count the number of
  loaded plugin without making a copy of the plugin list.
* Made TitleScreenMenuWindow.OnVersionStringDraw` update the title
  version text addon only if number of loaded plugin changes or the text
  is missing the custom suffix from the first point.

* Use OriginalTextPointer to determine if SetText(ROS) has been called
2024-11-25 17:09:43 -08:00
KazWolfe
4c9b2a1577
Add universalis response logging for diagnostics (#2124) 2024-11-25 19:21:07 +00:00
KazWolfe
903a5ad5da
fix: Properly handle UTF-8 characters in ImGUI paths (#2122)
- Fixes a bug where users with special characters in their filenames would not be able to save `dalamudUI.ini`.
- Throw a special warning if `dalamudUI.ini` doesn't exist, as it's not an error case.
2024-11-24 23:01:01 +01:00
Infi
0fdcffd3ad
Fix small typo (#2115) 2024-11-24 23:00:50 +01:00
ItsBexy
c950b15a22
Minor interface adjustments (#2121)
- Further ImRaii safety in UiDebug2
- Set some mistakenly internal methods in ImGuiComponents to public
- Added SpanFullWidth flag to trees in Util.ShowStruct
2024-11-24 21:37:39 +01:00
Aireil
de999b7895
Fix IsPvPExcludingDen (#2120) 2024-11-24 21:35:00 +01:00
Asriel
2fd8e49b34
Update to Lumina 5.6.0 and Lumina.Excel 7.1.3 (#2118) 2024-11-24 07:06:25 -08:00
Haselnussbomber
dbbc2306dd
NRE check LinkData in HandleLinkClickDetour (#2112) 2024-11-20 15:54:05 -08: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
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
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