HI there. To get an object name (and yes you can then check if it is a fishing bobber and using that for your fishing bot).
I can't remember exactly where I got this code from, whether it was this forum or edge of nowhere.
Code:
internal int GameObjectNameOffset_1 = 0x224;
internal int GameObjectNameOffset_2 = 0x78; //this was 0x74 but with 2.4.3 it moved to 0x78
int iObjNamePtr = this.ReadInteger(objBasePtr + GameObjectNameOffset_1);
iObjNamePtr = this.ReadInteger(iObjNamePtr + GameObjectNameOffset_2);
gameObject.sName = this.ReadString(iObjNamePtr, 64);
The owner. I have not confirmed this under 2.4.3 yet.
Code:
internal int Off_GameObjectOwnersGUID = 0x2B8;
l_OwnerGUID = ReadLong(objBasePtr + Off_GameObjectOwnersGUID);
Totems seem to come up as units.