public static void GetCloudScriptRevision(GetCloudScriptRevisionRequest request, Action <GetCloudScriptRevisionResult> resultCb, Action <EditorModels.PlayFabError> errorCb) { var titleId = PlayFabEditorDataService.SharedSettings.TitleId; var apiEndpoint = "https://" + titleId + PlayFabEditorHelper.TITLE_ENDPOINT; PlayFabEditorHttp.MakeApiCall("/Admin/GetCloudScriptRevision", apiEndpoint, request, resultCb, errorCb); }
public static void GetTitleInternalData(Action <GetTitleDataResult> resultCb, Action <EditorModels.PlayFabError> errorCb) { var titleId = PlayFabEditorDataService.SharedSettings.TitleId; var apiEndpoint = "https://" + titleId + PlayFabEditorHelper.TITLE_ENDPOINT; PlayFabEditorHttp.MakeApiCall("/Admin/GetTitleInternalData", apiEndpoint, new GetTitleDataRequest(), resultCb, errorCb); }
public static void CreateTitle(CreateTitleRequest request, Action <RegisterAccountResult> resultCallback, Action <EditorModels.PlayFabError> errorCb) { var token = PlayFabEditorDataService.AccountDetails.devToken; request.DeveloperClientToken = token; PlayFabEditorHttp.MakeApiCall("/DeveloperTools/User/CreateTitle", PlayFabEditorHelper.DEV_API_ENDPOINT, request, resultCallback, errorCb); }
public static void GetStudios(GetStudiosRequest request, Action <GetStudiosResult> resultCallback, Action <EditorModels.PlayFabError> errorCb) { var token = PlayFabEditorDataService.AccountDetails.devToken; request.DeveloperClientToken = token; PlayFabEditorHttp.MakeApiCall("/DeveloperTools/User/GetStudios", PlayFabEditorHelper.DEV_API_ENDPOINT, request, resultCallback, errorCb); }
public static void UpdateCloudScript(UpdateCloudScriptRequest request, Action <UpdateCloudScriptResult> resultCb, Action <EditorModels.PlayFabError> errorCb) { var titleId = SharedSettings.TitleId; var apiEndpoint = "https://" + titleId + PlayFabEditorHelper.TITLE_ENDPOINT; PlayFabEditorHttp.MakeApiCall("/Admin/UpdateCloudScript", apiEndpoint, request, resultCb, errorCb); }
public static void SetTitleInternalData(Dictionary <string, string> keys, Action <SetTitleDataResult> resultCb, Action <EditorModels.PlayFabError> errorCb) { foreach (var pair in keys) { var req = new SetTitleDataRequest { Key = pair.Key, Value = pair.Value }; var titleId = PlayFabEditorDataService.SharedSettings.TitleId; var apiEndpoint = "https://" + titleId + PlayFabEditorHelper.TITLE_ENDPOINT; PlayFabEditorHttp.MakeApiCall("/Admin/SetTitleInternalData", apiEndpoint, req, resultCb, errorCb); } }
public static void RegisterAccouint(RegisterAccountRequest request, Action <RegisterAccountResult> resultCallback, Action <EditorModels.PlayFabError> errorCb) { PlayFabEditorHttp.MakeApiCall("/DeveloperTools/User/RegisterAccount", PlayFabEditorHelper.DEV_API_ENDPOINT, request, resultCallback, errorCb); }
public static void Logout(LogoutRequest request, Action <LogoutResult> resultCallback, Action <EditorModels.PlayFabError> errorCb) { PlayFabEditorHttp.MakeApiCall("/DeveloperTools/User/Logout", PlayFabEditorHelper.DEV_API_ENDPOINT, request, resultCallback, errorCb); }