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/hacks/Trigger.hpp

33 lines
515 B
C++
Executable File

/*
* HTrigger.h
*
* Created on: Oct 5, 2016
* Author: nullifiedcat
*/
#pragma once
#include "common.hpp"
class CatVar;
namespace hacks
{
namespace shared
{
namespace triggerbot
{
void CreateMove();
bool ShouldShoot();
bool IsTargetStateGood(CachedEntity *entity);
CachedEntity *FindEntInSight(float range);
bool HeadPreferable(CachedEntity *target);
bool UpdateAimkey();
float EffectiveTargetingRange();
void Draw();
bool CheckLineBox(Vector B1, Vector B2, Vector L1, Vector L2, Vector &Hit);
}
}
}