This repository has been archived on 2024-06-01. You can view files and clone it, but cannot push or open issues or pull requests.
cathook/include/reclasses/C_BaseEntity.hpp
nullifiedcat f448e06a87 Revert "clang-format"
This reverts commit 0be1dba24b025ba6ebc26e53cda545c222da7047.
2017-12-02 17:38:44 +03:00

26 lines
471 B
C++

/*
* C_BaseEntity.hpp
*
* Created on: Nov 23, 2017
* Author: nullifiedcat
*/
#pragma once
class C_BaseEntity
{
public:
inline static bool IsPlayer(IClientEntity *self)
{
typedef bool(*fn_t)(IClientEntity *);
return vfunc<fn_t>(self, offsets::PlatformOffset(184, offsets::undefined, 184), 0)(self);
}
inline static int& m_nPredictionRandomSeed()
{
static int placeholder = 0;
return placeholder;
}
};