This repository has been archived by the owner on Sep 23, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
BaseEntity.hpp
55 lines (53 loc) · 1.36 KB
/
BaseEntity.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#pragma once
#include "Include.hpp"
namespace hazedumper
{
class BaseEntity
{
private:
uint32_t base;
Memory* memory = NULL;
public:
Vector3 getBonePosition(uint32_t boneId);
Vector3 getAbsolutePosition();
Vector3 getFeetPosition();
Vector3 getAimPunch();
Vector3 getVelocity();
bool getIsDormant();
bool getInReload();
bool getIsDefusing();
bool isValidPlayer();
bool isOnGround();
bool isInAir();
bool getSpottedByMask();
uint32_t getBoneMatrix();
uint32_t getFlags();
float getFlashDuration();
float getFlashMaxAlpha();
float getNextPrimaryAttack();
uint32_t getClip1();
uint32_t getCrosshairId();
uint32_t getGlowIndex();
uint32_t getHealth();
uint32_t getShotsFired();
uint32_t getState();
uint32_t getTeamNum();
uint32_t getLifeState();
uint32_t getGlowEntity();
uint32_t getForceAttack();
uint32_t getForceForward();
uint32_t getId();
uint32_t getBase();
void setFlashDuration(float duration);
void setForceJump(uint32_t value);
void setForceAttack(uint32_t value);
void setForceAttack2(uint32_t value);
void setForceForward(uint32_t value);
void setSpottedByMask(bool b);
void shoot();
void setAimPunch(Vector3& aimPunch);
BaseEntity();
BaseEntity(Memory* memory, uint32_t base);
~BaseEntity();
};
}