This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/csgo/sdk/IPrediction.h
2020-08-04 13:13:01 -04:00

17 lines
656 B
C++

#pragma once
class IPrediction {
public:
void SetupMove(IClientEntity* player, CUserCmd* cmd, IMoveHelper* helper,
CMoveData* move) {
typedef void (*oSetupMove)(void*, IClientEntity*, CUserCmd*,
IMoveHelper*, CMoveData*);
return getvfunc<oSetupMove>(this, 21)(this, player, cmd, helper, move);
}
void FinishMove(IClientEntity* player, CUserCmd* cmd, CMoveData* move) {
typedef void (*oFinishMove)(void*, IClientEntity*, CUserCmd*,
CMoveData*);
return getvfunc<oFinishMove>(this, 22)(this, player, cmd, move);
}
};