public CommandManager(SeAddressBase baseUiObject, GetUiModule getUiModule, ProcessChatBox processChatBox) { _processChatBox = processChatBox; _uiModulePtr = getUiModule.Invoke(Marshal.ReadIntPtr(baseUiObject.Address)); }
public CommandManager(DalamudPluginInterface pi, BaseUiObject baseUiObject, GetUiModule getUiModule, ProcessChatBox processChatBox) { _dalamudCommands = pi.CommandManager; _processChatBox = processChatBox; _uiModulePtr = getUiModule.Invoke(Marshal.ReadIntPtr(baseUiObject.Address)); }