style: misc changes
This commit is contained in:
@@ -8,3 +8,4 @@ for /r "src" %%f in (*.cpp *.h *.cs) do (
|
|||||||
|
|
||||||
echo done
|
echo done
|
||||||
pause
|
pause
|
||||||
|
|
||||||
@@ -338,7 +338,7 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
|||||||
|
|
||||||
if (url.find("api/v1/extensions/store/getCatalogItems") != std::string::npos) return parseAndDumpCatalog(body);
|
if (url.find("api/v1/extensions/store/getCatalogItems") != std::string::npos) return parseAndDumpCatalog(body);
|
||||||
|
|
||||||
if (url.find("/api/v1/messages/listV2") != std::string::npos)
|
if (url.find("api/v1/messages/listV2") != std::string::npos)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -382,9 +382,8 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
|||||||
|
|
||||||
bodyContent["sections"].push_back(
|
bodyContent["sections"].push_back(
|
||||||
{{"type", "itemshowcase"},
|
{{"type", "itemshowcase"},
|
||||||
{"rewards", json::array({
|
{"rewards",
|
||||||
{{"type", "inventory"}, {"id", "ADDON_flashlight_oddbulb"}, {"amount", 1}}
|
json::array({{{"type", "inventory"}, {"id", "ADDON_flashlight_oddbulb"}, {"amount", 1}}})}});
|
||||||
})}});
|
|
||||||
|
|
||||||
msg["message"] = {};
|
msg["message"] = {};
|
||||||
msg["message"]["title"] = "Japan is turning footsteps into electricity";
|
msg["message"]["title"] = "Japan is turning footsteps into electricity";
|
||||||
|
|||||||
Reference in New Issue
Block a user