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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

question regarding Reborn Buddy and GatherItemBySlot()

Yasuko

Member
Joined
Oct 28, 2010
Messages
314
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