style: misc formatting changes
This commit is contained in:
@@ -183,13 +183,15 @@ void Spoofer::loadConfig()
|
|||||||
json defaultConfig = {{"spoofCharacterOwnership", _config.spoofCharacterOwnership},
|
json defaultConfig = {{"spoofCharacterOwnership", _config.spoofCharacterOwnership},
|
||||||
{"spoofInventory", _config.spoofInventory},
|
{"spoofInventory", _config.spoofInventory},
|
||||||
{"spoofCustomization", _config.spoofCustomization},
|
{"spoofCustomization", _config.spoofCustomization},
|
||||||
{"accessKey", _config.accessKey}, {"keyId", _config.keyId}};
|
{"accessKey", _config.accessKey},
|
||||||
|
{"keyId", _config.keyId}};
|
||||||
std::ofstream out(configPath);
|
std::ofstream out(configPath);
|
||||||
out << defaultConfig.dump(4);
|
out << defaultConfig.dump(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
Log::info("Loaded config: Ownership={}, Inventory={}, Customization={}, AccessKey={}, keyId={}",
|
Log::info("Loaded config: Ownership={}, Inventory={}, Customization={}, AccessKey={}, keyId={}",
|
||||||
_config.spoofCharacterOwnership, _config.spoofInventory, _config.spoofCustomization, _config.accessKey, _config.keyId);
|
_config.spoofCharacterOwnership, _config.spoofInventory, _config.spoofCustomization, _config.accessKey,
|
||||||
|
_config.keyId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user