Load renders for render queue in admin panel, and rerender on rerender button clicked on user page

This commit is contained in:
Lewin Kelly 2023-10-18 18:37:41 +01:00
parent 46b33f5fc8
commit dd323d08ef
3 changed files with 8 additions and 10 deletions

View File

@ -8851,10 +8851,10 @@ declare class DataModel extends ServiceProvider
function GetObjectsAsync(self, url: Content): { Instance } function GetObjectsAsync(self, url: Content): { Instance }
function GetObjectsList(self, urls: { any }): { any } function GetObjectsList(self, urls: { any }): { any }
function GetPlaySessionId(self): string function GetPlaySessionId(self): string
function HttpGet(self, url: string, httpRequestType: EnumHttpRequestType?): string function HttpGet(self, url: string, synchronous: boolean, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string
function HttpGetAsync(self, url: string, httpRequestType: EnumHttpRequestType?): string function HttpGetAsync(self, url: string, synchronous: boolean, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string
function HttpPost(self, url: string, data: string, contentType: string?, httpRequestType: EnumHttpRequestType?): string function HttpPost(self, url: string, data: string, synchronous: boolean, contentType: string?, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string
function HttpPostAsync(self, url: string, data: string, contentType: string?, httpRequestType: EnumHttpRequestType?): string function HttpPostAsync(self, url: string, data: string, synchronous: boolean, contentType: string?, httpRequestType: EnumHttpRequestType?, doNotAllowDiabolicalMode: boolean?): string
function InsertObjectsAndJoinIfLegacyAsync(self, url: Content): { Instance } function InsertObjectsAndJoinIfLegacyAsync(self, url: Content): { Instance }
function IsContentLoaded(self): boolean function IsContentLoaded(self): boolean
function IsLoaded(self): boolean function IsLoaded(self): boolean

View File

@ -32,9 +32,8 @@ game:HttpPost(
.. "&RenderJobID=" .. "&RenderJobID="
.. game.JobId, .. game.JobId,
'{"Status": 1}', '{"Status": 1}',
synchronous, true,
"text/plain", "text/plain"
true
) )
local player = game:GetService("Players"):CreateLocalPlayer(0) local player = game:GetService("Players"):CreateLocalPlayer(0)

View File

@ -32,7 +32,7 @@ game:HttpPost(
.. "&RenderJobID=" .. "&RenderJobID="
.. game.JobId, .. game.JobId,
'{"Status": 1}', '{"Status": 1}',
synchronous, true,
"text/plain", "text/plain",
true true
) )
@ -70,8 +70,7 @@ while true do
.. game.JobId, .. game.JobId,
result, result,
true, true,
"text/plain", "text/plain"
true
) )
end) end)
if not ok then if not ok then