public WoWItem Mainhand { get; } will return null if you have nothing in mainhand
public WoWItem Offhand { get; } does the same thing
But I don't see a function in here to return if there is anything equipped in the range slot.
I saw this too. Making now my own CC for learning(Really nice stuff in it that I hadn't see in other CC's )
I only need to check if someone has a wand otherwise the exp/hr will be much lower.
Bossland is it possible that in next build also a WoWItem RangeSlot will be implement?
<input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden">bool haveWandEquipped;
private void HaveWandCheck()
{
Lua.DoString("textureWand = GetInventoryItemTexture(\"player\", 18)");
string textureWand = Lua.GetLocalizedText("textureWand", _me.BaseAddress);
if (textureWand == "nil")
{
haveWandEquipped = false;
}
else
{
haveWandEquipped = true;
}
}