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/NavBot.hpp
2019-04-15 16:43:16 +02:00

29 lines
466 B
C++

#pragma once
#include "common.hpp"
namespace hacks::tf2::NavBot
{
bool init(bool first_cm);
namespace task
{
enum task : uint8_t
{
none = 0,
sniper_spot,
stay_near,
health,
ammo,
followbot,
outofbounds
};
constexpr std::array<task, 2> blocking_tasks{ followbot, outofbounds };
extern task current_task;
} // namespace task
struct bot_class_config
{
float min;
float preferred;
float max;
};
} // namespace hacks::tf2::NavBot