What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

question regarding Reborn Buddy and GatherItemBySlot()

Yasuko

Member
Joined
Oct 28, 2010
Messages
314
Reaction score
6
RESOLVED question regarding Reborn Buddy and GatherItemBySlot()

I've been messing around with RebornConsole and coming up with some snippets of code that I eventually want to make a plugin for and have a question regarding internal classes and RebornConsole.

Is it possible to access an internal class through rebornconsole? More specifically.. this is what I'm trying to do

Code:
 foreach ( var item in ff14bot.Managers.Gathering.GatheringWindow.GatheringWindowItems)
            {
                if (item.ItemData.EnglishName == "Lightning Crystal")
                {

                    Log(item.ItemData.EnglishName);
                    Log(item.SlotIndex);
                    ff14bot.Managers.AsmManager.GatherItemBySlot(item.SlotIndex);
                    
                }
            }

Resolved: I was over thinking this completely.

Code:
    foreach (var windowitem in ff14bot.Managers.Gathering.GatheringWindow.GatheringWindowItems)
                 {
                    if (windowitem.ToString() == "Lightning Shard")
                      {
                         windowitem.GatherItem();
                      }
                }

This worked.. I failed to see that the first time :(
 
Last edited:
Back
Top