Hey guys,
So ive been dumping the vTables today. Not sure if ive done it right thought xD
Anyway, the reason for my dumping, is that I need a good way to check if im casting when InProcess.
I found CGPlayer_C__GetSpellCastingTime which seems to be 0x85.
I am using WhiteMagic to do this.
My code is as follows:
and to call it I am usingCode:private readonly CastTimeDelegate _castingTime; public WoWLocalPlayer(IntPtr pointer) : base(pointer) { _castingTime = RegisterVirtualFunction<CastTimeDelegate>((uint) vTables.CGPlayer_C.CGPlayer_C__GetSpellCastingTime); } #region Nested type: CastTimeDelegate [UnmanagedFunctionPointer(CallingConvention.ThisCall)] private delegate int CastTimeDelegate(IntPtr thisObj); #endregion
This is returning a huge result...Code:public int CastingTime() { return _castingTime(Pointer); }
Any ideas?

![[Question] CGPlayer_C__GetSpellCastingTime?](https://www.ownedcore.com/forums/./ocpbanners/3/6/6/2/4/2/5c4835331063f7e21bc14db43840c51b.png)
![TradeSafe Middleman [Question] CGPlayer_C__GetSpellCastingTime?](https://www.ownedcore.com/assets/mm/images/wits.png)
![CoreCoins [Question] CGPlayer_C__GetSpellCastingTime?](https://www.ownedcore.com/forums/images/styles/OwnedCoreFX/addimg/wicc.png)




Reply With Quote![[Question] CGPlayer_C__GetSpellCastingTime?](https://www.ownedcore.com/images/ba/g/b2.gif)

