Files
HellionChat/HellionChat/GameFunctions/Context.cs
T
JonKazama-Hellion 1f7f0945c5 build: rename repository folder ChatTwo to HellionChat
Repository folder, csproj, solution and all CI/build paths now use
the consolidated HellionChat name.

- ChatTwo/ → HellionChat/ (git mv preserves history with --follow)
- ChatTwo.csproj → HellionChat.csproj
- ChatTwo.sln → HellionChat.sln; obsolete Tests project entry removed
  (private/untracked sandbox)
- AssemblyInfo.cs InternalsVisibleTo for ChatTwo.Tests removed
  (file emptied; can be repopulated when actual tests land)
- repo.json and yaml image URLs updated (ChatTwo/images/ → HellionChat/images/)
- .github/workflows/{build,codeql,release}.yml csproj paths
- .github/dependabot.yml directory path

Functional behavior unchanged.
2026-05-03 21:30:07 +02:00

46 lines
1.2 KiB
C#
Executable File

using HellionChat.Util;
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
using FFXIVClientStructs.FFXIV.Client.UI.Info;
using FFXIVClientStructs.FFXIV.Client.UI.Misc;
namespace HellionChat.GameFunctions;
internal sealed unsafe class Context
{
internal static void InviteToNoviceNetwork(string name, ushort world)
{
// can specify content id if we have it, but there's no need
InfoProxyNoviceNetwork.Instance()->InviteToNoviceNetwork(0, 0, world, name.ToTerminatedBytes());
}
internal static void TryOn(uint itemId, byte stainId)
{
AgentTryon.TryOn(0xFF, itemId, stainId);
}
internal static void LinkItem(uint itemId)
{
AgentChatLog.Instance()->LinkItem(itemId);
}
internal static void LinkStatus(uint statusId)
{
AgentChatLog.Instance()->ContextStatusId = statusId;
}
internal static void OpenItemComparison(uint itemId)
{
AgentItemComp.Instance()->CompareItem(0x4D, itemId, 0, 0);
}
internal static void SearchForRecipesUsingItem(uint itemId)
{
AgentRecipeProductList.Instance()->SearchForRecipesUsingItem(itemId);
}
internal static void SearchForItem(uint itemId)
{
ItemFinderModule.Instance()->SearchForItem(itemId);
}
}