@xmobitea/gn-typescript-client 2.5.2-esnext → 2.5.3-esnext
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/runtime/GNNetwork.d.ts +4 -0
- package/dist/runtime/GNNetwork.js +53 -61
- package/dist/runtime/GNNetworkAuthenticateApi.js +36 -81
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +318 -645
- package/dist/runtime/GNNetworkCloudScriptApi.js +30 -69
- package/dist/runtime/GNNetworkContentApi.js +42 -93
- package/dist/runtime/GNNetworkDashboardApi.js +52 -113
- package/dist/runtime/GNNetworkGamePlayerApi.js +312 -633
- package/dist/runtime/GNNetworkGroupApi.js +240 -489
- package/dist/runtime/GNNetworkInventoryApi.js +204 -417
- package/dist/runtime/GNNetworkMasterPlayerApi.js +512 -1033
- package/dist/runtime/GNNetworkMultiplayerApi.js +60 -129
- package/dist/runtime/GNNetworkStoreInventoryApi.js +84 -177
- package/dist/runtime/constant/enumType/OwnerType.d.ts +2 -1
- package/dist/runtime/constant/enumType/OwnerType.js +1 -0
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +1 -1
- package/dist/runtime/entity/models/AuthenticateModels.js +1 -1
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +1 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +4 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +0 -2
- package/dist/runtime/entity/models/ContentModels.js +0 -8
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +1 -0
- package/dist/runtime/entity/models/GamePlayerModels.js +4 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +1 -1
- package/dist/runtime/entity/models/MasterPlayerModels.js +1 -1
- package/dist/runtime/entity/response/UploadFileResponse.d.ts +3 -0
- package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
- package/dist/runtime/helper/GNUtils.d.ts +1 -1
- package/dist/runtime/helper/MessagePackConverterService.d.ts +4 -0
- package/dist/runtime/helper/MessagePackConverterService.js +9 -0
- package/dist/runtime/networking/NetworkingPeer.d.ts +3 -1
- package/dist/runtime/networking/NetworkingPeer.js +20 -1
- package/dist/runtime/networking/http/HttpPeer.d.ts +1 -1
- package/dist/runtime/networking/http/HttpPeer.js +4 -4
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +1 -1
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +2 -1
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +122 -104
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +0 -1
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +2 -2
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +3 -3
- package/package.json +7 -6
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
import { GNNetwork } from "./GNNetwork";
|
|
11
2
|
import { OperationRequest } from "./entity/OperationRequest";
|
|
12
3
|
import { DashboardRequestModels } from "./entity/models/DashboardRequestModels";
|
|
@@ -19,210 +10,158 @@ export class DashboardApi {
|
|
|
19
10
|
changePasswordAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
20
11
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.ChangePasswordAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ChangePasswordAdminAccountOperationResponse);
|
|
21
12
|
}
|
|
22
|
-
changePasswordAdminAccountAsync(
|
|
23
|
-
return
|
|
24
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.ChangePasswordAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ChangePasswordAdminAccountOperationResponse);
|
|
25
|
-
});
|
|
13
|
+
async changePasswordAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
14
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.ChangePasswordAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ChangePasswordAdminAccountOperationResponse);
|
|
26
15
|
}
|
|
27
16
|
getAdminAccountList(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
28
17
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetAdminAccountListOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAdminAccountListOperationResponse);
|
|
29
18
|
}
|
|
30
|
-
getAdminAccountListAsync(
|
|
31
|
-
return
|
|
32
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetAdminAccountListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAdminAccountListOperationResponse);
|
|
33
|
-
});
|
|
19
|
+
async getAdminAccountListAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
20
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetAdminAccountListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAdminAccountListOperationResponse);
|
|
34
21
|
}
|
|
35
22
|
getGameInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
36
23
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetGameInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameInformationOperationResponse);
|
|
37
24
|
}
|
|
38
|
-
getGameInformationAsync(
|
|
39
|
-
return
|
|
40
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetGameInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameInformationOperationResponse);
|
|
41
|
-
});
|
|
25
|
+
async getGameInformationAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
26
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetGameInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameInformationOperationResponse);
|
|
42
27
|
}
|
|
43
28
|
getGameList(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
44
29
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetGameListOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameListOperationResponse);
|
|
45
30
|
}
|
|
46
|
-
getGameListAsync(
|
|
47
|
-
return
|
|
48
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetGameListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameListOperationResponse);
|
|
49
|
-
});
|
|
31
|
+
async getGameListAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
32
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetGameListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetGameListOperationResponse);
|
|
50
33
|
}
|
|
51
34
|
getMasterGameSettings(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
52
35
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetMasterGameSettingsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetMasterGameSettingsOperationResponse);
|
|
53
36
|
}
|
|
54
|
-
getMasterGameSettingsAsync(
|
|
55
|
-
return
|
|
56
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetMasterGameSettingsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetMasterGameSettingsOperationResponse);
|
|
57
|
-
});
|
|
37
|
+
async getMasterGameSettingsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
38
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetMasterGameSettingsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetMasterGameSettingsOperationResponse);
|
|
58
39
|
}
|
|
59
40
|
getSecretInfoInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
60
41
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetSecretInfoInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoInformationOperationResponse);
|
|
61
42
|
}
|
|
62
|
-
getSecretInfoInformationAsync(
|
|
63
|
-
return
|
|
64
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetSecretInfoInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoInformationOperationResponse);
|
|
65
|
-
});
|
|
43
|
+
async getSecretInfoInformationAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
44
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetSecretInfoInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoInformationOperationResponse);
|
|
66
45
|
}
|
|
67
46
|
getSecretInfoList(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
68
47
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetSecretInfoListOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoListOperationResponse);
|
|
69
48
|
}
|
|
70
|
-
getSecretInfoListAsync(
|
|
71
|
-
return
|
|
72
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetSecretInfoListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoListOperationResponse);
|
|
73
|
-
});
|
|
49
|
+
async getSecretInfoListAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
50
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetSecretInfoListOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetSecretInfoListOperationResponse);
|
|
74
51
|
}
|
|
75
52
|
getServerLog(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
76
53
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetServerLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerLogOperationResponse);
|
|
77
54
|
}
|
|
78
|
-
getServerLogAsync(
|
|
79
|
-
return
|
|
80
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetServerLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerLogOperationResponse);
|
|
81
|
-
});
|
|
55
|
+
async getServerLogAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
56
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetServerLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerLogOperationResponse);
|
|
82
57
|
}
|
|
83
58
|
grantAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
84
59
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GrantAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantAdminAccountOperationResponse);
|
|
85
60
|
}
|
|
86
|
-
grantAdminAccountAsync(
|
|
87
|
-
return
|
|
88
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantAdminAccountOperationResponse);
|
|
89
|
-
});
|
|
61
|
+
async grantAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
62
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantAdminAccountOperationResponse);
|
|
90
63
|
}
|
|
91
64
|
grantGame(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
92
65
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GrantGameOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantGameOperationResponse);
|
|
93
66
|
}
|
|
94
|
-
grantGameAsync(
|
|
95
|
-
return
|
|
96
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantGameOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantGameOperationResponse);
|
|
97
|
-
});
|
|
67
|
+
async grantGameAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
68
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantGameOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantGameOperationResponse);
|
|
98
69
|
}
|
|
99
70
|
grantSecretInfo(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
100
71
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GrantSecretInfoOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantSecretInfoOperationResponse);
|
|
101
72
|
}
|
|
102
|
-
grantSecretInfoAsync(
|
|
103
|
-
return
|
|
104
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantSecretInfoOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantSecretInfoOperationResponse);
|
|
105
|
-
});
|
|
73
|
+
async grantSecretInfoAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
74
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GrantSecretInfoOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GrantSecretInfoOperationResponse);
|
|
106
75
|
}
|
|
107
76
|
loginByAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
108
77
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.LoginByAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.LoginByAdminAccountOperationResponse);
|
|
109
78
|
}
|
|
110
|
-
loginByAdminAccountAsync(
|
|
111
|
-
return
|
|
112
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.LoginByAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.LoginByAdminAccountOperationResponse);
|
|
113
|
-
});
|
|
79
|
+
async loginByAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
80
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.LoginByAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.LoginByAdminAccountOperationResponse);
|
|
114
81
|
}
|
|
115
82
|
removeAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
116
83
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.RemoveAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.RemoveAdminAccountOperationResponse);
|
|
117
84
|
}
|
|
118
|
-
removeAdminAccountAsync(
|
|
119
|
-
return
|
|
120
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.RemoveAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.RemoveAdminAccountOperationResponse);
|
|
121
|
-
});
|
|
85
|
+
async removeAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
86
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.RemoveAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.RemoveAdminAccountOperationResponse);
|
|
122
87
|
}
|
|
123
88
|
setGameInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
124
89
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetGameInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetGameInformationOperationResponse);
|
|
125
90
|
}
|
|
126
|
-
setGameInformationAsync(
|
|
127
|
-
return
|
|
128
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetGameInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetGameInformationOperationResponse);
|
|
129
|
-
});
|
|
91
|
+
async setGameInformationAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
92
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetGameInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetGameInformationOperationResponse);
|
|
130
93
|
}
|
|
131
94
|
setMasterGameSettings(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
132
95
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetMasterGameSettingsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetMasterGameSettingsOperationResponse);
|
|
133
96
|
}
|
|
134
|
-
setMasterGameSettingsAsync(
|
|
135
|
-
return
|
|
136
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetMasterGameSettingsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetMasterGameSettingsOperationResponse);
|
|
137
|
-
});
|
|
97
|
+
async setMasterGameSettingsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
98
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetMasterGameSettingsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetMasterGameSettingsOperationResponse);
|
|
138
99
|
}
|
|
139
100
|
setPasswordAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
140
101
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetPasswordAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetPasswordAdminAccountOperationResponse);
|
|
141
102
|
}
|
|
142
|
-
setPasswordAdminAccountAsync(
|
|
143
|
-
return
|
|
144
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetPasswordAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetPasswordAdminAccountOperationResponse);
|
|
145
|
-
});
|
|
103
|
+
async setPasswordAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
104
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetPasswordAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetPasswordAdminAccountOperationResponse);
|
|
146
105
|
}
|
|
147
106
|
setSecretInfoInformation(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
148
107
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetSecretInfoInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretInfoInformationOperationResponse);
|
|
149
108
|
}
|
|
150
|
-
setSecretInfoInformationAsync(
|
|
151
|
-
return
|
|
152
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetSecretInfoInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretInfoInformationOperationResponse);
|
|
153
|
-
});
|
|
109
|
+
async setSecretInfoInformationAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
110
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetSecretInfoInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretInfoInformationOperationResponse);
|
|
154
111
|
}
|
|
155
112
|
setSecretKeyAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
156
113
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse);
|
|
157
114
|
}
|
|
158
|
-
setSecretKeyAdminAccountAsync(
|
|
159
|
-
return
|
|
160
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse);
|
|
161
|
-
});
|
|
115
|
+
async setSecretKeyAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
116
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetSecretKeyAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetSecretKeyAdminAccountOperationResponse);
|
|
162
117
|
}
|
|
163
118
|
getUsernameAdminAccount(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
164
119
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetUsernameAdminAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetUsernameAdminAccountOperationResponse);
|
|
165
120
|
}
|
|
166
|
-
getUsernameAdminAccountAsync(
|
|
167
|
-
return
|
|
168
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetUsernameAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetUsernameAdminAccountOperationResponse);
|
|
169
|
-
});
|
|
121
|
+
async getUsernameAdminAccountAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
122
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetUsernameAdminAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetUsernameAdminAccountOperationResponse);
|
|
170
123
|
}
|
|
171
124
|
getAnalytics(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
172
125
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetAnalyticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAnalyticsOperationResponse);
|
|
173
126
|
}
|
|
174
|
-
getAnalyticsAsync(
|
|
175
|
-
return
|
|
176
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetAnalyticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAnalyticsOperationResponse);
|
|
177
|
-
});
|
|
127
|
+
async getAnalyticsAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
128
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetAnalyticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetAnalyticsOperationResponse);
|
|
178
129
|
}
|
|
179
130
|
getEventCallbackCloudScript(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
180
131
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse);
|
|
181
132
|
}
|
|
182
|
-
getEventCallbackCloudScriptAsync(
|
|
183
|
-
return
|
|
184
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse);
|
|
185
|
-
});
|
|
133
|
+
async getEventCallbackCloudScriptAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
134
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetEventCallbackCloudScriptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetEventCallbackCloudScriptOperationResponse);
|
|
186
135
|
}
|
|
187
136
|
setEventCallbackCloudScript(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
188
137
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse);
|
|
189
138
|
}
|
|
190
|
-
setEventCallbackCloudScriptAsync(
|
|
191
|
-
return
|
|
192
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse);
|
|
193
|
-
});
|
|
139
|
+
async setEventCallbackCloudScriptAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
140
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.SetEventCallbackCloudScriptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.SetEventCallbackCloudScriptOperationResponse);
|
|
194
141
|
}
|
|
195
142
|
resetStatisticsLeaderboard(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
196
143
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse);
|
|
197
144
|
}
|
|
198
|
-
resetStatisticsLeaderboardAsync(
|
|
199
|
-
return
|
|
200
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse);
|
|
201
|
-
});
|
|
145
|
+
async resetStatisticsLeaderboardAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
146
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.ResetStatisticsLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.ResetStatisticsLeaderboardOperationResponse);
|
|
202
147
|
}
|
|
203
148
|
getBackupStatisticsLeaderboardVersion(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
204
149
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse);
|
|
205
150
|
}
|
|
206
|
-
getBackupStatisticsLeaderboardVersionAsync(
|
|
207
|
-
return
|
|
208
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse);
|
|
209
|
-
});
|
|
151
|
+
async getBackupStatisticsLeaderboardVersionAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
152
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetBackupStatisticsLeaderboardVersionOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetBackupStatisticsLeaderboardVersionOperationResponse);
|
|
210
153
|
}
|
|
211
154
|
getServerGameData(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
212
155
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.GetServerGameDataOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerGameDataOperationResponse);
|
|
213
156
|
}
|
|
214
|
-
getServerGameDataAsync(
|
|
215
|
-
return
|
|
216
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetServerGameDataOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerGameDataOperationResponse);
|
|
217
|
-
});
|
|
157
|
+
async getServerGameDataAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
158
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.GetServerGameDataOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.GetServerGameDataOperationResponse);
|
|
218
159
|
}
|
|
219
160
|
deleteInDatabase(requestData, onResponse = null, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
220
161
|
GNNetwork.sendViaHttpTRequestTResponse(new DashboardRequestModels.DeleteInDatabaseOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.DeleteInDatabaseOperationResponse);
|
|
221
162
|
}
|
|
222
|
-
deleteInDatabaseAsync(
|
|
223
|
-
return
|
|
224
|
-
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.DeleteInDatabaseOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.DeleteInDatabaseOperationResponse);
|
|
225
|
-
});
|
|
163
|
+
async deleteInDatabaseAsync(requestData, overrideAuthToken = null, overrideSecretKey = null, customTags = null, timeout = OperationRequest.defaultTimeOut) {
|
|
164
|
+
return GNNetwork.sendViaHttpTRequestTResponseAsync(new DashboardRequestModels.DeleteInDatabaseOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags, DashboardResponseModels.DeleteInDatabaseOperationResponse);
|
|
226
165
|
}
|
|
227
166
|
}
|
|
228
167
|
export class ServerDashboardApi {
|