CheatMenuSA/src/filehandler.h
2021-10-25 20:03:27 +06:00

25 lines
690 B
C++

#pragma once
#include <map>
#include <vector>
#include <string>
class FileHandler
{
public:
FileHandler() = delete;
FileHandler(FileHandler&) = delete;
/*
Parses data/carcols.dat file and stores color data
TODO: Implement something that also parses modloader data
*/
static void FetchColorData(std::vector<std::vector<float>>& storeVec);
/*
Parses data/vehicles.ide file and stores handingId in a map
TODO: Implement something that also parses modloader data
*/
static void FetchHandlingID(std::map<int, std::string>& storeMap);
static void GenerateHandlingFile(int pHandling, std::map<int, std::string>& storeMap);
};