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-06-18 12:49:11 -04:00
|
|
|
inline static bool m_bGodMode;
|
|
|
|
inline static bool m_bModloaderInstalled;
|
2021-06-19 09:00:13 -04:00
|
|
|
struct m_KeepPosition
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
inline static bool m_bEnabled = false;
|
|
|
|
inline static CVector m_fPos;
|
2021-06-19 09:00:13 -04:00
|
|
|
};
|
2021-08-06 11:53:18 -04:00
|
|
|
|
2021-08-07 12:01:44 -04:00
|
|
|
#ifdef GTASA
|
|
|
|
inline static bool m_bAimSkinChanger;
|
2021-08-06 11:53:18 -04:00
|
|
|
inline static int m_nUiBodyState;
|
2021-08-12 23:28:19 -04:00
|
|
|
inline static ResourceStore m_ClothData { "clothes" };
|
2021-06-19 09:00:13 -04:00
|
|
|
struct m_CustomSkins
|
2020-12-02 16:19:16 -05:00
|
|
|
{
|
2021-06-18 12:49:11 -04:00
|
|
|
inline static std::string m_Path = paths::GetGameDirPathA() + std::string("\\modloader\\Custom Skins\\");;
|
|
|
|
inline static ImGuiTextFilter m_Filter;
|
|
|
|
inline static std::vector<std::string> m_List;
|
2021-06-19 09:00:13 -04:00
|
|
|
};
|
2021-08-07 12:01:44 -04:00
|
|
|
#elif GTAVC
|
2021-08-12 23:28:19 -04:00
|
|
|
inline static 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);
|
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
|
|
|
};
|