I have hooked CBaseCombatCharacter::SetTransmit(CCheckTransmitInfo*, bool), how can I reconstruct CCheckTransmitInfo? There doesn't seem to be a lot of information about it that I could find and use.
I think it is or contains a pointer to the player's Edict? But if I try to interpret it as one I don't really get anything that makes sense, and I would have no clue how I could get the pointer to the player's edict from it (or what the offsets are), if that assumption is even correct!
How can I reconstruct CCheckTransmitInfo?
http://forums.eventscripts.com/viewtopic.php?f=90&t=45739&start=22
I think this should do the trick.
I think this should do the trick.
Syntax: Select all
class CCheckTransmitInfo(CustomType, metaclass=manager):
m_pClientEnt = manager.pointer_attribute('Edict', 0)
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 99 guests