This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
PlayFabCloudScriptAPI.h
74 lines (35 loc) · 4.34 KB
/
PlayFabCloudScriptAPI.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#import <Foundation/Foundation.h>
#import "PlayFabCloudScriptDataModels.h"
#import "PlayFabError.h"
#import "PlayFabSettings.h"
@interface PlayFabCloudScriptAPI : NSObject
+(NSString*) GetURL;
typedef void(^ExecuteEntityCloudScriptCallback)(CloudScriptExecuteCloudScriptResult* result, NSObject* userData);
typedef void(^ExecuteFunctionCallback)(CloudScriptExecuteFunctionResult* result, NSObject* userData);
typedef void(^GetFunctionCallback)(CloudScriptGetFunctionResult* result, NSObject* userData);
typedef void(^ListFunctionsCallback)(CloudScriptListFunctionsResult* result, NSObject* userData);
typedef void(^ListHttpFunctionsCallback)(CloudScriptListHttpFunctionsResult* result, NSObject* userData);
typedef void(^ListQueuedFunctionsCallback)(CloudScriptListQueuedFunctionsResult* result, NSObject* userData);
typedef void(^PostFunctionResultForEntityTriggeredActionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^PostFunctionResultForFunctionExecutionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^PostFunctionResultForPlayerTriggeredActionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^PostFunctionResultForScheduledTaskCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^RegisterHttpFunctionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^RegisterQueuedFunctionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
typedef void(^UnregisterFunctionCallback)(CloudScriptEmptyResult* result, NSObject* userData);
+ (PlayFabClientAPI*) GetInstance;
// ------------ Generated API calls
-(void) ExecuteEntityCloudScript:(CloudScriptExecuteEntityCloudScriptRequest*)request success:(ExecuteEntityCloudScriptCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) ExecuteFunction:(CloudScriptExecuteFunctionRequest*)request success:(ExecuteFunctionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) GetFunction:(CloudScriptGetFunctionRequest*)request success:(GetFunctionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) ListFunctions:(CloudScriptListFunctionsRequest*)request success:(ListFunctionsCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) ListHttpFunctions:(CloudScriptListFunctionsRequest*)request success:(ListHttpFunctionsCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) ListQueuedFunctions:(CloudScriptListFunctionsRequest*)request success:(ListQueuedFunctionsCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) PostFunctionResultForEntityTriggeredAction:(CloudScriptPostFunctionResultForEntityTriggeredActionRequest*)request success:(PostFunctionResultForEntityTriggeredActionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) PostFunctionResultForFunctionExecution:(CloudScriptPostFunctionResultForFunctionExecutionRequest*)request success:(PostFunctionResultForFunctionExecutionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) PostFunctionResultForPlayerTriggeredAction:(CloudScriptPostFunctionResultForPlayerTriggeredActionRequest*)request success:(PostFunctionResultForPlayerTriggeredActionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) PostFunctionResultForScheduledTask:(CloudScriptPostFunctionResultForScheduledTaskRequest*)request success:(PostFunctionResultForScheduledTaskCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) RegisterHttpFunction:(CloudScriptRegisterHttpFunctionRequest*)request success:(RegisterHttpFunctionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) RegisterQueuedFunction:(CloudScriptRegisterQueuedFunctionRequest*)request success:(RegisterQueuedFunctionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
-(void) UnregisterFunction:(CloudScriptUnregisterFunctionRequest*)request success:(UnregisterFunctionCallback)callback failure:(ErrorCallback)errorCallback withUserData:(NSObject*)userData;
@end