Commit graph

4290 commits

Author SHA1 Message Date
goat
9d4bc95f7d initial net9 port 2024-11-14 01:08:07 +01:00
Infi
8668ea0d59
Fix universalis upload with itemId 0 (#2077) 2024-11-13 13:43:42 -08:00
Kaz Wolfe
6052469976
bumpy da cs 2024-11-13 08:23:57 -08:00
Blair
d6ac69ff6b
Update Lumina to 5.2.1 and Lumina.Excel to 7.1.0 (#2075) 2024-11-13 08:15:24 -08:00
Kaz Wolfe
fd6d52d33b
Extend IconBrowserWidget range
Resolves #2074.

Co-authored-by: ItsBexy <103910869+itsbexy@users.noreply.github.com>
2024-11-12 20:24:20 -08:00
Kaz Wolfe
c6b0db069e
fix: InventoryItem#Copy is a vfunc now 2024-11-12 16:07:28 -08:00
Kaz Wolfe
10fc7656d3
bump cs, ts name fix 2024-11-12 10:26:21 -08:00
Kaz Wolfe
486192662d
New SetupTerritoryType sig
Co-authored-by: Ottermandias <70807659+ottermandias@users.noreply.github.com>
2024-11-12 08:40:10 -08:00
Julian
57cc2f36f9
feat: Encourage developers to use DLLs for devPlugins (#1958)
* Add file dialog to add a dev plugin
* Require dev plugins to be paths to the DLL
* Only allow .dlls in the dev plugin setting entry
* Update dev plugin location hint
* update wording

---------

Co-authored-by: KazWolfe <KazWolfe@users.noreply.github.com>
2024-11-12 08:27:23 -08:00
KazWolfe
67e6bcac61
fix: XivChatType respects the configured chat channel if not set (#2001) 2024-11-12 08:23:22 -08:00
Haselnussbomber
c0f05614c6
[api11] Some code cleanup and signature replacements (#2066)
* Remove unused code from ChatHandlers

* Replace sigs in DalamudAtkTweaks

* Resolve LocalContentId by using PlayerState.ContentId

* Resolve BuddyList address via UIState.Buddy

* Resolve ObjectTable address via GameObjectManager

* Resolve FateTable address via FateManager

* Resolve GroupManager address via GroupManager

* Resolve JobGauges address via JobGaugeManager.CurrentGauge

* Simplify ItemHover/Out event

* Resolve ToggleUiHide address via RaptureAtkModule.SetUiVisibility

* Resolve PopulateItemLinkObject via InventoryItem.Copy

* Add byte[].AsPointer extension

* Resolve addresses used by ToastGui via UIModule functions

* Use Length from Span as ObjectTableLength

* Replace OpenMapWithMapLink with CS call

* Resolve FrameworkAddressResolver with CS vtable

* Drop unnecessary ToArray in HandlePrintMessage

* Clean up event calls in HandlePrintMessageDetour

* Simplify LocalContentId further

This pointer can't be null, because it's part of the .data section.

* Compare SeStrings in FlyTextGui with SequenceEqual

* Use CS types in FlyTextGuis internal code

* Simplify reading SeStrings internally

* Remove AsPointer again

* Resolve Number/StringArray by type in NamePlateGui

* Fix crashes in HandlePrintMessageDetour

* Resolve InteractableLinkClicked with LogViewer.HandleLinkClick
2024-11-12 08:20:29 -08:00
Kaz Wolfe
084f8b55e7
fix cs breaks 2024-11-11 08:54:57 -08:00
Kaz Wolfe
720b1676e5
Merge branch 'master' into api11
# Conflicts:
#	Dalamud/Game/ClientState/Fates/Fate.cs
#	Dalamud/Game/Gui/NamePlate/NamePlateUpdateContext.cs
#	Dalamud/Interface/Internal/DalamudInterface.cs
#	Dalamud/Interface/Windowing/Window.cs
#	Dalamud/Utility/StringExtensions.cs
#	lib/FFXIVClientStructs
2024-11-11 08:38:20 -08:00
Haselnussbomber
c7facaf072
Rewrite parts of ClientState (#2065)
- Completely relies on hooks now, instead of the Framework.Update loop
- Support for Logout codes
2024-11-11 08:28:40 -08:00
KazWolfe
c88e008672
chore: Bump to API version 11 proper 2024-11-11 08:23:54 -08:00
Haselnussbomber
d4735980c8
[api11] Use Conditions address from CS (#2064) 2024-11-05 22:37:45 +01:00
Haselnussbomber
fea5b3b563
Safely call events in DalamudPluginInterface (#2063) 2024-11-05 21:15:09 +01:00
wolfcomp
30d56e4d11
fix all warnings and breaking changes for CS (#2061) 2024-11-04 21:14:51 -08:00
goat
fcbad5000a add hint about disabling version text to TSM setting 2024-11-04 23:14:10 +01:00
goat
66c24b630a dark uiglow looks better 2024-11-04 22:59:24 +01:00
goat
d08520b245 make version text not-red, since that feels like it should indicate errors 2024-11-04 17:48:34 +01:00
KazWolfe
3435c346b6
feat: Add Dalamud Version to the Title Screen (#1939) 2024-11-04 17:18:31 +01:00
Haselnussbomber
2a9ee760c6
Add IGameInventory.GetInventoryItems (#2008) 2024-11-04 16:28:06 +01:00
Xpahtalo
620a802755
Add additional warning to plugin config reset modal (#2005)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-11-04 15:13:46 +00:00
srkizer
74ab9191d3
Add ITextureProvider.ConvertToKernelTexture (#2003)
* Add ITextureProvider.ConvertToKernelTexture

Lets you obtain an instance of Kernel::Texture from IDalamudTextureWrap.

* Docs wip
2024-11-04 16:06:42 +01:00
nebel
9a0bc50e23
Use hooks instead of lifecycle for NamePlateGui (#2060) 2024-11-04 14:21:07 +00:00
Aireil
f3bd83fbe9
repos: warn on missing testing API (#2056)
* repos: warn on missing testing API

* repos: reword missing testing API warning
2024-11-04 15:20:54 +01:00
goat
8956bd54a9 fix some warnings 2024-11-04 15:01:09 +01:00
goat
f39abd9dd2 fix: don't refer to CS assembly by name 2024-11-04 14:39:26 +01:00
goat
422463f9cf
Merge pull request #2038 from ItsBexy/UiDebug2
Update Addon Inspector
2024-11-04 14:37:00 +01:00
Kaz Wolfe
b570564258
fix: re-add invalid attributes per msbuild???? 2024-11-01 09:54:55 -07:00
Kaz Wolfe
5fd43bf102
deps: Bump Lumina to 5.2.0 2024-11-01 08:55:53 -07:00
Kaz Wolfe
82fe5a387b
fix: Register DataManager as a service 2024-11-01 08:54:42 -07:00
ItsBexy
8fc93c4c52 Switch to TextUnformatted()
Plus other noodling with GUI business.

I considered adding some of the helper features I use here to `ImGuiComponents`, but it would have quickly started expanding into a separate project of its own, and I didn't really want to entangle that with this PR right now.
2024-10-24 16:37:04 -06:00
Blooym
a8244a9114
chore: fix a very small typo (#2058) 2024-10-20 20:38:15 -07: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
ItsBexy
552aafd70d Misc UiDebug2 Fixes
- The widget will now only check the `FFXIVClientStructs` assembly for addon type information.
- Updated ImRaii usage
- Clarified suppression in `NodeTree.Text.cs`
- Restored the original Addon Inspector in the Data window, so that both versions can coexist for the time being
2024-10-17 10:52:22 -06:00
Kaz Wolfe
4d6b8e59ef
apply low-hanging fruit for api11todos 2024-09-29 10:51:00 -07:00
Kaz Wolfe
8d535af4ad
remove excess declarations from IPC 2024-09-29 10:47:26 -07:00
Kaz Wolfe
621fd17e1d
Expose Serilog API to plugins 2024-09-29 10:46:12 -07:00
Kaz Wolfe
3c18814a66
Update to newest Serilog 2024-09-29 10:44:06 -07:00
goat
a432fa6b32 build: 10.0.0.15 2024-09-29 14:15:31 +02:00
KazWolfe
437e443931
fix: Re-muck the API surface to not break existing plugins (#2046) 2024-09-25 19:56:35 +00:00
KazWolfe
73ec12145d
feat: Add new IPC methods, and docs (#2042)
- New methods `HasAction`, `HasFunction`, and `SubscriptionCount` to allow making better decisions about IPC logic.
- Some better documentation for the call gates.
2024-09-25 18:54:50 +02:00
SlashNephy
98f58b3f89
Respect Dalamud chat type setting in changelogs message (#2041) 2024-09-15 18:20:42 +00: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
ItsBexy
e19f9284e5 Implement ImRaii 2024-09-03 21:28:22 -06:00
ItsBexy
bf8690fc60 Update Addon Inspector
This updates the Addon Inspector with lots of new features and functionality.

- Features from Caraxi's fork of UiDebug have been incorporated, such as the Element Selector UI and address search.
- Any addon or node can now pop out into its own window.
- Revised the visual style of node field/property information.
- Color values are now visually displayed.
- Any nodes or components that are referenced by fields within the addon will now show that field name in the inspector.
- Added editors for nodes, allowing complete control over most of their properties.
- Improved texture display for Image nodes (and Image node variant types). The active part of the texture is now highlighted, and the boundaries of other parts can be shown via mouseover.
- Highlighting of node bounds onscreen is now more accurate, factoring in rotation (including when using the Element Selector).
- Display of animation timelines has been revamped, showing a table of keyframes for each animation.

A standalone SamplePlugin-based version is available here: https://github.com/ItsBexy/UiDebug2
2024-09-02 21:01:49 -06:00
KazWolfe
0fb7585973
feat: Use Debug Command Handler for Dalamud Commands (#2018)
* feat: new command handler that works off a hook

* cr comment

* Use ClientStructs for sig
2024-08-28 13:23:39 -07:00
Infi
9de58b0cb9
Change type of JobFlags to ulong (#2035) 2024-08-27 22:46:15 +00:00