7d5496e959
81 namespace declarations and 100 using directives converted via sed, plus two FQN-aliases (ChatTwoPartyFinderPayload in PayloadHandler.cs and ModifierFlag in KeybindManager.cs) updated. Critical: Language.Designer.cs and HellionStrings.Designer.cs ResourceManager string arguments updated synchronously — these are runtime reflection lookups not caught by the C# compiler. Two intentional ChatTwo references remain: the legacy migration path 'ChatTwo.json' in Plugin.cs (still points to upstream Chat 2's config file by design) and the InternalsVisibleTo declaration in AssemblyInfo.cs (handled in the upcoming repo-folder rename task). The local alias names 'ChatTwoPartyFinderPayload' and 'ChatTwoConflictDetector' are preserved as local symbols; only their target namespaces and references changed.
46 lines
1.2 KiB
C#
Executable File
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);
|
|
}
|
|
}
|