This feels stupid, but, v.1 I tried using inheritance for the objects in the ram list. This worked, but now I want to dual box, and at the base class it's something like this..
Property GUID uint64
Return memReader.ReadUint64(...)
Property TYPE uint32
return memReader.ReadUint32(...)
well now that I want to dual box, i have to keep track of two copies of wow, ie. i need to have 2 memReader objects, but..how to let the objects to know which to use (ie. in basicOBject.Property, how to know which memReader to use)?? Atm I'm trying to make all the functions UP into ObjMgr (ie. I used to have unitObj.Health, now I am making it objMgr.GetUnitHealth(baseAddr) --> Because then I keep the memReader objects in my objMgr class (and that in my 'wowGame' Claass) and..it works, but obj.prop is so much nicer than class.function() ..any ideas?
edit: I forgot to mention..I don't want to open two copies of the bot because it uses ..the mouse.. and i'd rather keep it in 1 process.