Switch TF2 extension to hook CTFGameRules::IsHolidayActive for holiday forward (bug 6137).

This commit is contained in:
Nicholas Hastings
2014-06-19 23:22:47 -04:00
parent 210759907d
commit 151c6d246e
5 changed files with 203 additions and 59 deletions
+17 -7
View File
@@ -78,13 +78,6 @@
"linux" "@_ZN15CTFPlayerShared10StunPlayerEffiP9CTFPlayer"
"mac" "@_ZN15CTFPlayerShared10StunPlayerEffiP9CTFPlayer"
}
"IsHolidayActive"
{
"library" "server"
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\x78\x30\x00\x74\x04\x32\xC0"
"linux" "@_Z18TF_IsHolidayActivei"
"mac" "@_Z18TF_IsHolidayActivei"
}
"MakeBleed"
{
"library" "server"
@@ -106,6 +99,15 @@
"linux" "@_ZN17CObjectTeleporter21PlayerCanBeTeleportedEP9CTFPlayer"
"mac" "@_ZN17CObjectTeleporter21PlayerCanBeTeleportedEP9CTFPlayer"
}
// Obsolete
"IsHolidayActive"
{
"library" "server"
"windows" "\x55\x8B\xEC\xA1\x2A\x2A\x2A\x2A\x83\x78\x30\x00\x74\x04\x32\xC0"
"linux" "@_Z18TF_IsHolidayActivei"
"mac" "@_Z18TF_IsHolidayActivei"
}
}
"Offsets"
{
@@ -127,6 +129,14 @@
"linux" "391"
"mac" "391"
}
// CTFGameRules::IsHolidayActive
"IsHolidayActive"
{
"windows" "138"
"linux" "139"
"mac" "139"
}
}
}
}