@rpg-engine/shared 0.11.8 → 0.11.9
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/package.json +1 -1
- package/dist/constants/date.constants.d.ts +0 -3
- package/dist/constants/date.constants.d.ts.map +0 -1
- package/dist/constants/date.constants.js +0 -6
- package/dist/constants/date.constants.js.map +0 -1
- package/dist/constants/dc.constants.d.ts +0 -4
- package/dist/constants/dc.constants.d.ts.map +0 -1
- package/dist/constants/dc.constants.js +0 -9
- package/dist/constants/dc.constants.js.map +0 -1
- package/dist/constants/npc.constants.d.ts +0 -2
- package/dist/constants/npc.constants.d.ts.map +0 -1
- package/dist/constants/npc.constants.js +0 -5
- package/dist/constants/npc.constants.js.map +0 -1
- package/dist/constants/skillProgression.constants.d.ts +0 -23
- package/dist/constants/skillProgression.constants.d.ts.map +0 -1
- package/dist/constants/skillProgression.constants.js +0 -194
- package/dist/constants/skillProgression.constants.js.map +0 -1
- package/dist/constants/skillProgression.constants.test.d.ts +0 -2
- package/dist/constants/skillProgression.constants.test.d.ts.map +0 -1
- package/dist/constants/skillProgression.constants.test.js +0 -74
- package/dist/constants/skillProgression.constants.test.js.map +0 -1
- package/dist/constants/socket.constants.d.ts +0 -3
- package/dist/constants/socket.constants.d.ts.map +0 -1
- package/dist/constants/socket.constants.js +0 -7
- package/dist/constants/socket.constants.js.map +0 -1
- package/dist/constants/world.constants.d.ts +0 -11
- package/dist/constants/world.constants.d.ts.map +0 -1
- package/dist/constants/world.constants.js +0 -14
- package/dist/constants/world.constants.js.map +0 -1
- package/dist/helpers/deviceHelpers.d.ts +0 -3
- package/dist/helpers/deviceHelpers.d.ts.map +0 -1
- package/dist/helpers/deviceHelpers.js +0 -22
- package/dist/helpers/deviceHelpers.js.map +0 -1
- package/dist/helpers/itemSlotHelper.d.ts +0 -8
- package/dist/helpers/itemSlotHelper.d.ts.map +0 -1
- package/dist/helpers/itemSlotHelper.js +0 -28
- package/dist/helpers/itemSlotHelper.js.map +0 -1
- package/dist/helpers/skillHelpers.d.ts +0 -14
- package/dist/helpers/skillHelpers.d.ts.map +0 -1
- package/dist/helpers/skillHelpers.js +0 -127
- package/dist/helpers/skillHelpers.js.map +0 -1
- package/dist/helpers/skillHelpers.test.d.ts +0 -2
- package/dist/helpers/skillHelpers.test.d.ts.map +0 -1
- package/dist/helpers/skillHelpers.test.js +0 -169
- package/dist/helpers/skillHelpers.test.js.map +0 -1
- package/dist/helpers/weightHelper.d.ts +0 -2
- package/dist/helpers/weightHelper.d.ts.map +0 -1
- package/dist/helpers/weightHelper.js +0 -14
- package/dist/helpers/weightHelper.js.map +0 -1
- package/dist/index.d.ts +0 -78
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -108
- package/dist/index.js.map +0 -1
- package/dist/libs/GridHelper.d.ts +0 -12
- package/dist/libs/GridHelper.d.ts.map +0 -1
- package/dist/libs/GridHelper.js +0 -38
- package/dist/libs/GridHelper.js.map +0 -1
- package/dist/libs/MathHelper.d.ts +0 -17
- package/dist/libs/MathHelper.d.ts.map +0 -1
- package/dist/libs/MathHelper.js +0 -15
- package/dist/libs/MathHelper.js.map +0 -1
- package/dist/libs/SocketHelper.d.ts +0 -3
- package/dist/libs/SocketHelper.d.ts.map +0 -1
- package/dist/libs/SocketHelper.js +0 -15
- package/dist/libs/SocketHelper.js.map +0 -1
- package/dist/libs/TextHelper.d.ts +0 -8
- package/dist/libs/TextHelper.d.ts.map +0 -1
- package/dist/libs/TextHelper.js +0 -22
- package/dist/libs/TextHelper.js.map +0 -1
- package/dist/libs/TypeHelper.d.ts +0 -4
- package/dist/libs/TypeHelper.d.ts.map +0 -1
- package/dist/libs/TypeHelper.js +0 -17
- package/dist/libs/TypeHelper.js.map +0 -1
- package/dist/translations/app-rate.lang.json +0 -38
- package/dist/translations/assets.lang.json +0 -82
- package/dist/translations/auth.lang.json +0 -182
- package/dist/translations/email.lang.json +0 -70
- package/dist/translations/error.lang.json +0 -18
- package/dist/translations/form.lang.json +0 -94
- package/dist/translations/global.lang.json +0 -90
- package/dist/translations/logs.lang.json +0 -6
- package/dist/translations/onboarding.lang.d.ts +0 -11
- package/dist/translations/onboarding.lang.d.ts.map +0 -1
- package/dist/translations/onboarding.lang.js +0 -22
- package/dist/translations/onboarding.lang.js.map +0 -1
- package/dist/translations/onboarding.lang.json +0 -50
- package/dist/translations/order.lang.json +0 -90
- package/dist/translations/search.lang.json +0 -50
- package/dist/translations/settings.lang.json +0 -14
- package/dist/translations/tabs.lang.json +0 -22
- package/dist/translations/users.lang.json +0 -22
- package/dist/translations/validation.lang.json +0 -86
- package/dist/types/animation.types.d.ts +0 -71
- package/dist/types/animation.types.d.ts.map +0 -1
- package/dist/types/animation.types.js +0 -47
- package/dist/types/animation.types.js.map +0 -1
- package/dist/types/api.types.d.ts +0 -23
- package/dist/types/api.types.d.ts.map +0 -1
- package/dist/types/api.types.js +0 -22
- package/dist/types/api.types.js.map +0 -1
- package/dist/types/archiveIndex.types.d.ts +0 -59
- package/dist/types/archiveIndex.types.d.ts.map +0 -1
- package/dist/types/archiveIndex.types.js +0 -33
- package/dist/types/archiveIndex.types.js.map +0 -1
- package/dist/types/asset.types.d.ts +0 -7
- package/dist/types/asset.types.d.ts.map +0 -1
- package/dist/types/asset.types.js +0 -3
- package/dist/types/asset.types.js.map +0 -1
- package/dist/types/attribution.types.d.ts +0 -19
- package/dist/types/attribution.types.d.ts.map +0 -1
- package/dist/types/attribution.types.js +0 -3
- package/dist/types/attribution.types.js.map +0 -1
- package/dist/types/auth.types.d.ts +0 -32
- package/dist/types/auth.types.d.ts.map +0 -1
- package/dist/types/auth.types.js +0 -3
- package/dist/types/auth.types.js.map +0 -1
- package/dist/types/battle.types.d.ts +0 -65
- package/dist/types/battle.types.d.ts.map +0 -1
- package/dist/types/battle.types.js +0 -22
- package/dist/types/battle.types.js.map +0 -1
- package/dist/types/buff.types.d.ts +0 -52
- package/dist/types/buff.types.d.ts.map +0 -1
- package/dist/types/buff.types.js +0 -14
- package/dist/types/buff.types.js.map +0 -1
- package/dist/types/character.types.d.ts +0 -293
- package/dist/types/character.types.d.ts.map +0 -1
- package/dist/types/character.types.js +0 -73
- package/dist/types/character.types.js.map +0 -1
- package/dist/types/characterCustomizationTypes.d.ts +0 -13
- package/dist/types/characterCustomizationTypes.d.ts.map +0 -1
- package/dist/types/characterCustomizationTypes.js +0 -9
- package/dist/types/characterCustomizationTypes.js.map +0 -1
- package/dist/types/characterSkin.types.d.ts +0 -23
- package/dist/types/characterSkin.types.d.ts.map +0 -1
- package/dist/types/characterSkin.types.js +0 -9
- package/dist/types/characterSkin.types.js.map +0 -1
- package/dist/types/chat.types.d.ts +0 -117
- package/dist/types/chat.types.d.ts.map +0 -1
- package/dist/types/chat.types.js +0 -32
- package/dist/types/chat.types.js.map +0 -1
- package/dist/types/dailyTasks.types.d.ts +0 -281
- package/dist/types/dailyTasks.types.d.ts.map +0 -1
- package/dist/types/dailyTasks.types.js +0 -83
- package/dist/types/dailyTasks.types.js.map +0 -1
- package/dist/types/dc.types.d.ts +0 -190
- package/dist/types/dc.types.d.ts.map +0 -1
- package/dist/types/dc.types.js +0 -54
- package/dist/types/dc.types.js.map +0 -1
- package/dist/types/depot.types.d.ts +0 -19
- package/dist/types/depot.types.d.ts.map +0 -1
- package/dist/types/depot.types.js +0 -10
- package/dist/types/depot.types.js.map +0 -1
- package/dist/types/device.types.d.ts +0 -25
- package/dist/types/device.types.d.ts.map +0 -1
- package/dist/types/device.types.js +0 -8
- package/dist/types/device.types.js.map +0 -1
- package/dist/types/displayText.types.d.ts +0 -11
- package/dist/types/displayText.types.d.ts.map +0 -1
- package/dist/types/displayText.types.js +0 -8
- package/dist/types/displayText.types.js.map +0 -1
- package/dist/types/entity.types.d.ts +0 -31
- package/dist/types/entity.types.d.ts.map +0 -1
- package/dist/types/entity.types.js +0 -21
- package/dist/types/entity.types.js.map +0 -1
- package/dist/types/env.types.d.ts +0 -6
- package/dist/types/env.types.d.ts.map +0 -1
- package/dist/types/env.types.js +0 -10
- package/dist/types/env.types.js.map +0 -1
- package/dist/types/equipment.types.d.ts +0 -36
- package/dist/types/equipment.types.d.ts.map +0 -1
- package/dist/types/equipment.types.js +0 -19
- package/dist/types/equipment.types.js.map +0 -1
- package/dist/types/friends.types.d.ts +0 -23
- package/dist/types/friends.types.d.ts.map +0 -1
- package/dist/types/friends.types.js +0 -12
- package/dist/types/friends.types.js.map +0 -1
- package/dist/types/gem.types.d.ts +0 -25
- package/dist/types/gem.types.d.ts.map +0 -1
- package/dist/types/gem.types.js +0 -3
- package/dist/types/gem.types.js.map +0 -1
- package/dist/types/googleOAuth.types.d.ts +0 -60
- package/dist/types/googleOAuth.types.d.ts.map +0 -1
- package/dist/types/googleOAuth.types.js +0 -9
- package/dist/types/googleOAuth.types.js.map +0 -1
- package/dist/types/guild.types.d.ts +0 -164
- package/dist/types/guild.types.d.ts.map +0 -1
- package/dist/types/guild.types.js +0 -57
- package/dist/types/guild.types.js.map +0 -1
- package/dist/types/inGameStore.types.d.ts +0 -10
- package/dist/types/inGameStore.types.d.ts.map +0 -1
- package/dist/types/inGameStore.types.js +0 -9
- package/dist/types/inGameStore.types.js.map +0 -1
- package/dist/types/informationCenter.types.d.ts +0 -135
- package/dist/types/informationCenter.types.d.ts.map +0 -1
- package/dist/types/informationCenter.types.js +0 -64
- package/dist/types/informationCenter.types.js.map +0 -1
- package/dist/types/inventory.types.d.ts +0 -8
- package/dist/types/inventory.types.d.ts.map +0 -1
- package/dist/types/inventory.types.js +0 -3
- package/dist/types/inventory.types.js.map +0 -1
- package/dist/types/item.types.d.ts +0 -484
- package/dist/types/item.types.d.ts.map +0 -1
- package/dist/types/item.types.js +0 -173
- package/dist/types/item.types.js.map +0 -1
- package/dist/types/itemContainer.types.d.ts +0 -84
- package/dist/types/itemContainer.types.d.ts.map +0 -1
- package/dist/types/itemContainer.types.js +0 -12
- package/dist/types/itemContainer.types.js.map +0 -1
- package/dist/types/leaderboard.types.d.ts +0 -33
- package/dist/types/leaderboard.types.d.ts.map +0 -1
- package/dist/types/leaderboard.types.js +0 -10
- package/dist/types/leaderboard.types.js.map +0 -1
- package/dist/types/loginStreak.types.d.ts +0 -29
- package/dist/types/loginStreak.types.d.ts.map +0 -1
- package/dist/types/loginStreak.types.js +0 -9
- package/dist/types/loginStreak.types.js.map +0 -1
- package/dist/types/macro.types.d.ts +0 -9
- package/dist/types/macro.types.d.ts.map +0 -1
- package/dist/types/macro.types.js +0 -13
- package/dist/types/macro.types.js.map +0 -1
- package/dist/types/maps.types.d.ts +0 -112
- package/dist/types/maps.types.d.ts.map +0 -1
- package/dist/types/maps.types.js +0 -90
- package/dist/types/maps.types.js.map +0 -1
- package/dist/types/marketplace.types.d.ts +0 -317
- package/dist/types/marketplace.types.d.ts.map +0 -1
- package/dist/types/marketplace.types.js +0 -69
- package/dist/types/marketplace.types.js.map +0 -1
- package/dist/types/notification.types.d.ts +0 -20
- package/dist/types/notification.types.d.ts.map +0 -1
- package/dist/types/notification.types.js +0 -3
- package/dist/types/notification.types.js.map +0 -1
- package/dist/types/npc.types.d.ts +0 -182
- package/dist/types/npc.types.d.ts.map +0 -1
- package/dist/types/npc.types.js +0 -56
- package/dist/types/npc.types.js.map +0 -1
- package/dist/types/pagination.types.d.ts +0 -14
- package/dist/types/pagination.types.d.ts.map +0 -1
- package/dist/types/pagination.types.js +0 -3
- package/dist/types/pagination.types.js.map +0 -1
- package/dist/types/party.types.d.ts +0 -84
- package/dist/types/party.types.d.ts.map +0 -1
- package/dist/types/party.types.js +0 -55
- package/dist/types/party.types.js.map +0 -1
- package/dist/types/payment.types.d.ts +0 -201
- package/dist/types/payment.types.d.ts.map +0 -1
- package/dist/types/payment.types.js +0 -23
- package/dist/types/payment.types.js.map +0 -1
- package/dist/types/places.types.d.ts +0 -17
- package/dist/types/places.types.d.ts.map +0 -1
- package/dist/types/places.types.js +0 -10
- package/dist/types/places.types.js.map +0 -1
- package/dist/types/preloadScene.types.d.ts +0 -5
- package/dist/types/preloadScene.types.d.ts.map +0 -1
- package/dist/types/preloadScene.types.js +0 -8
- package/dist/types/preloadScene.types.js.map +0 -1
- package/dist/types/premiumAccount.types.d.ts +0 -8
- package/dist/types/premiumAccount.types.d.ts.map +0 -1
- package/dist/types/premiumAccount.types.js +0 -12
- package/dist/types/premiumAccount.types.js.map +0 -1
- package/dist/types/proficiency.types.d.ts +0 -17
- package/dist/types/proficiency.types.d.ts.map +0 -1
- package/dist/types/proficiency.types.js +0 -22
- package/dist/types/proficiency.types.js.map +0 -1
- package/dist/types/purchase.types.d.ts +0 -155
- package/dist/types/purchase.types.d.ts.map +0 -1
- package/dist/types/purchase.types.js +0 -82
- package/dist/types/purchase.types.js.map +0 -1
- package/dist/types/quest.types.d.ts +0 -100
- package/dist/types/quest.types.d.ts.map +0 -1
- package/dist/types/quest.types.js +0 -22
- package/dist/types/quest.types.js.map +0 -1
- package/dist/types/raid.types.d.ts +0 -7
- package/dist/types/raid.types.d.ts.map +0 -1
- package/dist/types/raid.types.js +0 -3
- package/dist/types/raid.types.js.map +0 -1
- package/dist/types/resource.types.d.ts +0 -6
- package/dist/types/resource.types.d.ts.map +0 -1
- package/dist/types/resource.types.js +0 -3
- package/dist/types/resource.types.js.map +0 -1
- package/dist/types/scene.types.d.ts +0 -9
- package/dist/types/scene.types.d.ts.map +0 -1
- package/dist/types/scene.types.js +0 -9
- package/dist/types/scene.types.js.map +0 -1
- package/dist/types/shortcut.types.d.ts +0 -12
- package/dist/types/shortcut.types.d.ts.map +0 -1
- package/dist/types/shortcut.types.js +0 -10
- package/dist/types/shortcut.types.js.map +0 -1
- package/dist/types/simpleTutorial.types.d.ts +0 -7
- package/dist/types/simpleTutorial.types.d.ts.map +0 -1
- package/dist/types/simpleTutorial.types.js +0 -8
- package/dist/types/simpleTutorial.types.js.map +0 -1
- package/dist/types/skills.types.d.ts +0 -161
- package/dist/types/skills.types.d.ts.map +0 -1
- package/dist/types/skills.types.js +0 -120
- package/dist/types/skills.types.js.map +0 -1
- package/dist/types/socket.types.d.ts +0 -19
- package/dist/types/socket.types.d.ts.map +0 -1
- package/dist/types/socket.types.js +0 -9
- package/dist/types/socket.types.js.map +0 -1
- package/dist/types/spell.types.d.ts +0 -180
- package/dist/types/spell.types.d.ts.map +0 -1
- package/dist/types/spell.types.js +0 -123
- package/dist/types/spell.types.js.map +0 -1
- package/dist/types/store.types.d.ts +0 -35
- package/dist/types/store.types.d.ts.map +0 -1
- package/dist/types/store.types.js +0 -9
- package/dist/types/store.types.js.map +0 -1
- package/dist/types/tiled.types.d.ts +0 -120
- package/dist/types/tiled.types.d.ts.map +0 -1
- package/dist/types/tiled.types.js +0 -8
- package/dist/types/tiled.types.js.map +0 -1
- package/dist/types/trade.types.d.ts +0 -66
- package/dist/types/trade.types.d.ts.map +0 -1
- package/dist/types/trade.types.js +0 -16
- package/dist/types/trade.types.js.map +0 -1
- package/dist/types/translation.types.d.ts +0 -6
- package/dist/types/translation.types.d.ts.map +0 -1
- package/dist/types/translation.types.js +0 -9
- package/dist/types/translation.types.js.map +0 -1
- package/dist/types/ui.types.d.ts +0 -9
- package/dist/types/ui.types.d.ts.map +0 -1
- package/dist/types/ui.types.js +0 -8
- package/dist/types/ui.types.js.map +0 -1
- package/dist/types/uiHighlight.types.d.ts +0 -36
- package/dist/types/uiHighlight.types.d.ts.map +0 -1
- package/dist/types/uiHighlight.types.js +0 -29
- package/dist/types/uiHighlight.types.js.map +0 -1
- package/dist/types/useWith.types.d.ts +0 -44
- package/dist/types/useWith.types.d.ts.map +0 -1
- package/dist/types/useWith.types.js +0 -13
- package/dist/types/useWith.types.js.map +0 -1
- package/dist/types/user.types.d.ts +0 -110
- package/dist/types/user.types.d.ts.map +0 -1
- package/dist/types/user.types.js +0 -39
- package/dist/types/user.types.js.map +0 -1
- package/dist/types/validation.types.d.ts +0 -10
- package/dist/types/validation.types.d.ts.map +0 -1
- package/dist/types/validation.types.js +0 -3
- package/dist/types/validation.types.js.map +0 -1
- package/dist/types/view.types.d.ts +0 -17
- package/dist/types/view.types.d.ts.map +0 -1
- package/dist/types/view.types.js +0 -8
- package/dist/types/view.types.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.types.js","sourceRoot":"","sources":["../../src/types/api.types.ts"],"names":[],"mappings":";;;AAMA,IAAY,UAgBX;AAhBD,WAAY,UAAU;IACpB,yCAAQ,CAAA;IACR,mDAAa,CAAA;IACb,uDAAe,CAAA;IACf,uEAAuB,CAAA;IACvB,uEAAuB,CAAA;IACvB,yDAAgB,CAAA;IAChB,6DAAkB,CAAA;IAClB,uDAAe,CAAA;IACf,qDAAc,CAAA;IACd,qEAAsB,CAAA;IACtB,qDAAc,CAAA;IACd,2EAAyB,CAAA;IACzB,mEAAqB,CAAA;IACrB,2EAAyB,CAAA;IACzB,yEAAwB,CAAA;AAC1B,CAAC,EAhBW,UAAU,0BAAV,UAAU,QAgBrB"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { IResource } from "./resource.types";
|
|
2
|
-
export interface IUploadFilesResponse {
|
|
3
|
-
url: string;
|
|
4
|
-
filename: string;
|
|
5
|
-
uploadDate: string;
|
|
6
|
-
size: number;
|
|
7
|
-
contentType: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IUploadFilesOptions {
|
|
10
|
-
contentType?: string;
|
|
11
|
-
metadata?: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
export interface IUploadResponse {
|
|
14
|
-
url: string;
|
|
15
|
-
contentType: string;
|
|
16
|
-
}
|
|
17
|
-
export declare enum ArchiveFileTypes {
|
|
18
|
-
JSON = "application/json",
|
|
19
|
-
TEXT = "text/plain",
|
|
20
|
-
ZIP = "application/zip",
|
|
21
|
-
TAR = "application/x-tar",
|
|
22
|
-
GZ = "application/gzip",
|
|
23
|
-
BZ2 = "application/x-bzip2",
|
|
24
|
-
XZ = "application/x-xz"
|
|
25
|
-
}
|
|
26
|
-
export interface IArchiveFileMetadata {
|
|
27
|
-
characterId: string;
|
|
28
|
-
userId: string;
|
|
29
|
-
archiveDate: string;
|
|
30
|
-
version: string;
|
|
31
|
-
checksum: string;
|
|
32
|
-
size: number;
|
|
33
|
-
lastLoginDate: string;
|
|
34
|
-
}
|
|
35
|
-
export declare enum ControllState {
|
|
36
|
-
Pending = "Pending",
|
|
37
|
-
Success = "Success",
|
|
38
|
-
Error = "Error"
|
|
39
|
-
}
|
|
40
|
-
export type ControllStateType = "Error" | "Success" | "Pending";
|
|
41
|
-
export declare const backupTypes: readonly ["character", "characterTexture", "characterBuffs", "characterQuests", "skills", "equipment", "depots", "marketplaceItems", "marketplaceMoney", "items", "itemsContainers"];
|
|
42
|
-
export type ArchiveTypes = typeof backupTypes[number];
|
|
43
|
-
export type IArchiveControllState = {
|
|
44
|
-
[key in ArchiveTypes]: ControllState;
|
|
45
|
-
};
|
|
46
|
-
export interface ICharacterOwnerPair {
|
|
47
|
-
userId: string;
|
|
48
|
-
characterId: string;
|
|
49
|
-
}
|
|
50
|
-
export interface IArchiveIndex extends IResource {
|
|
51
|
-
userId: string;
|
|
52
|
-
characterId: string;
|
|
53
|
-
fileName: string;
|
|
54
|
-
fileType: ArchiveFileTypes;
|
|
55
|
-
cloudPath: string;
|
|
56
|
-
localPath?: string;
|
|
57
|
-
restoredAt: string | Date | null;
|
|
58
|
-
}
|
|
59
|
-
//# sourceMappingURL=archiveIndex.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"archiveIndex.types.d.ts","sourceRoot":"","sources":["../../src/types/archiveIndex.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;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SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;CAClC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.backupTypes = exports.ControllState = exports.ArchiveFileTypes = void 0;
|
|
4
|
-
var ArchiveFileTypes;
|
|
5
|
-
(function (ArchiveFileTypes) {
|
|
6
|
-
ArchiveFileTypes["JSON"] = "application/json";
|
|
7
|
-
ArchiveFileTypes["TEXT"] = "text/plain";
|
|
8
|
-
ArchiveFileTypes["ZIP"] = "application/zip";
|
|
9
|
-
ArchiveFileTypes["TAR"] = "application/x-tar";
|
|
10
|
-
ArchiveFileTypes["GZ"] = "application/gzip";
|
|
11
|
-
ArchiveFileTypes["BZ2"] = "application/x-bzip2";
|
|
12
|
-
ArchiveFileTypes["XZ"] = "application/x-xz";
|
|
13
|
-
})(ArchiveFileTypes || (exports.ArchiveFileTypes = ArchiveFileTypes = {}));
|
|
14
|
-
var ControllState;
|
|
15
|
-
(function (ControllState) {
|
|
16
|
-
ControllState["Pending"] = "Pending";
|
|
17
|
-
ControllState["Success"] = "Success";
|
|
18
|
-
ControllState["Error"] = "Error";
|
|
19
|
-
})(ControllState || (exports.ControllState = ControllState = {}));
|
|
20
|
-
exports.backupTypes = [
|
|
21
|
-
"character",
|
|
22
|
-
"characterTexture",
|
|
23
|
-
"characterBuffs",
|
|
24
|
-
"characterQuests",
|
|
25
|
-
"skills",
|
|
26
|
-
"equipment",
|
|
27
|
-
"depots",
|
|
28
|
-
"marketplaceItems",
|
|
29
|
-
"marketplaceMoney",
|
|
30
|
-
"items",
|
|
31
|
-
"itemsContainers",
|
|
32
|
-
];
|
|
33
|
-
//# sourceMappingURL=archiveIndex.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"archiveIndex.types.js","sourceRoot":"","sources":["../../src/types/archiveIndex.types.ts"],"names":[],"mappings":";;;AAoBA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,6CAAyB,CAAA;IACzB,2CAAuB,CAAA;IACvB,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;AACzB,CAAC,EARW,gBAAgB,gCAAhB,gBAAgB,QAQ3B;AAYD,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAIY,QAAA,WAAW,GAAG;IACzB,WAAW;IACX,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,QAAQ;IACR,WAAW;IACX,QAAQ;IACR,kBAAkB;IAClB,kBAAkB;IAClB,OAAO;IACP,iBAAiB;CACT,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset.types.d.ts","sourceRoot":"","sources":["../../src/types/asset.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,wBAAwB,CAAC;CACtC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asset.types.js","sourceRoot":"","sources":["../../src/types/asset.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface IAttributionData {
|
|
2
|
-
fbclid?: string;
|
|
3
|
-
fbc?: string;
|
|
4
|
-
utmSource?: string;
|
|
5
|
-
utmCampaign?: string;
|
|
6
|
-
metaCampaignId?: string;
|
|
7
|
-
metaAdsetId?: string;
|
|
8
|
-
metaAdId?: string;
|
|
9
|
-
capturedAt?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IEnhancedAttributionData extends IAttributionData {
|
|
12
|
-
fbp?: string;
|
|
13
|
-
clientIp?: string;
|
|
14
|
-
city?: string;
|
|
15
|
-
region?: string;
|
|
16
|
-
country?: string;
|
|
17
|
-
countryCode?: string;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=attribution.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribution.types.d.ts","sourceRoot":"","sources":["../../src/types/attribution.types.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAMD,MAAM,WAAW,wBAAyB,SAAQ,gBAAgB;IAEhE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribution.types.js","sourceRoot":"","sources":["../../src/types/attribution.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface IAuthResponse {
|
|
2
|
-
accessToken: string;
|
|
3
|
-
refreshToken: string;
|
|
4
|
-
}
|
|
5
|
-
export interface IAuthRefreshTokenResponse {
|
|
6
|
-
accessToken: string;
|
|
7
|
-
}
|
|
8
|
-
export interface IGeolocationData {
|
|
9
|
-
country: string;
|
|
10
|
-
country_code: string;
|
|
11
|
-
region: string;
|
|
12
|
-
city: string;
|
|
13
|
-
latitude: number;
|
|
14
|
-
longitude: number;
|
|
15
|
-
timezone: string;
|
|
16
|
-
isp: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ISessionHistoryEntry {
|
|
19
|
-
ip: string;
|
|
20
|
-
geolocation?: IGeolocationData;
|
|
21
|
-
browserSignature: string;
|
|
22
|
-
loginDate: Date;
|
|
23
|
-
userAgent: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ISessionTrackingData {
|
|
26
|
-
lastLoginIP?: string;
|
|
27
|
-
lastLoginGeolocation?: IGeolocationData;
|
|
28
|
-
browserSignature?: string;
|
|
29
|
-
lastLoginDate?: Date;
|
|
30
|
-
sessionHistory?: ISessionHistoryEntry[];
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=auth.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.types.d.ts","sourceRoot":"","sources":["../../src/types/auth.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,gBAAgB,CAAC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACzC"}
|
package/dist/types/auth.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../src/types/auth.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { EntityType } from "./entity.types";
|
|
2
|
-
export declare enum BattleSocketEvents {
|
|
3
|
-
InitTargeting = "InitTargeting",
|
|
4
|
-
StopTargeting = "StopTargeting",
|
|
5
|
-
CancelTargeting = "CancelTargeting",
|
|
6
|
-
BattleEvent = "BattleEvent",
|
|
7
|
-
BattleDeath = "BattleDeath",
|
|
8
|
-
RangedAttackFailure = "RangedAttackFailure",
|
|
9
|
-
BattleLockChanged = "battle-lock:changed",
|
|
10
|
-
BattleLockLogoutBlocked = "battle-lock:logout-blocked",
|
|
11
|
-
BattleLockPZBlocked = "battle-lock:pz-blocked"
|
|
12
|
-
}
|
|
13
|
-
export declare enum BattleEventType {
|
|
14
|
-
Miss = "Miss",
|
|
15
|
-
Block = "Block",
|
|
16
|
-
Hit = "Hit"
|
|
17
|
-
}
|
|
18
|
-
export interface IBattleEventFromServer {
|
|
19
|
-
attackerId: string;
|
|
20
|
-
attackerType: "Character" | "NPC";
|
|
21
|
-
targetId: string;
|
|
22
|
-
targetType: "Character" | "NPC";
|
|
23
|
-
eventType: BattleEventType;
|
|
24
|
-
totalDamage?: number;
|
|
25
|
-
postDamageTargetHP?: number;
|
|
26
|
-
level?: number;
|
|
27
|
-
skill?: string;
|
|
28
|
-
isCriticalHit?: boolean;
|
|
29
|
-
attackSoundKey?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IBattleDeath {
|
|
32
|
-
id: string;
|
|
33
|
-
type: "Character" | "NPC";
|
|
34
|
-
}
|
|
35
|
-
export interface IBattleInitTargeting {
|
|
36
|
-
targetId: string;
|
|
37
|
-
type: EntityType;
|
|
38
|
-
}
|
|
39
|
-
export interface IBattleCancelTargeting {
|
|
40
|
-
targetId: string;
|
|
41
|
-
type: EntityType;
|
|
42
|
-
reason?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface IBattleRangedAttackFailed extends IBattleCancelTargeting {
|
|
45
|
-
}
|
|
46
|
-
export interface IBattleLockState {
|
|
47
|
-
hasLock: boolean;
|
|
48
|
-
type: "pve" | "pvp" | null;
|
|
49
|
-
remainingSeconds: number;
|
|
50
|
-
}
|
|
51
|
-
export interface IBattleLockChanged {
|
|
52
|
-
characterId: string;
|
|
53
|
-
lockState: IBattleLockState;
|
|
54
|
-
}
|
|
55
|
-
export interface IBattleLockLogoutBlocked {
|
|
56
|
-
characterId: string;
|
|
57
|
-
remainingSeconds: number;
|
|
58
|
-
message: string;
|
|
59
|
-
}
|
|
60
|
-
export interface IBattleLockPZBlocked {
|
|
61
|
-
characterId: string;
|
|
62
|
-
remainingSeconds: number;
|
|
63
|
-
message: string;
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=battle.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"battle.types.d.ts","sourceRoot":"","sources":["../../src/types/battle.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,oBAAY,kBAAkB;IAC5B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,mBAAmB,wBAAwB;IAC3C,iBAAiB,wBAAwB;IACzC,uBAAu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,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BattleEventType = exports.BattleSocketEvents = void 0;
|
|
4
|
-
var BattleSocketEvents;
|
|
5
|
-
(function (BattleSocketEvents) {
|
|
6
|
-
BattleSocketEvents["InitTargeting"] = "InitTargeting";
|
|
7
|
-
BattleSocketEvents["StopTargeting"] = "StopTargeting";
|
|
8
|
-
BattleSocketEvents["CancelTargeting"] = "CancelTargeting";
|
|
9
|
-
BattleSocketEvents["BattleEvent"] = "BattleEvent";
|
|
10
|
-
BattleSocketEvents["BattleDeath"] = "BattleDeath";
|
|
11
|
-
BattleSocketEvents["RangedAttackFailure"] = "RangedAttackFailure";
|
|
12
|
-
BattleSocketEvents["BattleLockChanged"] = "battle-lock:changed";
|
|
13
|
-
BattleSocketEvents["BattleLockLogoutBlocked"] = "battle-lock:logout-blocked";
|
|
14
|
-
BattleSocketEvents["BattleLockPZBlocked"] = "battle-lock:pz-blocked";
|
|
15
|
-
})(BattleSocketEvents || (exports.BattleSocketEvents = BattleSocketEvents = {}));
|
|
16
|
-
var BattleEventType;
|
|
17
|
-
(function (BattleEventType) {
|
|
18
|
-
BattleEventType["Miss"] = "Miss";
|
|
19
|
-
BattleEventType["Block"] = "Block";
|
|
20
|
-
BattleEventType["Hit"] = "Hit";
|
|
21
|
-
})(BattleEventType || (exports.BattleEventType = BattleEventType = {}));
|
|
22
|
-
//# sourceMappingURL=battle.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"battle.types.js","sourceRoot":"","sources":["../../src/types/battle.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,kBAUX;AAVD,WAAY,kBAAkB;IAC5B,qDAA+B,CAAA;IAC/B,qDAA+B,CAAA;IAC/B,yDAAmC,CAAA;IACnC,iDAA2B,CAAA;IAC3B,iDAA2B,CAAA;IAC3B,iEAA2C,CAAA;IAC3C,+DAAyC,CAAA;IACzC,4EAAsD,CAAA;IACtD,oEAA8C,CAAA;AAChD,CAAC,EAVW,kBAAkB,kCAAlB,kBAAkB,QAU7B;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,kCAAe,CAAA;IACf,8BAAW,CAAA;AACb,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { BasicAttribute, CharacterAttributes, CharacterTrait, CombatSkill, CraftingSkill } from "./skills.types";
|
|
2
|
-
export declare enum CharacterBuffType {
|
|
3
|
-
Skill = "skill",
|
|
4
|
-
CharacterAttribute = "characterAttribute"
|
|
5
|
-
}
|
|
6
|
-
export declare enum CharacterBuffDurationType {
|
|
7
|
-
Permanent = "permanent",
|
|
8
|
-
Temporary = "temporary"
|
|
9
|
-
}
|
|
10
|
-
export interface ICharacterBuff {
|
|
11
|
-
_id?: string;
|
|
12
|
-
type: CharacterBuffType;
|
|
13
|
-
trait: CharacterTrait;
|
|
14
|
-
buffPercentage: number;
|
|
15
|
-
absoluteChange?: number;
|
|
16
|
-
durationType: CharacterBuffDurationType;
|
|
17
|
-
options?: {
|
|
18
|
-
messages?: {
|
|
19
|
-
skipAllMessages?: boolean;
|
|
20
|
-
skipActivationMessage?: boolean;
|
|
21
|
-
skipDeactivationMessage?: boolean;
|
|
22
|
-
activation?: string;
|
|
23
|
-
deactivation?: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
isStackable?: boolean;
|
|
27
|
-
originateFrom?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface ISkillBuff extends ICharacterBuff {
|
|
30
|
-
type: CharacterBuffType.Skill;
|
|
31
|
-
trait: BasicAttribute | CombatSkill | CraftingSkill;
|
|
32
|
-
}
|
|
33
|
-
export interface ICharacterAttributeBuff extends ICharacterBuff {
|
|
34
|
-
type: CharacterBuffType.CharacterAttribute;
|
|
35
|
-
trait: CharacterAttributes;
|
|
36
|
-
}
|
|
37
|
-
export type ICharacterStrictBuff = ISkillBuff | ICharacterAttributeBuff;
|
|
38
|
-
export type ICharacterStrictPermanentBuff = ICharacterStrictBuff & {
|
|
39
|
-
durationType: CharacterBuffDurationType.Permanent;
|
|
40
|
-
};
|
|
41
|
-
export interface ICharacterPermanentBuff extends ICharacterBuff {
|
|
42
|
-
durationType: CharacterBuffDurationType.Permanent;
|
|
43
|
-
}
|
|
44
|
-
export interface ICharacterTemporaryBuff extends ICharacterBuff {
|
|
45
|
-
durationType: CharacterBuffDurationType.Temporary;
|
|
46
|
-
durationSeconds: number;
|
|
47
|
-
}
|
|
48
|
-
export interface ICharacterItemBuff extends ICharacterPermanentBuff {
|
|
49
|
-
itemId: string;
|
|
50
|
-
itemKey: string;
|
|
51
|
-
}
|
|
52
|
-
//# sourceMappingURL=buff.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buff.types.d.ts","sourceRoot":"","sources":["../../src/types/buff.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjH,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,kBAAkB,uBAAuB;CAC1C;AAED,oBAAY,yBAAyB;IACnC,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,iBAAiB,CAAC;IACxB,KAAK,EAAE,cAAc,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC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
3
|
-
exports.CharacterBuffDurationType = exports.CharacterBuffType = void 0;
|
|
4
|
-
var CharacterBuffType;
|
|
5
|
-
(function (CharacterBuffType) {
|
|
6
|
-
CharacterBuffType["Skill"] = "skill";
|
|
7
|
-
CharacterBuffType["CharacterAttribute"] = "characterAttribute";
|
|
8
|
-
})(CharacterBuffType || (exports.CharacterBuffType = CharacterBuffType = {}));
|
|
9
|
-
var CharacterBuffDurationType;
|
|
10
|
-
(function (CharacterBuffDurationType) {
|
|
11
|
-
CharacterBuffDurationType["Permanent"] = "permanent";
|
|
12
|
-
CharacterBuffDurationType["Temporary"] = "temporary";
|
|
13
|
-
})(CharacterBuffDurationType || (exports.CharacterBuffDurationType = CharacterBuffDurationType = {}));
|
|
14
|
-
//# sourceMappingURL=buff.types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buff.types.js","sourceRoot":"","sources":["../../src/types/buff.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,8DAAyC,CAAA;AAC3C,CAAC,EAHW,iBAAiB,iCAAjB,iBAAiB,QAG5B;AAED,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,oDAAuB,CAAA;IACvB,oDAAuB,CAAA;AACzB,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC"}
|
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { Types } from "mongoose";
|
|
2
|
-
import { AnimationDirection } from "./animation.types";
|
|
3
|
-
import { EntityAttackType, EntityType } from "./entity.types";
|
|
4
|
-
import { IEquipmentSet } from "./equipment.types";
|
|
5
|
-
import { IGuildPayload } from "./guild.types";
|
|
6
|
-
import { IItem } from "./item.types";
|
|
7
|
-
import { MapLayers } from "./maps.types";
|
|
8
|
-
import { IResource } from "./resource.types";
|
|
9
|
-
import { ISkill } from "./skills.types";
|
|
10
|
-
import { IUser } from "./user.types";
|
|
11
|
-
export interface ICharacter extends IResource {
|
|
12
|
-
name: string;
|
|
13
|
-
owner: IUser;
|
|
14
|
-
health: number;
|
|
15
|
-
maxHealth: number;
|
|
16
|
-
mana: number;
|
|
17
|
-
maxMana: number;
|
|
18
|
-
x: number;
|
|
19
|
-
y: number;
|
|
20
|
-
initialX: number;
|
|
21
|
-
initialY: number;
|
|
22
|
-
direction: AnimationDirection;
|
|
23
|
-
class: CharacterClass;
|
|
24
|
-
textureKey: string;
|
|
25
|
-
isOnline: boolean;
|
|
26
|
-
layer: MapLayers;
|
|
27
|
-
scene: string;
|
|
28
|
-
initialScene: string;
|
|
29
|
-
channelId: string;
|
|
30
|
-
otherEntitiesInView: any;
|
|
31
|
-
speed: number;
|
|
32
|
-
baseSpeed: number;
|
|
33
|
-
weight: number;
|
|
34
|
-
maxWeight: number;
|
|
35
|
-
movementIntervalMs: number;
|
|
36
|
-
baseMovementIntervalMs: number;
|
|
37
|
-
lastMovement: Date;
|
|
38
|
-
isBanned: boolean;
|
|
39
|
-
penalty: number;
|
|
40
|
-
banRemovalDate: Date;
|
|
41
|
-
hasPermanentBan: Date;
|
|
42
|
-
skills: ISkill;
|
|
43
|
-
target?: {
|
|
44
|
-
id: string;
|
|
45
|
-
type: EntityType;
|
|
46
|
-
} | null;
|
|
47
|
-
attackType: EntityAttackType;
|
|
48
|
-
attackIntervalSpeed: number;
|
|
49
|
-
equipment?: IEquipmentSet | string;
|
|
50
|
-
inventory: Promise<IItem | string>;
|
|
51
|
-
type: string;
|
|
52
|
-
isAlive: boolean;
|
|
53
|
-
alpha?: number;
|
|
54
|
-
isGiantForm?: boolean;
|
|
55
|
-
hasSkull?: boolean;
|
|
56
|
-
skullType?: CharacterSkullType;
|
|
57
|
-
skullExpiresAt?: Date;
|
|
58
|
-
isOnParty?: boolean;
|
|
59
|
-
friends?: string[];
|
|
60
|
-
friendRequests?: string[];
|
|
61
|
-
isOnGuild?: boolean;
|
|
62
|
-
isPvPEnabled?: boolean;
|
|
63
|
-
marketplaceCurrencyPreference?: "gold" | "gold_or_dc";
|
|
64
|
-
isListedForSale?: boolean;
|
|
65
|
-
tradedAt?: Date | string | null;
|
|
66
|
-
}
|
|
67
|
-
export declare enum CharacterClass {
|
|
68
|
-
None = "None",
|
|
69
|
-
Warrior = "Warrior",
|
|
70
|
-
Berserker = "Berserker",
|
|
71
|
-
Druid = "Druid",
|
|
72
|
-
Sorcerer = "Sorcerer",
|
|
73
|
-
Rogue = "Rogue",
|
|
74
|
-
Hunter = "Hunter"
|
|
75
|
-
}
|
|
76
|
-
export declare enum CharacterGender {
|
|
77
|
-
Male = "Male",
|
|
78
|
-
Female = "Female"
|
|
79
|
-
}
|
|
80
|
-
export declare enum CharacterSocketEvents {
|
|
81
|
-
CharacterRefresh = "CharacterRefresh",
|
|
82
|
-
CharacterCreate = "CharacterCreate",
|
|
83
|
-
CharacterPositionUpdate = "CharacterPositionUpdate",
|
|
84
|
-
CharacterPositionUpdateAll = "CharacterPositionUpdateAll",
|
|
85
|
-
CharacterPositionUpdateConfirm = "CharacterPositionUpdateConfirm",
|
|
86
|
-
CharacterLogout = "CharacterLogout",
|
|
87
|
-
CharacterPrivateMessage = "CharacterPrivateMessage",
|
|
88
|
-
CharacterPing = "CharacterPing",
|
|
89
|
-
CharacterForceDisconnect = "CharacterForceDisconnect",
|
|
90
|
-
CharacterForceReconnect = "CharacterForceReconnect",
|
|
91
|
-
CharacterSyncPosition = "CharacterSyncPosition",
|
|
92
|
-
RequestPosition = "RequestPosition",
|
|
93
|
-
PositionResponse = "PositionResponse",
|
|
94
|
-
Login = "Login",
|
|
95
|
-
ItemConsumed = "ItemConsumed",
|
|
96
|
-
AttributeChanged = "AttributeChanged",
|
|
97
|
-
CharacterRemoveFromView = "CharacterRemoveFromView",
|
|
98
|
-
CharacterPayload = "CharacterPayload",
|
|
99
|
-
CharacterSearchByName = "CharacterSearchByName",
|
|
100
|
-
CharacterAutoLoot = "CharacterAutoLoot",
|
|
101
|
-
CharacterTogglePvP = "CharacterTogglePvP",
|
|
102
|
-
ClientVersionOutdated = "client_version_outdated"
|
|
103
|
-
}
|
|
104
|
-
export declare enum CharacterFactions {
|
|
105
|
-
LifeBringer = "Life Bringer",
|
|
106
|
-
ShadowWalker = "Shadow Walker"
|
|
107
|
-
}
|
|
108
|
-
export declare enum LifeBringerRaces {
|
|
109
|
-
Human = "Human",
|
|
110
|
-
Elf = "Elf",
|
|
111
|
-
Dwarf = "Dwarf"
|
|
112
|
-
}
|
|
113
|
-
export declare enum ShadowWalkerRaces {
|
|
114
|
-
Human = "Human",
|
|
115
|
-
Orc = "Orc",
|
|
116
|
-
Minotaur = "Minotaur"
|
|
117
|
-
}
|
|
118
|
-
export type CharacterRaces = LifeBringerRaces | ShadowWalkerRaces;
|
|
119
|
-
export declare enum Modes {
|
|
120
|
-
SoftMode = "Soft",
|
|
121
|
-
HardcoreMode = "Hardcore",
|
|
122
|
-
PermadeathMode = "Permadeath"
|
|
123
|
-
}
|
|
124
|
-
export interface ICharacterPing {
|
|
125
|
-
id?: string;
|
|
126
|
-
socketCharId?: string;
|
|
127
|
-
requestId?: string;
|
|
128
|
-
clientSentAt?: number;
|
|
129
|
-
serverReceivedAt?: number;
|
|
130
|
-
serverEmittedAt?: number;
|
|
131
|
-
}
|
|
132
|
-
export interface ICharacterSyncPosition {
|
|
133
|
-
id: string;
|
|
134
|
-
position: {
|
|
135
|
-
originX: number;
|
|
136
|
-
originY: number;
|
|
137
|
-
direction: AnimationDirection;
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
export interface ICharacterPositionResponse {
|
|
141
|
-
x: number;
|
|
142
|
-
y: number;
|
|
143
|
-
scene: string;
|
|
144
|
-
}
|
|
145
|
-
export interface ICharacterPositionUpdateConfirm {
|
|
146
|
-
id: string;
|
|
147
|
-
isValid: boolean;
|
|
148
|
-
position: {
|
|
149
|
-
originX: number;
|
|
150
|
-
originY: number;
|
|
151
|
-
direction: AnimationDirection;
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
export type Events = CharacterSocketEvents;
|
|
155
|
-
export interface ICharacterCreateFromClient {
|
|
156
|
-
id: string;
|
|
157
|
-
channelId: string;
|
|
158
|
-
}
|
|
159
|
-
export interface ICharacterCreateFromServer {
|
|
160
|
-
id: string;
|
|
161
|
-
channelId: string;
|
|
162
|
-
name: string;
|
|
163
|
-
x: number;
|
|
164
|
-
y: number;
|
|
165
|
-
direction: AnimationDirection;
|
|
166
|
-
layer: MapLayers;
|
|
167
|
-
speed: number;
|
|
168
|
-
movementIntervalMs: number;
|
|
169
|
-
health: number;
|
|
170
|
-
maxHealth: number;
|
|
171
|
-
mana: number;
|
|
172
|
-
maxMana: number;
|
|
173
|
-
textureKey: string;
|
|
174
|
-
alpha?: number;
|
|
175
|
-
isGiantForm?: boolean;
|
|
176
|
-
hasSkull?: boolean;
|
|
177
|
-
skullType?: CharacterSkullType;
|
|
178
|
-
isOnParty?: boolean;
|
|
179
|
-
owner?: Record<string, unknown>;
|
|
180
|
-
isOnGuild?: boolean;
|
|
181
|
-
guild?: IGuildPayload;
|
|
182
|
-
isPvPEnabled?: boolean;
|
|
183
|
-
faction?: CharacterFactions;
|
|
184
|
-
battleLock?: {
|
|
185
|
-
hasLock: boolean;
|
|
186
|
-
type: "pve" | "pvp" | null;
|
|
187
|
-
remainingSeconds: number;
|
|
188
|
-
} | null;
|
|
189
|
-
}
|
|
190
|
-
export interface ICharacterPositionUpdateFromClient {
|
|
191
|
-
originX: number;
|
|
192
|
-
originY: number;
|
|
193
|
-
newX: number;
|
|
194
|
-
newY: number;
|
|
195
|
-
direction: AnimationDirection;
|
|
196
|
-
timestamp?: number;
|
|
197
|
-
}
|
|
198
|
-
export interface ICharacterPositionUpdateFromServer {
|
|
199
|
-
id: string;
|
|
200
|
-
x: number;
|
|
201
|
-
y: number;
|
|
202
|
-
newX: number;
|
|
203
|
-
newY: number;
|
|
204
|
-
name: string;
|
|
205
|
-
direction: AnimationDirection;
|
|
206
|
-
isMoving: boolean;
|
|
207
|
-
layer: MapLayers;
|
|
208
|
-
channelId: string;
|
|
209
|
-
speed: number;
|
|
210
|
-
movementIntervalMs: number;
|
|
211
|
-
health: number;
|
|
212
|
-
maxHealth: number;
|
|
213
|
-
mana: number;
|
|
214
|
-
maxMana: number;
|
|
215
|
-
textureKey: string;
|
|
216
|
-
alpha?: number;
|
|
217
|
-
owner?: Record<string, unknown>;
|
|
218
|
-
faction?: CharacterFactions;
|
|
219
|
-
}
|
|
220
|
-
export interface IAllCharacterPositionUpdateFromServer {
|
|
221
|
-
nearbyCharacters: ICharacterPositionUpdateFromServer[];
|
|
222
|
-
}
|
|
223
|
-
export interface ICharacterLogout {
|
|
224
|
-
id: string;
|
|
225
|
-
}
|
|
226
|
-
export interface ICameraCoordinates {
|
|
227
|
-
x: number;
|
|
228
|
-
y: number;
|
|
229
|
-
width: number;
|
|
230
|
-
height: number;
|
|
231
|
-
}
|
|
232
|
-
export interface ICharacterForceDisconnect {
|
|
233
|
-
reason: string;
|
|
234
|
-
}
|
|
235
|
-
export interface ICharacterTexture {
|
|
236
|
-
class: string[];
|
|
237
|
-
race: string[];
|
|
238
|
-
textureKey: string;
|
|
239
|
-
textureDisplayName: string;
|
|
240
|
-
isGloballyAvailable?: boolean;
|
|
241
|
-
}
|
|
242
|
-
export interface ICharacterAttributeChanged {
|
|
243
|
-
targetId: string;
|
|
244
|
-
health?: number;
|
|
245
|
-
mana?: number;
|
|
246
|
-
speed?: number;
|
|
247
|
-
maxMana?: number;
|
|
248
|
-
maxHealth?: number;
|
|
249
|
-
attackIntervalSpeed?: number;
|
|
250
|
-
weight?: number;
|
|
251
|
-
maxWeight?: number;
|
|
252
|
-
alpha?: number;
|
|
253
|
-
textureKey?: string;
|
|
254
|
-
isGiantForm?: boolean;
|
|
255
|
-
hasSkull?: boolean;
|
|
256
|
-
skullType?: CharacterSkullType;
|
|
257
|
-
isOnParty?: boolean;
|
|
258
|
-
isOnGuild?: boolean;
|
|
259
|
-
isPvPEnabled?: boolean;
|
|
260
|
-
faction?: CharacterFactions;
|
|
261
|
-
}
|
|
262
|
-
export interface IAppliedBuffsEffect {
|
|
263
|
-
_id: Types.ObjectId;
|
|
264
|
-
key: string;
|
|
265
|
-
value: number;
|
|
266
|
-
}
|
|
267
|
-
export declare enum CharacterSkullType {
|
|
268
|
-
WhiteSkull = "WhiteSkull",
|
|
269
|
-
YellowSkull = "YellowSkull",
|
|
270
|
-
RedSkull = "RedSkull"
|
|
271
|
-
}
|
|
272
|
-
export interface ICharacterSearchByNameResponse {
|
|
273
|
-
characters: ICharacter[];
|
|
274
|
-
}
|
|
275
|
-
export interface ICharacterAutoLootFromClient {
|
|
276
|
-
itemIdsToLoot: string[];
|
|
277
|
-
}
|
|
278
|
-
export interface ICharacterTogglePvP {
|
|
279
|
-
isPvPEnabled: boolean;
|
|
280
|
-
}
|
|
281
|
-
export interface IClientVersionOutdated {
|
|
282
|
-
minimumVersion: string;
|
|
283
|
-
currentVersion: string;
|
|
284
|
-
clientVersion: string | null;
|
|
285
|
-
updateUrls: {
|
|
286
|
-
web: string;
|
|
287
|
-
android: string;
|
|
288
|
-
steam: string;
|
|
289
|
-
desktop: string;
|
|
290
|
-
};
|
|
291
|
-
message: string;
|
|
292
|
-
}
|
|
293
|
-
//# sourceMappingURL=character.types.d.ts.map
|