virtual void doJumpSimulation (bz_BasePlayerRecord *playerData); . . . int playerID = ((bz_PlayerUpdateEventData_V1*)eventData)->player; bz_BasePlayerRecord player = *bz_getPlayerByIndex(playerID); cheatChecks::doJumpSimulation( player* );