struct skins_s
{
int skins_itemdefindex;
int skins_paintkit;
int skins_seed;
int skins_stattrak;
int skins_quality;
char skins_name[32];
float skins_wear;
};
struct sticker_s
{
int sticker_id;
float sticker_wear;
float sticker_scale = 1.f;
float sticker_rotation;
};
class Sticker_t
{
public:
int iID = 0;
float flWear = 0.f;
float flScale = 1.f;
int iRotation = 0;
};
struct medal_s
{
int medal_id = 0;
std::string medal_kitname;
};
struct skininfo
{
int seed = -1;
int paintkit;
int rarity;
std::string tagName;
std::string cdn_name;
};
struct inventoryinfo
{
int paint_kit;
int rarity;
std::string name;
};
struct statrack_setting
{
int definition_index = 1;
struct
{
int counter = 0;
}statrack_new;
};
struct item_setting
{
char name[32] = "Default";
int stickers_place = 0;
int definition_vector_index = 0;
int definition_index = 0;
bool enabled_stickers = 0;
int paint_kit_vector_index = 0;
int paint_kit_index = 0;
int definition_override_vector_index = 0;
int definition_override_index = 0;
int seed = 0;
bool stat_trak = 0;
float wear = FLT_MIN;
char custom_name[32] = "";
};
class Config
{
public:
//
// AIM
//
struct
{
struct
{
bool skin_preview = false;
bool show_cur = true;
std::map<int, statrack_setting> statrack_items = { };
std::map<int, item_setting> m_items = { };
std::map<std::string, std::string> m_icon_overrides = { };
}skin;
}changers;
std::map<short, weapons> aim_settings;
bool autofire = false;
int autofire_key = 0;
bool trigger_enabled = false;
int trigger_key = 0;
int legit_backtrack_time = 0;
int legit_backtrack_skeletons = 0;
bool legit_autofire = false;
float legit_autofire_dmg = 0;
int keyAF = 0;
int key = 0;
//
// SKINS
//
std::map<int, skins_s> skin_settings;
std::unordered_map<std::string, std::set<std::string>> weaponskins;
std::unordered_map<std::string, skininfo> skinmap;
std::unordered_map<std::string, std::string> skinnames;
std::map<int, std::map<int, inventoryinfo>> inventoryskins;
std::vector<skininfo> medalmap;
}