My Project
|
API methods for executing CloudScript using an Entity Profile. More...
Public Member Functions | |
PlayFabCloudScriptInstanceAPI (PlayFabAuthenticationContext context) | |
PlayFabCloudScriptInstanceAPI (PlayFabApiSettings settings, PlayFabAuthenticationContext context) | |
bool | IsEntityLoggedIn () |
Verify entity login. | |
void | ForgetAllCredentials () |
Clear the Client SessionToken which allows this Client to call API calls requiring login. A new/fresh login will be required after calling this. | |
void | ExecuteEntityCloudScript (ExecuteEntityCloudScriptRequest request, Action< ExecuteCloudScriptResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. | |
void | ExecuteFunction (ExecuteFunctionRequest request, Action< ExecuteFunctionResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Cloud Script is one of PlayFab's most versatile features. It allows client code to request execution of any kind of custom server-side functionality you can implement, and it can be used in conjunction with virtually anything. | |
void | GetFunction (GetFunctionRequest request, Action< GetFunctionResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Gets registered Azure Functions for a given title id and function name. | |
void | ListFunctions (ListFunctionsRequest request, Action< ListFunctionsResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Lists all currently registered Azure Functions for a given title. | |
void | ListHttpFunctions (ListFunctionsRequest request, Action< ListHttpFunctionsResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Lists all currently registered HTTP triggered Azure Functions for a given title. | |
void | ListQueuedFunctions (ListFunctionsRequest request, Action< ListQueuedFunctionsResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Lists all currently registered Queue triggered Azure Functions for a given title. | |
void | PostFunctionResultForEntityTriggeredAction (PostFunctionResultForEntityTriggeredActionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Generate an entity PlayStream event for the provided function result. | |
void | PostFunctionResultForFunctionExecution (PostFunctionResultForFunctionExecutionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Generate an entity PlayStream event for the provided function result. | |
void | PostFunctionResultForPlayerTriggeredAction (PostFunctionResultForPlayerTriggeredActionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Generate a player PlayStream event for the provided function result. | |
void | PostFunctionResultForScheduledTask (PostFunctionResultForScheduledTaskRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Generate a PlayStream event for the provided function result. | |
void | RegisterHttpFunction (RegisterHttpFunctionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Registers an HTTP triggered Azure function with a title. | |
void | RegisterQueuedFunction (RegisterQueuedFunctionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Registers a queue triggered Azure Function with a title. | |
void | UnregisterFunction (UnregisterFunctionRequest request, Action< EmptyResult > resultCallback, Action< PlayFabError > errorCallback, object customData=null, Dictionary< string, string > extraHeaders=null) |
Unregisters an Azure Function with a title. | |
Public Attributes | |
readonly PlayFabApiSettings | apiSettings = null |
readonly PlayFabAuthenticationContext | authenticationContext = null |
API methods for executing CloudScript using an Entity Profile.