42 std::string
toString(std::string prependString) {
43 std::string retstr = prependString +
".customParam0 = " + std::to_string(
customParam0) +
";\n";
44 retstr += prependString +
".customParam1 = " + std::to_string(
customParam1) +
";\n";
namespace ctre
Definition: paramEnum.h:5
Util class to help custom configs.
Definition: CustomParamConfiguration.h:53
static bool CustomParam0Different(const CustomParamConfiguration &settings)
Definition: CustomParamConfiguration.h:61
static bool CustomParam1Different(const CustomParamConfiguration &settings)
Definition: CustomParamConfiguration.h:66
Configurables for any custom param configs.
Definition: CustomParamConfiguration.h:11
CustomParamConfiguration()
Definition: CustomParamConfiguration.h:24
int customParam1
Custom Param 1.
Definition: CustomParamConfiguration.h:19
bool enableOptimizations
Enable optimizations for ConfigAll (defaults true)
Definition: CustomParamConfiguration.h:23
int customParam0
Custom Param 0.
Definition: CustomParamConfiguration.h:15
std::string toString(std::string prependString)
Definition: CustomParamConfiguration.h:42
std::string toString()
Definition: CustomParamConfiguration.h:34