Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurochi51 committed Mar 17, 2024
1 parent 54b63b8 commit c3753b4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion TickTracker/Helpers/Utilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public unsafe bool IsAddonReady(AtkUnitBase* addon)
=> addon is not null && addon->RootNode is not null && addon->RootNode->ChildNode is not null;

/// <summary>
/// Check if <paramref name="sourceCharacter"/> is currently targetting <paramref name="targetCharacter"/>, whether it's manually set, or the result of using an action.
/// Check if <paramref name="sourceCharacter"/> is currently targeting <paramref name="targetCharacter"/>, whether it's manually set, or the result of using an action.
/// </summary>
public unsafe bool IsTarget(PlayerCharacter targetCharacter, Character* sourceCharacter)
{
Expand Down
7 changes: 4 additions & 3 deletions TickTracker/NativeNodes/ImageNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private void ParseUld(UldFile uld, out int uldPartsListAmount, out PartsData[] u
}

/// <summary>
/// Creates a complete <see cref="AtkUldPartsList*[]"/> from the provided <see cref="UldWrapper"/>.
/// Creates a complete <see cref="AtkUldPartsList"/> pointer array from the provided <see cref="UldWrapper"/>.
/// </summary>
/// <remarks>
/// <b>Must be disposed with <see cref="FreeResources(AtkUldPartsList*[])"/></b>
Expand Down Expand Up @@ -235,7 +235,8 @@ private bool PopulatePartsList(ref AtkUldPartsList* currentPartsList, PartsData
/// <remarks>
/// The existing <see cref="imageNode"/> is destroyed if present.
/// </remarks>
/// <param name="partsListIndex">The index of the <see cref="AtkUldPartsList"/> to fetch from the <see cref="atkUldPartsListArray"/></param>
/// <param name="partsListIndex">The index of the <see cref="AtkUldPartsList"/> to fetch from the <see cref="uldPartsListArray"/></param>
/// <param name="hqTexture"> Whether to retrieve the hr1 version of the contained textures, or the normal one.</param>
/// <param name="parent">Optional <see cref="AtkComponentNode"/> that can be used to attach the created <see cref="imageNode"/></param>
/// <param name="targetNode">The <see cref="AtkResNode"/> after the desired position to place our <see cref="imageNode"/></param>
public void CreateCompleteImageNode(int partsListIndex, bool hqTexture = false, AtkResNode* parent = null, AtkResNode* targetNode = null)
Expand Down Expand Up @@ -386,7 +387,7 @@ public void DestroyNode()
}

/// <summary>
/// Release a <see cref="AtkUldPartsList*[]"/> created by <see cref="CreateAtkUldPartsListArray"/> of your instance of <see cref="ImageNode"/>.
/// Release a <see cref="AtkUldPartsList"/> pointer array created by <see cref="CreateAtkUldPartsListArray"/> of your instance of <see cref="ImageNode"/>.
/// </summary>
/// <param name="atkUldPartsListArray"></param>
public void FreeResources(AtkUldPartsList*[] atkUldPartsListArray)
Expand Down
2 changes: 1 addition & 1 deletion TickTracker/Structs/TableStruct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public readonly bool IsValid()
&& Size.HasValue;

/// <summary>
/// Assign the <paramref name="newSize"/> to the struct's Size if it's not populated, or is different than <paramref name="newSize"/>.
/// Assign the <paramref name="newSize"/> to the <see cref="Size"/> if it's not populated, or is different than <paramref name="newSize"/>.
/// </summary>
public void ResizeIfNeeded(Vector2 newSize)
{
Expand Down
2 changes: 1 addition & 1 deletion TickTracker/Windows/ConfigWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ private void EditConfigProperty<T>(string label, Configuration _config, Func<Con
}
else
{
ImGui.TextUnformatted("Invalid EditConfigProperty invokation.");
ImGui.TextUnformatted("Invalid EditConfigProperty invocation.");
}
}
}
4 changes: 2 additions & 2 deletions TickTracker/Windows/DevWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ public sealed class DevWindow : Window, IDisposable

private readonly uint devNodeImageId = NativeUi.Get("DevNode");

private const string GatchaUldPath = "ui/uld/Gacha.uld";
private const string GachaUldPath = "ui/uld/Gacha.uld";
private static readonly List<string> PrintLines = [];
public int partId { get; set; }
public int partListIndex { get; set; }
public string uldPath { get; set; } = GatchaUldPath;
public string uldPath { get; set; } = GachaUldPath;
private int nodeX, nodeY;
private ImageNode? devNode;
public bool startBenchmark { get; set; }
Expand Down

0 comments on commit c3753b4

Please sign in to comment.