mirror of
https://github.com/SunsetMkt/Akebi-GC.git
synced 2025-09-19 03:56:05 +08:00
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
#pragma once
|
|
#include <cheat-base/cheat/Feature.h>
|
|
#include <cheat-base/config/config.h>
|
|
|
|
namespace cheat::feature
|
|
{
|
|
|
|
class GodMode : public Feature
|
|
{
|
|
public:
|
|
config::Field<config::Toggle<Hotkey>> f_Enabled;
|
|
|
|
static GodMode& GetInstance();
|
|
|
|
const FeatureGUIInfo& GetGUIInfo() const override;
|
|
void DrawMain() override;
|
|
|
|
bool NeedStatusDraw() const override;
|
|
void DrawStatus() override;
|
|
|
|
private:
|
|
|
|
bool NeedBlockHanlerModifierThinkTimeUp(app::Object* arg);
|
|
static bool MoleMole_ActorAbilityPlugin_HanlderModifierThinkTimerUp_Hook(app::ActorAbilityPlugin* __this, float delay, app::Object* arg, MethodInfo* method);
|
|
|
|
//static void LCBaseCombat_FireBeingHitEvent_Hook(app::LCBaseCombat* __this, uint32_t attackeeRuntimeID, app::AttackResult* attackResult, MethodInfo* method);
|
|
static void VCHumanoidMove_NotifyLandVelocity_Hook(app::VCHumanoidMove* __this, app::Vector3 velocity, float reachMaxDownVelocityTime, MethodInfo* method);
|
|
static bool Miscs_CheckTargetAttackable_Hook(app::BaseEntity* attacker, app::BaseEntity* target, MethodInfo* method);
|
|
|
|
GodMode();
|
|
};
|
|
}
|
|
|