Add adventurer plate context option

This commit is contained in:
Infi
2024-04-06 03:01:32 +02:00
parent 5ceb327f3a
commit 40fd726519
7 changed files with 2178 additions and 1364 deletions
+14
View File
@@ -273,6 +273,20 @@ internal unsafe class GameFunctions : IDisposable {
return this._inInstance() != 0;
}
internal bool TryOpenAdventurerPlate(ulong playerId)
{
try
{
AgentCharaCard.Instance()->OpenCharaCard(playerId);
return true;
}
catch (Exception e)
{
Plugin.Log.Warning(e, "Unable to open adventurer plate");
return false;
}
}
internal void ClickNoviceNetworkButton() {
var agent = Framework.Instance()->GetUiModule()->GetAgentModule()->GetAgentByInternalId(AgentId.ChatLog);
// case 3