Commit graph

5399 commits

Author SHA1 Message Date
goat
e2e11d5f05 fix nonstandard sizeof() usage 2024-11-13 01:20:02 +01:00
Kaz Wolfe
c6b0db069e
fix: InventoryItem#Copy is a vfunc now 2024-11-12 16:07:28 -08:00
Kaz Wolfe
dc3818f42b
bump cs 2024-11-12 14:47:16 -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
Kaz Wolfe
401af52c40
bump cs 2024-11-12 08:31:41 -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
167e76911e
bump clientstructs 2024-11-11 08:39:22 -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
bleatbot
0c87717ffc
[master] Update ClientStructs (#2054)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-11-04 14:43:38 +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
cffc123abd
deps: bump coreplugin lumina 2024-11-01 09:22:24 -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
bleatbot
60bb357399
Update ClientStructs (#2050)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-10-07 18:14:33 -07:00
KazWolfe
08d8605871
Merge branch 'master' into api11 2024-09-30 12:11:44 -07:00
KazWolfe
547a9e19fe
Re-enable rollups for API11 (#2048) 2024-09-30 20:56:14 +02: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
bleatbot
4316407465
Update ClientStructs (#2047)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-09-28 11:27:46 -07:00
bleatbot
3bda9277de
Update ClientStructs (#2045)
Co-authored-by: github-actions[bot] <noreply@github.com>
2024-09-25 19:34:24 -07: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