mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-01 21:33:39 +01:00
fix: some minor IDE complaints
This commit is contained in:
parent
963b3d9318
commit
fe163fbb97
4 changed files with 6 additions and 7 deletions
|
|
@ -110,7 +110,6 @@ 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));
|
||||
|
|
|
|||
|
|
@ -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.UnkText1);
|
||||
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.EvaluatedString);
|
||||
|
||||
ImGui.Text("InputBase Text2: "u8);
|
||||
ImGui.SameLine();
|
||||
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.UnkText2);
|
||||
Service<SeStringRenderer>.Get().Draw(textInputComponent->AtkComponentInputBase.RawString);
|
||||
|
||||
ImGui.Text("Text1: "u8);
|
||||
ImGui.SameLine();
|
||||
|
|
|
|||
|
|
@ -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.UnkText1.StringPtr))}");
|
||||
$"InputBase Text1: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.EvaluatedString.StringPtr))}");
|
||||
ImGui.Text(
|
||||
$"InputBase Text2: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.UnkText2.StringPtr))}");
|
||||
$"InputBase Text2: {Marshal.PtrToStringAnsi(new(textInputComponent->AtkComponentInputBase.RawString.StringPtr))}");
|
||||
ImGui.Text(
|
||||
$"Text1: {Marshal.PtrToStringAnsi(new(textInputComponent->UnkText01.StringPtr))}");
|
||||
ImGui.Text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue