CheatMenuSA/src/filehandler.h

25 lines
690 B
C
Raw Normal View History

#pragma once
#include <map>
2021-10-24 18:08:00 -04:00
#include <vector>
2021-10-25 10:03:27 -04:00
#include <string>
class FileHandler
{
public:
FileHandler() = delete;
2021-10-25 10:03:27 -04:00
FileHandler(FileHandler&) = delete;
/*
2021-10-23 16:57:34 -04:00
Parses data/carcols.dat file and stores color data
TODO: Implement something that also parses modloader data
*/
2021-10-25 10:03:27 -04:00
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
*/
2021-10-25 10:03:27 -04:00
static void FetchHandlingID(std::map<int, std::string>& storeMap);
static void GenerateHandlingFile(int pHandling, std::map<int, std::string>& storeMap);
};
2021-10-25 10:03:27 -04:00