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
Resolved: I was over thinking this completely.
This worked.. I failed to see that the first time![Frown :( :(](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f641.png)
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
![Frown :( :(](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f641.png)
Last edited: