Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurochi51 committed Jan 30, 2024
1 parent 9f8f349 commit e2e36c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions TickTracker/NativeNodes/ImageNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public ImageNode(IDataManager _dataManager, IPluginLog _log, UldWrapper uld)

if (!uld.Valid || uld.Uld is null)
{
throw new ArgumentException("UldWrapper provided isn't valid or it has a null UldFile",nameof(uld));
throw new ArgumentException("UldWrapper provided isn't valid or it has a null UldFile", nameof(uld));
}
ParseUld(uld.Uld, out var uldPartsListAmount, out uldPartsListArray);
atkUldPartsListsAvailable = uldPartsListAmount;
Expand Down Expand Up @@ -363,7 +363,7 @@ public void DestroyNode()
/// <summary>
/// Release a <see cref="AtkUldPartsList*[]"/> created by <see cref="CreateAtkUldPartsListArray"/> of your instance of <see cref="ImageNode"/>.
/// </summary>
/// <param name="atkUldPartsListArray"></param>
/// <param name="atkUldPartsListArray"></param>
public void FreeResources(AtkUldPartsList*[] atkUldPartsListArray)
{
for (var i = 0; i < atkUldPartsListArray.Length; i++)
Expand Down
2 changes: 1 addition & 1 deletion TickTracker/TickTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private unsafe void HandleNativeNode(ImageNode tickerNode, uint gaugeBarNodeId,
tickerNode.CreateCompleteImageNode(0, gaugeBarNode, (AtkResNode*)frameImageNode);
if (tickerNode.imageNode is null)
{
log.Error("ImageNode {id} could not be created.",tickerNode.NodeID);
log.Error("ImageNode {id} could not be created.", tickerNode.NodeID);
failed = true;
return;
}
Expand Down
4 changes: 2 additions & 2 deletions TickTracker/Windows/DevWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public override void Draw()
ImGui.InputInt("ImageNode X", ref nodeX);
ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X / 5);
ImGui.InputInt("ImageNode Y", ref nodeY);
if(ImGui.Button("Change Coords"))
if (ImGui.Button("Change Coords"))
{
devNode?.SetNodePosition(nodeX, nodeY);
}
Expand Down Expand Up @@ -167,7 +167,7 @@ public static void Separator()

public unsafe void Dispose()
{
if(devNode is not null && devNode.imageNode is not null)
if (devNode is not null && devNode.imageNode is not null)
{
NativeUi.UnlinkFromRoot((AtkResNode*)devNode.imageNode, NameplateAddon);
devNode.Dispose();
Expand Down

0 comments on commit e2e36c9

Please sign in to comment.