CheatMenuSA/src/player.h

49 lines
1.2 KiB
C
Raw Normal View History

2020-12-02 16:19:16 -05:00
#pragma once
2021-08-06 11:53:18 -04:00
#include "pch.h"
2020-12-02 16:19:16 -05:00
class Player
{
private:
2021-09-20 08:41:40 -04:00
static inline bool m_bGodMode;
static inline bool m_bModloaderInstalled;
struct m_KeepPosition
2020-12-02 16:19:16 -05:00
{
2021-09-20 08:41:40 -04:00
static inline bool m_bEnabled = false;
static inline CVector m_fPos;
};
2021-08-06 11:53:18 -04:00
2021-08-07 12:01:44 -04:00
#ifdef GTASA
2021-09-20 08:41:40 -04:00
static inline bool m_bAimSkinChanger;
static inline bool m_bDrunkEffect;
static inline bool m_bFastSprint;
static inline int m_nUiBodyState;
static inline ResourceStore m_ClothData { "clothes" , eResourceType::TYPE_IMAGE, ImVec2(70, 100)};
struct m_CustomSkins
2020-12-02 16:19:16 -05:00
{
2021-09-20 08:41:40 -04:00
static inline std::string m_Path = paths::GetGameDirPathA() + std::string("\\modloader\\Custom Skins\\");;
static inline ImGuiTextFilter m_Filter;
static inline std::vector<std::string> m_List;
};
struct m_TopDownCamera
{
2021-09-20 08:41:40 -04:00
static inline bool m_bEnabled = false;
static inline float m_fOffset = 40.0f;
};
2021-08-07 12:01:44 -04:00
#elif GTAVC
2021-09-20 08:41:40 -04:00
static inline ResourceStore skinData{ "skin", eResourceType::TYPE_TEXT };
2021-08-07 12:01:44 -04:00
#endif
2020-12-02 16:19:16 -05:00
public:
2021-03-02 14:18:37 -05:00
Player();
2021-08-07 12:01:44 -04:00
static void Draw();
2021-08-06 11:53:18 -04:00
#ifdef GTASA
2020-12-02 16:19:16 -05:00
static void ChangePlayerModel(std::string& model);
2021-08-07 12:01:44 -04:00
static void ChangePlayerCloth(std::string& model);
static void TopDownCameraView();
2021-08-06 11:53:18 -04:00
#elif GTAVC
static void ChangePlayerModel(std::string& cat, std::string& name, std::string& id);
#endif
2020-12-02 16:19:16 -05:00
};