Trying to get list of inventory items

  • I've been trying to work with FFXIVAPP.Memory and I'm having issues getting a list of the inventory.

            Process[] processes = Process.GetProcessesByName("ffxiv");
            if (processes.Length > 0)
                // supported: English, Chinese, Japanese, French, German, Korean
                string gameLanguage = "English";
                Process process = processes[0];
                ProcessModel processModel = new ProcessModel();
                processModel.Process = process;
                MemoryHandler.Instance.SetProcess(processModel, gameLanguage);
                InventoryReadResult readResult = Reader.GetInventoryItems();

    Could you help? Thanks

Log in to reply