Compare commits

..

No commits in common. "93b95fd8133df0a3ff76509ebaff408adc7d0fc1" and "bfb07580fe5b84c337c65c49b6976a21a379a3d1" have entirely different histories.

5 changed files with 8 additions and 7 deletions

View file

@ -114,7 +114,7 @@ internal sealed unsafe class DalamudCompletion : IInternalDisposableService
this.ResetCompletionData();
this.ClearCachedCommands();
var currentText = component->EvaluatedString.StringPtr.ExtractText();
var currentText = component->UnkText1.StringPtr.ExtractText();
var commands = this.commandManager.Commands
.Where(kv => kv.Value.ShowInHelp && (currentText.Length == 0 || kv.Key.StartsWith(currentText)))
@ -195,7 +195,7 @@ internal sealed unsafe class DalamudCompletion : IInternalDisposableService
component = (AtkComponentTextInput*)componentBase;
addon = component->OwnerAddon;
addon = component->ContainingAddon;
if (addon == null)
addon = component->ContainingAddon2;

View file

@ -110,6 +110,7 @@ internal class AssertHandler : IDisposable
return new StackTrace(frames);
}
private unsafe void OnImGuiAssert(void* pExpr, void* pFile, int line)
{
var expr = Marshal.PtrToStringAnsi(new IntPtr(pExpr));

View file

@ -414,11 +414,11 @@ internal unsafe class UiDebug
var textInputComponent = (AtkComponentTextInput*)compNode->Component;
ImGui.Text("InputBase Text1: "u8);
ImGui.SameLine();
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.EvaluatedString);
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.UnkText1);
ImGui.Text("InputBase Text2: "u8);
ImGui.SameLine();
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.RawString);
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.UnkText2);
ImGui.Text("Text1: "u8);
ImGui.SameLine();

View file

@ -90,9 +90,9 @@ internal unsafe class ComponentNodeTree : ResNodeTree
case TextInput:
var textInputComponent = (AtkComponentTextInput*)this.Component;
ImGui.Text(
$"InputBase Text1: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.EvaluatedString.StringPtr))}");
$"InputBase Text1: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.UnkText1.StringPtr))}");
ImGui.Text(
$"InputBase Text2: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.RawString.StringPtr))}");
$"InputBase Text2: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.UnkText2.StringPtr))}");
ImGui.Text(
$"Text1: {Marshal.PtrToStringAnsi(new(textInputComponent->UnkText01.StringPtr))}");
ImGui.Text(

@ -1 +1 @@
Subproject commit f6c479b3fa0b452b44403c8ea53d592bec415e1e
Subproject commit 2b2d67e374b9f117d3d8038070bd80909de3941d