Change SDKHooks to VTable Hooks (bug 6070, r=psychonic).

This commit is contained in:
Kyle Sanderson
2014-03-23 22:11:06 -06:00
parent ee595978f8
commit 9abac06e85
4 changed files with 680 additions and 527 deletions
+10
View File
@@ -96,6 +96,16 @@ public:
{
return (this->GetVTablePtr() == other->GetVTablePtr());
}
bool operator != (CVTableHook &other)
{
return (this->GetVTablePtr() != other.GetVTablePtr());
}
bool operator != (CVTableHook *other)
{
return (this->GetVTablePtr() != other->GetVTablePtr());
}
private:
void *vtableptr;
int hookid;