Merge branch 'development' of https://github.com/ToneAPI/pulse into development
This commit is contained in:
@@ -11,10 +11,5 @@
|
|||||||
"After": "GetStatsFromToneAPI"
|
"After": "GetStatsFromToneAPI"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
|
||||||
"ConVars": [
|
|
||||||
{
|
|
||||||
"ToneURL": "https://tone.sleepycat.date/v1"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,7 @@ void function GetStatsFromToneAPI()
|
|||||||
print("[PULSE] Pulse Loaded")
|
print("[PULSE] Pulse Loaded")
|
||||||
HttpRequest getStats
|
HttpRequest getStats
|
||||||
getStats.method = HttpRequestMethod.GET
|
getStats.method = HttpRequestMethod.GET
|
||||||
getStats.url = "https://tone.sleepycat.date/v1" + "/client/weapons"
|
getStats.url = "https://tone.sleepycat.date/v1/client/weapons"
|
||||||
getStats.queryParameters["player"] <- [NSGetLocalPlayerUID().tostring()]
|
getStats.queryParameters["player"] <- [NSGetLocalPlayerUID().tostring()]
|
||||||
void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response)
|
void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user