@xmobitea/gn-server 2.4.16 → 2.5.1
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/GN-app-api/handler/controller/handler/characterPlayer/GetCreateLeaderboardRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLeaderboardRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetCurrencyLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetLastLoginLeaderboardRequestHandler.d.ts +22 -0
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLeaderboardRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/GetStatisticsLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/characterPlayer/SetDisplayNameRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/content/SetContentDataRequestHandler.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/DeleteInDatabaseRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/GrantGameRequestHandler.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/SetMasterGameSettingsRequestHandler.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/CharacterPlayerPermissionRulesParam.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/dashboard/model/StoreInventoryPermissionRulesParam.d.ts +2 -0
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetCurrencyLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GetStatisticsLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/gamePlayer/GrantPlayerCharacterRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/group/GetCurrencyLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/group/GetStatisticsLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/inventory/GetStatisticsLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetCurrencyLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/masterPlayer/GetStatisticsLogRequestHandler.d.ts +0 -1
- package/dist/GN-app-api/handler/controller/handler/storeInventory/GetStoreUsedRequestHandler.d.ts +17 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/RemoveStoreUsedRequestHandler.d.ts +18 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/SetStoreItemInformationRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/StoreItemBaseRequestHandler.d.ts +1 -0
- package/dist/GN-app-api/handler/controller/handler/storeInventory/model/InfoRequestParam.d.ts +1 -0
- package/dist/GN-app-api/service/CacheService.d.ts +36 -0
- package/dist/GN-app-api/service/CloudScriptService.d.ts +2 -0
- package/dist/GN-app-api/service/ConfigService.d.ts +14 -0
- package/dist/{GN-library/xmail/lib/xMail.d.ts → GN-app-api/service/EmailService.d.ts} +3 -10
- package/dist/GN-app-api/service/EventCallbackService.d.ts +1 -0
- package/dist/GN-app-api/service/ICacheService.d.ts +15 -0
- package/dist/GN-app-api/service/IConfigService.d.ts +15 -0
- package/dist/GN-app-api/service/IEmailService.d.ts +10 -0
- package/dist/GN-app-api/service/IPushNotificationService.d.ts +17 -2
- package/dist/{GN-library/xnotification/lib/xPushNotification.d.ts → GN-app-api/service/PushNotificationService.d.ts} +8 -13
- package/dist/GN-common/constant/OperationCode.d.ts +2 -0
- package/dist/GN-common/constant/enumType/OwnerType.d.ts +2 -1
- package/dist/GN-common/constant/enumType/StoreItemType.d.ts +4 -0
- package/dist/GN-common/constant/errorCode/GNErrorCode.d.ts +2 -0
- package/dist/GN-common/constant/parameterCode/GNParameterCode.d.ts +4 -0
- package/dist/GN-common/entity/SecretInfo.d.ts +3 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/StoreInventory.d.ts +4 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/UploadFileInfo.d.ts +4 -2
- package/dist/GN-library/xdatabase/lib/entity/pro/findOptions/FileUploadInfoFindOptions.d.ts +9 -0
- package/dist/GN-library/xdatabase/lib/entity/pro/findOptions/StoreInventoryFindOptions.d.ts +1 -0
- package/dist/GN-library/xdatabase/lib/xDatabase.d.ts +15 -1
- package/dist/GN-startup/DefaultApplicationStartup.d.ts +2 -1
- package/dist/GN-startup/HttpApp.d.ts +6 -0
- package/dist/GN-startup/ServerApplication.d.ts +4 -0
- package/dist/GN-startup/cloudScript/eventCallbackCloudScriptData.json +20 -5
- package/dist/GN-startup/cloudScript/templateCloudScript.ts +203 -165
- package/dist/GN-startup/cloudScript/templateEventCallback.ts +263 -225
- package/dist/GN-startup/routes/ClusterHandler.d.ts +34 -0
- package/dist/GN-startup/routes/UploadFileHandler.d.ts +1 -0
- package/dist/GN-startup/settings/ApplicationSettings.d.ts +3 -0
- package/dist/GN-startup/settings/ClusterSettings.d.ts +29 -0
- package/dist/GNServer.d.ts +16 -13
- package/dist/index.d.ts +20 -14
- package/dist/index.js +74426 -82363
- package/gn.sh +19 -7
- package/package.json +4 -7
- package/dist/GN-library/xcachedata/lib/xCacheData.d.ts +0 -10
- package/dist/GN-library/xcachedata/lib/xCacheItem.d.ts +0 -8
- package/dist/GN-library/xconfig/lib/entity/xConfigItem.d.ts +0 -9
- package/dist/GN-library/xconfig/lib/xConfig.d.ts +0 -15
|
@@ -13,6 +13,7 @@ import { InventoryFindOptions } from "./entity/pro/findOptions/InventoryFindOpti
|
|
|
13
13
|
import { StoreInventoryFindOptions } from "./entity/pro/findOptions/StoreInventoryFindOptions";
|
|
14
14
|
import { StoreInventory } from "./entity/pro/StoreInventory";
|
|
15
15
|
import { UploadFileInfo } from "./entity/pro/UploadFileInfo";
|
|
16
|
+
import { FileUploadInfoFindOptions } from "./entity/pro/findOptions/FileUploadInfoFindOptions";
|
|
16
17
|
interface OnMongoRunError {
|
|
17
18
|
(error: mongoDB.AnyError): void;
|
|
18
19
|
}
|
|
@@ -120,9 +121,11 @@ export declare class xDatabase {
|
|
|
120
121
|
loadCharacterPlayersWithSegmentAsync(segment: string, skip: number, limit: number, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
121
122
|
loadCharacterPlayersWithTagAsync(key: string, value: string, skip: number, limit: number, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
122
123
|
loadCharacterPlayersWithDisplayNameAsync(keyword: string, skip: number, limit: number, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
124
|
+
loadCharacterPlayerWithDisplayNameAsync(displayNameNormalize: string, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<CharacterPlayer>;
|
|
123
125
|
loadCharacterPlayersLeaderboardWithStatisticsAsync(key: string, skip: number, limit: number, catalogId: string, gameId: string, direction: -1 | 1, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
124
126
|
loadCharacterPlayersLeaderboardWithStatisticsAllAsync(key: string, catalogId: string, gameId: string, direction: -1 | 1, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
125
127
|
loadCharacterPlayersLeaderboardWithCreateAsync(skip: number, limit: number, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
128
|
+
loadCharacterPlayersLeaderboardWithLastLoginAsync(skip: number, limit: number, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
126
129
|
loadCharacterPlayersLeaderboardWithCurrenciesAsync(key: string, skip: number, limit: number, catalogId: string, gameId: string, characterPlayerFindOptions?: CharacterPlayerFindOptions): Promise<Array<CharacterPlayer>>;
|
|
127
130
|
loadPositionCharacterPlayerLeaderboardWithStatisticsAsync(key: string, characterId: string, catalogId: string, gameId: string, initialValue: number, direction: -1 | 1): Promise<number>;
|
|
128
131
|
loadPositionCharacterPlayerLeaderboardWithCurrenciesAsync(key: string, userId: string, catalogId: string, gameId: string): Promise<number>;
|
|
@@ -200,6 +203,17 @@ export declare class xDatabase {
|
|
|
200
203
|
}[], gameId: string): Promise<void>;
|
|
201
204
|
loadInventoryStatisticsLogAsync($filter: {}, gameId: string, limit: number): Promise<mongoDB.FindCursor<mongoDB.WithId<mongoDB.BSON.Document>>>;
|
|
202
205
|
private convertToStoreInventories;
|
|
206
|
+
getStoreInventoryUsedAsync(storeId: string, gameId: string): Promise<{
|
|
207
|
+
storeId: string;
|
|
208
|
+
useIds: {
|
|
209
|
+
id: string;
|
|
210
|
+
type: number;
|
|
211
|
+
tsCreate: number;
|
|
212
|
+
}[];
|
|
213
|
+
}>;
|
|
214
|
+
insertStoreInventoryUsedAsync(storeId: string, gameId: string, ownerId: string, ownerType: number): Promise<void>;
|
|
215
|
+
removeStoreInventoryUsedAsync(storeId: string, gameId: string, ownerIds: string[]): Promise<void>;
|
|
216
|
+
getCountStoreInventoryUsedAsync(storeId: string, gameId: string, ownerId: string): Promise<number>;
|
|
203
217
|
loadStoreInventoryAsync(storeId: string, gameId: string, storeInventoryFindOptions?: StoreInventoryFindOptions): Promise<StoreInventory>;
|
|
204
218
|
loadStoreInventoryByFacebookStoreAsync(productId: string, gameId: string, storeInventoryFindOptions?: StoreInventoryFindOptions): Promise<StoreInventory>;
|
|
205
219
|
loadStoreInventoryByAppleAppStoreAsync(productId: string, gameId: string, storeInventoryFindOptions?: StoreInventoryFindOptions): Promise<StoreInventory>;
|
|
@@ -222,7 +236,7 @@ export declare class xDatabase {
|
|
|
222
236
|
insertGroupCurrencyLogAsync(groupId: string, gameId: string, key: string, amount: number, startValue: number, finalValue: number, log: string): Promise<void>;
|
|
223
237
|
loadGroupStatisticsLogAsync($filter: {}, gameId: string, limit: number): Promise<mongoDB.FindCursor<mongoDB.WithId<mongoDB.BSON.Document>>>;
|
|
224
238
|
loadGroupCurrencyLogAsync($filter: {}, gameId: string, limit: number): Promise<mongoDB.FindCursor<mongoDB.WithId<mongoDB.BSON.Document>>>;
|
|
225
|
-
loadUploadFileInfoAsync(fileId: string): Promise<UploadFileInfo>;
|
|
239
|
+
loadUploadFileInfoAsync(fileId: string, fileUploadInfoFindOptions?: FileUploadInfoFindOptions): Promise<UploadFileInfo>;
|
|
226
240
|
createUploadFileInfoAsync(result: any): Promise<UploadFileInfo>;
|
|
227
241
|
private getFindOptions;
|
|
228
242
|
}
|
|
@@ -9,9 +9,10 @@ import { OnRunSuccess } from "./../GN-library/xbuilder/lib/OnRunSuccess";
|
|
|
9
9
|
import { LogSettings } from "./settings/LogSettings";
|
|
10
10
|
import { UploadFileSettings } from "./settings/UploadFileSettings";
|
|
11
11
|
import { DdosSettings } from "./settings/DDosSettings";
|
|
12
|
+
import { ClusterSettings } from "./settings/ClusterSettings";
|
|
12
13
|
export declare class DefaultApplicationStartup {
|
|
13
14
|
protected serverApplication: ServerApplication;
|
|
14
15
|
run(onRunSuccess?: OnRunSuccess): void;
|
|
15
|
-
protected newServerApplication(applicationSettings: ApplicationSettings, httpAppSettings: HttpAppSettings, socketAppSettings: SocketAppSettings, otherSettings: OtherSettings, databaseSettings: DatabaseSettings, logSettings: LogSettings, uploadFileSettings: UploadFileSettings, ddosSettings: DdosSettings): ServerApplication;
|
|
16
|
+
protected newServerApplication(applicationSettings: ApplicationSettings, httpAppSettings: HttpAppSettings, socketAppSettings: SocketAppSettings, otherSettings: OtherSettings, databaseSettings: DatabaseSettings, logSettings: LogSettings, uploadFileSettings: UploadFileSettings, ddosSettings: DdosSettings, clusterSettings: ClusterSettings): ServerApplication;
|
|
16
17
|
getGNServer(): GNServer;
|
|
17
18
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpAppSettings } from "./settings/HttpAppSettings";
|
|
2
2
|
import { HttpAppHandler } from "./routes/HttpAppHandler";
|
|
3
3
|
import { UploadFileHandler } from "./routes/UploadFileHandler";
|
|
4
|
+
import { ClusterHandler } from "./routes/ClusterHandler";
|
|
4
5
|
import { Express } from "express";
|
|
5
6
|
import { ApiMiddleware } from "./middleware/ApiMiddleware";
|
|
6
7
|
import { UploadFileMiddleware } from "./middleware/UploadFileMiddleware";
|
|
@@ -10,14 +11,17 @@ import { AntiDdosMiddleware } from "./middleware/AntiDdosMiddleware";
|
|
|
10
11
|
import { SocketAppSettings } from "./settings/SocketAppSettings";
|
|
11
12
|
import { ApplicationSettings } from "./settings/ApplicationSettings";
|
|
12
13
|
import { LogSettings } from "./settings/LogSettings";
|
|
14
|
+
import { ClusterSettings } from "./settings/ClusterSettings";
|
|
13
15
|
export declare class HttpApp {
|
|
14
16
|
private applicationSettings;
|
|
15
17
|
private uploadFileSettings;
|
|
16
18
|
private appSettings;
|
|
17
19
|
private socketAppSettings;
|
|
20
|
+
private clusterSettings;
|
|
18
21
|
private app;
|
|
19
22
|
private httpAppHandler;
|
|
20
23
|
private uploadFileHandler;
|
|
24
|
+
private clusterHandler;
|
|
21
25
|
private antiDdosMiddleware;
|
|
22
26
|
private logSettings;
|
|
23
27
|
private apiMiddleware;
|
|
@@ -28,11 +32,13 @@ export declare class HttpApp {
|
|
|
28
32
|
getApp(): Express;
|
|
29
33
|
getHttpAppHandler(): HttpAppHandler;
|
|
30
34
|
getUploadFileHandler(): UploadFileHandler;
|
|
35
|
+
getClusterHandler(): ClusterHandler;
|
|
31
36
|
setApiMiddleware(apiMiddleware: ApiMiddleware): void;
|
|
32
37
|
setUploadFileMiddleware(uploadFileMiddleware: UploadFileMiddleware): void;
|
|
33
38
|
setApplicationSettings(applicationSettings: ApplicationSettings): void;
|
|
34
39
|
setAppSettings(appSettings: HttpAppSettings): void;
|
|
35
40
|
setSocketAppSettings(socketAppSettings: SocketAppSettings): void;
|
|
41
|
+
setClusterSettings(clusterSettings: ClusterSettings): void;
|
|
36
42
|
setUploadFileSettings(uploadFileSettings: UploadFileSettings): void;
|
|
37
43
|
setGNServer(gnServer: GNServer): void;
|
|
38
44
|
setSessionId(sessionId: string): void;
|
|
@@ -9,6 +9,7 @@ import { OnRunSuccess } from "./../GN-library/xbuilder/lib/OnRunSuccess";
|
|
|
9
9
|
import { LogSettings } from "./settings/LogSettings";
|
|
10
10
|
import { UploadFileSettings } from "./settings/UploadFileSettings";
|
|
11
11
|
import { DdosSettings } from "./settings/DDosSettings";
|
|
12
|
+
import { ClusterSettings } from "./settings/ClusterSettings";
|
|
12
13
|
declare abstract class BuilderBase {
|
|
13
14
|
protected applicationSettings: ApplicationSettings;
|
|
14
15
|
protected httpAppSettings: HttpAppSettings;
|
|
@@ -18,6 +19,7 @@ declare abstract class BuilderBase {
|
|
|
18
19
|
protected logSettings: LogSettings;
|
|
19
20
|
protected uploadFileSettings: UploadFileSettings;
|
|
20
21
|
protected ddosSettings: DdosSettings;
|
|
22
|
+
protected clusterSettings: ClusterSettings;
|
|
21
23
|
getApplicationSettings(): ApplicationSettings;
|
|
22
24
|
getHttpAppSettings(): HttpAppSettings;
|
|
23
25
|
getSocketAppSettings(): SocketAppSettings;
|
|
@@ -26,6 +28,7 @@ declare abstract class BuilderBase {
|
|
|
26
28
|
getLogSettings(): LogSettings;
|
|
27
29
|
getUploadFileSettings(): UploadFileSettings;
|
|
28
30
|
getDdosSettings(): DdosSettings;
|
|
31
|
+
getClusterSettings(): ClusterSettings;
|
|
29
32
|
constructor();
|
|
30
33
|
}
|
|
31
34
|
declare class Builder extends BuilderBase implements IBuilder<ServerApplication> {
|
|
@@ -37,6 +40,7 @@ declare class Builder extends BuilderBase implements IBuilder<ServerApplication>
|
|
|
37
40
|
setLogSettings(logSettings: LogSettings): Builder;
|
|
38
41
|
setUploadFileSettings(uploadFileSettings: UploadFileSettings): Builder;
|
|
39
42
|
setDdosSettings(ddosSettings: DdosSettings): Builder;
|
|
43
|
+
setClusterSettings(clusterSettings: ClusterSettings): Builder;
|
|
40
44
|
build(): ServerApplication;
|
|
41
45
|
constructor();
|
|
42
46
|
}
|
|
@@ -216,6 +216,11 @@
|
|
|
216
216
|
"script": "\npreHandlers.characterPlayer_GetIpAddressCreate = async (request: { characterId: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_GetIpAddressCreate = async (request: { characterId: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
217
217
|
"hasEdit": false
|
|
218
218
|
},
|
|
219
|
+
{
|
|
220
|
+
"eventName": "characterPlayer_GetLastLoginLeaderboard",
|
|
221
|
+
"script": "\npreHandlers.characterPlayer_GetLastLoginLeaderboard = async (request: { skip: number, limit: number, infoRequestParam: characterPlayer_InfoRequestParam, loadFromCache: boolean, }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_GetLastLoginLeaderboard = async (request: { skip: number, limit: number, infoRequestParam: characterPlayer_InfoRequestParam, loadFromCache: boolean, }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
222
|
+
"hasEdit": false
|
|
223
|
+
},
|
|
219
224
|
{
|
|
220
225
|
"eventName": "characterPlayer_GetOwner",
|
|
221
226
|
"script": "\npreHandlers.characterPlayer_GetOwner = async (request: { characterId: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_GetOwner = async (request: { characterId: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
@@ -248,7 +253,7 @@
|
|
|
248
253
|
},
|
|
249
254
|
{
|
|
250
255
|
"eventName": "characterPlayer_GetPlayerInformation",
|
|
251
|
-
"script": "\npreHandlers.characterPlayer_GetPlayerInformation = async (request: { characterId: string, infoRequestParam: characterPlayer_InfoRequestParam }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_GetPlayerInformation = async (request: { characterId: string, infoRequestParam: characterPlayer_InfoRequestParam }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
256
|
+
"script": "\npreHandlers.characterPlayer_GetPlayerInformation = async (request: { characterId: string, infoRequestParam: characterPlayer_InfoRequestParam, updateTsLastLogin: boolean }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_GetPlayerInformation = async (request: { characterId: string, infoRequestParam: characterPlayer_InfoRequestParam, updateTsLastLogin: boolean }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
252
257
|
"hasEdit": false
|
|
253
258
|
},
|
|
254
259
|
{
|
|
@@ -373,7 +378,7 @@
|
|
|
373
378
|
},
|
|
374
379
|
{
|
|
375
380
|
"eventName": "characterPlayer_SetDisplayName",
|
|
376
|
-
"script": "\npreHandlers.characterPlayer_SetDisplayName = async (request: { characterId: string, displayName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_SetDisplayName = async (request: { characterId: string, displayName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
381
|
+
"script": "\npreHandlers.characterPlayer_SetDisplayName = async (request: { characterId: string, displayName: string, uniqueDisplayName: boolean, }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.characterPlayer_SetDisplayName = async (request: { characterId: string, displayName: string, uniqueDisplayName: boolean, }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
377
382
|
"hasEdit": false
|
|
378
383
|
},
|
|
379
384
|
{
|
|
@@ -454,7 +459,7 @@
|
|
|
454
459
|
"childScripts": [
|
|
455
460
|
{
|
|
456
461
|
"eventName": "content_CreateNewFileUploadInfo",
|
|
457
|
-
"script": "\npreHandlers.content_CreateNewFileUploadInfo = async (request: {
|
|
462
|
+
"script": "\npreHandlers.content_CreateNewFileUploadInfo = async (request: { fileName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.content_CreateNewFileUploadInfo = async (request: { fileName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
458
463
|
"hasEdit": false
|
|
459
464
|
},
|
|
460
465
|
{
|
|
@@ -805,7 +810,7 @@
|
|
|
805
810
|
},
|
|
806
811
|
{
|
|
807
812
|
"eventName": "gamePlayer_GrantPlayerCharacter",
|
|
808
|
-
"script": "\npreHandlers.gamePlayer_GrantPlayerCharacter = async (request: { userId: string, catalogId: string, displayName: string, ipAddress: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.gamePlayer_GrantPlayerCharacter = async (request: { userId: string, catalogId: string, displayName: string, ipAddress: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
813
|
+
"script": "\npreHandlers.gamePlayer_GrantPlayerCharacter = async (request: { userId: string, catalogId: string, displayName: string, uniqueDisplayName: boolean, ipAddress: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.gamePlayer_GrantPlayerCharacter = async (request: { userId: string, catalogId: string, displayName: string, uniqueDisplayName: boolean, ipAddress: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
809
814
|
"hasEdit": false
|
|
810
815
|
},
|
|
811
816
|
{
|
|
@@ -1808,6 +1813,11 @@
|
|
|
1808
1813
|
"script": "\npreHandlers.storeInventory_GetStoreLog = async (request: { storeId: string; storeReceiveTypes: Array<number>; id: string; limit: number; token: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_GetStoreLog = async (request: { storeId: string; storeReceiveTypes: Array<number>; id: string; limit: number; token: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1809
1814
|
"hasEdit": false
|
|
1810
1815
|
},
|
|
1816
|
+
{
|
|
1817
|
+
"eventName": "storeInventory_GetStoreUsed",
|
|
1818
|
+
"script": "\npreHandlers.storeInventory_GetStoreUsed = async (request: { storeId: string, }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_GetStoreUsed = async (request: { storeId: string, }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1819
|
+
"hasEdit": false
|
|
1820
|
+
},
|
|
1811
1821
|
{
|
|
1812
1822
|
"eventName": "storeInventory_GrantStoreItem",
|
|
1813
1823
|
"script": "\npreHandlers.storeInventory_GrantStoreItem = async (request: { storeId: string, displayName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_GrantStoreItem = async (request: { storeId: string, displayName: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
@@ -1818,6 +1828,11 @@
|
|
|
1818
1828
|
"script": "\npreHandlers.storeInventory_PresentStoreItem = async (request: { storeId: string, id: string, type: number, log: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_PresentStoreItem = async (request: { storeId: string, id: string, type: number, log: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1819
1829
|
"hasEdit": false
|
|
1820
1830
|
},
|
|
1831
|
+
{
|
|
1832
|
+
"eventName": "storeInventory_RemoveStoreUsed",
|
|
1833
|
+
"script": "\npreHandlers.storeInventory_RemoveStoreUsed = async (request: { storeId: string, ownerIds: string[] }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_RemoveStoreUsed = async (request: { storeId: string, ownerIds: string[] }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1834
|
+
"hasEdit": false
|
|
1835
|
+
},
|
|
1821
1836
|
{
|
|
1822
1837
|
"eventName": "storeInventory_SetRemoveStatus",
|
|
1823
1838
|
"script": "\npreHandlers.storeInventory_SetRemoveStatus = async (request: { storeId: string, reason: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_SetRemoveStatus = async (request: { storeId: string, reason: string }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
@@ -1825,7 +1840,7 @@
|
|
|
1825
1840
|
},
|
|
1826
1841
|
{
|
|
1827
1842
|
"eventName": "storeInventory_SetStoreItemInformation",
|
|
1828
|
-
"script": "\npreHandlers.storeInventory_SetStoreItemInformation = async (request: { storeId: string, storeDataParams: Array<StoreDataParam>, storeItemParams: Array<StoreItemParam>, storeCurrencyParams: Array<CurrencyParam>, priceCurrencyParams: Array<CurrencyParam>, inAppPurchaseParam: InAppPurchaseParam, displayName: string, avatarParam: AvatarParam, tagParams: Array<TagParam> }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_SetStoreItemInformation = async (request: { storeId: string, storeDataParams: Array<StoreDataParam>, storeItemParams: Array<StoreItemParam>, storeCurrencyParams: Array<CurrencyParam>, priceCurrencyParams: Array<CurrencyParam>, inAppPurchaseParam: InAppPurchaseParam, displayName: string, avatarParam: AvatarParam, tagParams: Array<TagParam> }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1843
|
+
"script": "\npreHandlers.storeInventory_SetStoreItemInformation = async (request: { storeId: string, storeItemType: number, storeDataParams: Array<StoreDataParam>, storeItemParams: Array<StoreItemParam>, storeCurrencyParams: Array<CurrencyParam>, priceCurrencyParams: Array<CurrencyParam>, inAppPurchaseParam: InAppPurchaseParam, displayName: string, avatarParam: AvatarParam, tagParams: Array<TagParam> }, secretInfo: SecretInfo, operationRequest: OperationRequest, log: (log: any) => void) => {\n\n\treturn null;\n}\n\npostHandlers.storeInventory_SetStoreItemInformation = async (request: { storeId: string, storeItemType: number, storeDataParams: Array<StoreDataParam>, storeItemParams: Array<StoreItemParam>, storeCurrencyParams: Array<CurrencyParam>, priceCurrencyParams: Array<CurrencyParam>, inAppPurchaseParam: InAppPurchaseParam, displayName: string, avatarParam: AvatarParam, tagParams: Array<TagParam> }, secretInfo: SecretInfo, operationRequest: OperationRequest, operationResponse: OperationResponse, log: (log: any) => void) => {\n\n\treturn operationResponse;\n}\n",
|
|
1829
1844
|
"hasEdit": false
|
|
1830
1845
|
},
|
|
1831
1846
|
{
|