@rpg-engine/shared 0.3.42 → 0.3.43
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/README.md +29 -29
- package/dist/constants/date.constants.d.ts +2 -2
- package/dist/constants/date.constants.js +5 -5
- package/dist/constants/npc.constants.d.ts +1 -1
- package/dist/constants/npc.constants.js +4 -4
- package/dist/constants/socket.constants.d.ts +2 -2
- package/dist/constants/socket.constants.js +6 -6
- package/dist/constants/world.constants.d.ts +10 -10
- package/dist/constants/world.constants.js +13 -13
- package/dist/helpers/skillHelpers.d.ts +4 -4
- package/dist/helpers/skillHelpers.js +25 -25
- package/dist/index.d.ts +39 -39
- package/dist/index.js +55 -55
- package/dist/libs/GridHelper.d.ts +11 -11
- package/dist/libs/GridHelper.js +37 -37
- package/dist/libs/MapZipHelper.d.ts +2 -0
- package/dist/libs/MapZipHelper.d.ts.map +1 -0
- package/dist/libs/MapZipHelper.js +27 -0
- package/dist/libs/MapZipHelper.js.map +1 -0
- package/dist/libs/MathHelper.d.ts +16 -16
- package/dist/libs/MathHelper.js +14 -14
- package/dist/libs/SocketHelper.d.ts +2 -2
- package/dist/libs/SocketHelper.js +14 -14
- package/dist/libs/TextHelper.d.ts +7 -7
- package/dist/libs/TextHelper.js +21 -21
- package/dist/libs/TypeHelper.d.ts +3 -3
- package/dist/libs/TypeHelper.js +16 -16
- package/dist/translations/app-rate.lang.json +38 -38
- package/dist/translations/assets.lang.json +82 -82
- package/dist/translations/auth.lang.json +182 -182
- package/dist/translations/email.lang.json +70 -70
- package/dist/translations/error.lang.json +18 -18
- package/dist/translations/form.lang.json +94 -94
- package/dist/translations/global.lang.json +90 -90
- package/dist/translations/logs.lang.json +6 -6
- package/dist/translations/onboarding.lang.d.ts +10 -10
- package/dist/translations/onboarding.lang.js +21 -21
- package/dist/translations/onboarding.lang.json +50 -50
- package/dist/translations/order.lang.json +90 -90
- package/dist/translations/search.lang.json +50 -50
- package/dist/translations/settings.lang.json +14 -14
- package/dist/translations/tabs.lang.json +22 -22
- package/dist/translations/users.lang.json +22 -22
- package/dist/translations/validation.lang.json +86 -86
- package/dist/types/animation.types.d.ts +16 -16
- package/dist/types/animation.types.js +2 -2
- package/dist/types/api.types.d.ts +21 -21
- package/dist/types/api.types.js +20 -20
- package/dist/types/asset.types.d.ts +6 -6
- package/dist/types/asset.types.js +2 -2
- package/dist/types/auth.types.d.ts +7 -7
- package/dist/types/auth.types.js +2 -2
- package/dist/types/battle.types.d.ts +35 -35
- package/dist/types/battle.types.js +17 -17
- package/dist/types/character.types.d.ts +134 -134
- package/dist/types/character.types.js +29 -29
- package/dist/types/chat.types.d.ts +30 -30
- package/dist/types/chat.types.js +14 -14
- package/dist/types/container.types.d.ts +9 -0
- package/dist/types/container.types.d.ts.map +1 -0
- package/dist/types/container.types.js +3 -0
- package/dist/types/container.types.js.map +1 -0
- package/dist/types/device.types.d.ts +24 -24
- package/dist/types/device.types.js +7 -7
- package/dist/types/entity.types.d.ts +20 -20
- package/dist/types/entity.types.js +14 -14
- package/dist/types/env.types.d.ts +5 -5
- package/dist/types/env.types.js +9 -9
- package/dist/types/equipment.types.d.ts +32 -32
- package/dist/types/equipment.types.js +19 -19
- package/dist/types/googleOAuth.types.d.ts +47 -47
- package/dist/types/googleOAuth.types.js +2 -2
- package/dist/types/item.types.d.ts +157 -157
- package/dist/types/item.types.js +99 -99
- package/dist/types/itemContainer.types.d.ts +52 -52
- package/dist/types/itemContainer.types.js +2 -2
- package/dist/types/maps.types.d.ts +19 -19
- package/dist/types/maps.types.js +11 -11
- package/dist/types/notification.types.d.ts +14 -14
- package/dist/types/notification.types.js +2 -2
- package/dist/types/npc.types.d.ts +114 -114
- package/dist/types/npc.types.js +35 -35
- package/dist/types/npcMetadata.types.d.ts +7 -0
- package/dist/types/npcMetadata.types.d.ts.map +1 -0
- package/dist/types/npcMetadata.types.js +20 -0
- package/dist/types/npcMetadata.types.js.map +1 -0
- package/dist/types/pagination.types.d.ts +13 -13
- package/dist/types/pagination.types.js +2 -2
- package/dist/types/places.types.d.ts +16 -16
- package/dist/types/places.types.js +9 -9
- package/dist/types/player.types.d.ts +49 -0
- package/dist/types/player.types.d.ts.map +1 -0
- package/dist/types/player.types.js +14 -0
- package/dist/types/player.types.js.map +1 -0
- package/dist/types/preloadScene.types.d.ts +4 -4
- package/dist/types/preloadScene.types.js +7 -7
- package/dist/types/resource.types.d.ts +5 -5
- package/dist/types/resource.types.js +2 -2
- package/dist/types/scene.types.d.ts +8 -8
- package/dist/types/scene.types.js +8 -8
- package/dist/types/skills.types.d.ts +57 -57
- package/dist/types/skills.types.d.ts.map +1 -1
- package/dist/types/skills.types.js +22 -22
- package/dist/types/skills.types.js.map +1 -1
- package/dist/types/socket.types.d.ts +17 -17
- package/dist/types/socket.types.js +8 -8
- package/dist/types/tiled.types.d.ts +125 -107
- package/dist/types/tiled.types.d.ts.map +1 -1
- package/dist/types/tiled.types.js +13 -13
- package/dist/types/tiled.types.js.map +1 -1
- package/dist/types/translation.types.d.ts +5 -5
- package/dist/types/translation.types.js +8 -8
- package/dist/types/ui.types.d.ts +8 -8
- package/dist/types/ui.types.js +7 -7
- package/dist/types/user.types.d.ts +101 -101
- package/dist/types/user.types.js +38 -38
- package/dist/types/validation.types.d.ts +9 -9
- package/dist/types/validation.types.js +2 -2
- package/dist/types/view.types.d.ts +14 -14
- package/dist/types/view.types.js +7 -7
- package/package.json +41 -41
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { IResource } from "./resource.types";
|
|
2
|
-
export declare enum SkillSocketEvents {
|
|
3
|
-
ExperienceGain = "ExperienceGain",
|
|
4
|
-
SkillGain = "SkillGain"
|
|
5
|
-
}
|
|
6
|
-
export declare enum SkillEventType {
|
|
7
|
-
LevelUp = "LevelUp",
|
|
8
|
-
SkillLevelUp = "SkillLevelUp"
|
|
9
|
-
}
|
|
10
|
-
export interface ISkillEventFromServer {
|
|
11
|
-
characterId: string;
|
|
12
|
-
targetId: string;
|
|
13
|
-
targetType: "Character" | "NPC";
|
|
14
|
-
eventType: SkillEventType;
|
|
15
|
-
exp?: number;
|
|
16
|
-
level?: number;
|
|
17
|
-
skill?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface ISkillDetails {
|
|
20
|
-
type: SkillType;
|
|
21
|
-
level: number;
|
|
22
|
-
skillPoints: number;
|
|
23
|
-
skillPointsToNextLevel: number;
|
|
24
|
-
}
|
|
25
|
-
export interface ISkill extends IResource {
|
|
26
|
-
owner: string;
|
|
27
|
-
level: number;
|
|
28
|
-
xpGainRate: number;
|
|
29
|
-
experience: number;
|
|
30
|
-
xpToNextLevel: number;
|
|
31
|
-
stamina: ISkillDetails;
|
|
32
|
-
magic: ISkillDetails;
|
|
33
|
-
magicResistance: ISkillDetails;
|
|
34
|
-
strength: ISkillDetails;
|
|
35
|
-
resistance: ISkillDetails;
|
|
36
|
-
dexterity: ISkillDetails;
|
|
37
|
-
first: ISkillDetails;
|
|
38
|
-
club: ISkillDetails;
|
|
39
|
-
sword: ISkillDetails;
|
|
40
|
-
axe: ISkillDetails;
|
|
41
|
-
distance: ISkillDetails;
|
|
42
|
-
shielding: ISkillDetails;
|
|
43
|
-
dagger: ISkillDetails;
|
|
44
|
-
fishing: ISkillDetails;
|
|
45
|
-
mining: ISkillDetails;
|
|
46
|
-
lumberjacking: ISkillDetails;
|
|
47
|
-
cooking: ISkillDetails;
|
|
48
|
-
alchemy: ISkillDetails;
|
|
49
|
-
}
|
|
50
|
-
export declare enum SkillType {
|
|
51
|
-
BasicAttributes = "BasicAttributes",
|
|
52
|
-
Combat = "Combat",
|
|
53
|
-
Crafting = "Crafting",
|
|
54
|
-
Gathering = "Gathering",
|
|
55
|
-
Magic = "Magic",
|
|
56
|
-
Misc = "Misc"
|
|
57
|
-
}
|
|
1
|
+
import { IResource } from "./resource.types";
|
|
2
|
+
export declare enum SkillSocketEvents {
|
|
3
|
+
ExperienceGain = "ExperienceGain",
|
|
4
|
+
SkillGain = "SkillGain"
|
|
5
|
+
}
|
|
6
|
+
export declare enum SkillEventType {
|
|
7
|
+
LevelUp = "LevelUp",
|
|
8
|
+
SkillLevelUp = "SkillLevelUp"
|
|
9
|
+
}
|
|
10
|
+
export interface ISkillEventFromServer {
|
|
11
|
+
characterId: string;
|
|
12
|
+
targetId: string;
|
|
13
|
+
targetType: "Character" | "NPC";
|
|
14
|
+
eventType: SkillEventType;
|
|
15
|
+
exp?: number;
|
|
16
|
+
level?: number;
|
|
17
|
+
skill?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ISkillDetails {
|
|
20
|
+
type: SkillType;
|
|
21
|
+
level: number;
|
|
22
|
+
skillPoints: number;
|
|
23
|
+
skillPointsToNextLevel: number;
|
|
24
|
+
}
|
|
25
|
+
export interface ISkill extends IResource {
|
|
26
|
+
owner: string;
|
|
27
|
+
level: number;
|
|
28
|
+
xpGainRate: number;
|
|
29
|
+
experience: number;
|
|
30
|
+
xpToNextLevel: number;
|
|
31
|
+
stamina: ISkillDetails;
|
|
32
|
+
magic: ISkillDetails;
|
|
33
|
+
magicResistance: ISkillDetails;
|
|
34
|
+
strength: ISkillDetails;
|
|
35
|
+
resistance: ISkillDetails;
|
|
36
|
+
dexterity: ISkillDetails;
|
|
37
|
+
first: ISkillDetails;
|
|
38
|
+
club: ISkillDetails;
|
|
39
|
+
sword: ISkillDetails;
|
|
40
|
+
axe: ISkillDetails;
|
|
41
|
+
distance: ISkillDetails;
|
|
42
|
+
shielding: ISkillDetails;
|
|
43
|
+
dagger: ISkillDetails;
|
|
44
|
+
fishing: ISkillDetails;
|
|
45
|
+
mining: ISkillDetails;
|
|
46
|
+
lumberjacking: ISkillDetails;
|
|
47
|
+
cooking: ISkillDetails;
|
|
48
|
+
alchemy: ISkillDetails;
|
|
49
|
+
}
|
|
50
|
+
export declare enum SkillType {
|
|
51
|
+
BasicAttributes = "BasicAttributes",
|
|
52
|
+
Combat = "Combat",
|
|
53
|
+
Crafting = "Crafting",
|
|
54
|
+
Gathering = "Gathering",
|
|
55
|
+
Magic = "Magic",
|
|
56
|
+
Misc = "Misc"
|
|
57
|
+
}
|
|
58
58
|
//# sourceMappingURL=skills.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.types.d.ts","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,cAAc,mBAAmB;IACjC,SAAS,cAAc;CACxB;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,WAAW,GAAG,KAAK,CAAC;IAChC,SAAS,EAAE,cAAc,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;
|
|
1
|
+
{"version":3,"file":"skills.types.d.ts","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,oBAAY,iBAAiB;IAC3B,cAAc,mBAAmB;IACjC,SAAS,cAAc;CACxB;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,WAAW,GAAG,KAAK,CAAC;IAChC,SAAS,EAAE,cAAc,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,sBAAsB,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,MAAO,SAAQ,SAAS;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IAGtB,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,EAAE,aAAa,CAAC;IACrB,eAAe,EAAE,aAAa,CAAC;IAC/B,QAAQ,EAAE,aAAa,CAAC;IACxB,UAAU,EAAE,aAAa,CAAC;IAC1B,SAAS,EAAE,aAAa,CAAC;IAGzB,KAAK,EAAE,aAAa,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,aAAa,CAAC;IACrB,GAAG,EAAE,aAAa,CAAC;IACnB,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;IAGtB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,aAAa,CAAC;CAQxB;AAED,oBAAY,SAAS;IACnB,eAAe,oBAAoB;IACnC,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,KAAK,UAAU;IACf,IAAI,SAAS;CACd"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SkillType = exports.SkillEventType = exports.SkillSocketEvents = void 0;
|
|
4
|
-
var SkillSocketEvents;
|
|
5
|
-
(function (SkillSocketEvents) {
|
|
6
|
-
SkillSocketEvents["ExperienceGain"] = "ExperienceGain";
|
|
7
|
-
SkillSocketEvents["SkillGain"] = "SkillGain";
|
|
8
|
-
})(SkillSocketEvents = exports.SkillSocketEvents || (exports.SkillSocketEvents = {}));
|
|
9
|
-
var SkillEventType;
|
|
10
|
-
(function (SkillEventType) {
|
|
11
|
-
SkillEventType["LevelUp"] = "LevelUp";
|
|
12
|
-
SkillEventType["SkillLevelUp"] = "SkillLevelUp";
|
|
13
|
-
})(SkillEventType = exports.SkillEventType || (exports.SkillEventType = {}));
|
|
14
|
-
var SkillType;
|
|
15
|
-
(function (SkillType) {
|
|
16
|
-
SkillType["BasicAttributes"] = "BasicAttributes";
|
|
17
|
-
SkillType["Combat"] = "Combat";
|
|
18
|
-
SkillType["Crafting"] = "Crafting";
|
|
19
|
-
SkillType["Gathering"] = "Gathering";
|
|
20
|
-
SkillType["Magic"] = "Magic";
|
|
21
|
-
SkillType["Misc"] = "Misc";
|
|
22
|
-
})(SkillType = exports.SkillType || (exports.SkillType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SkillType = exports.SkillEventType = exports.SkillSocketEvents = void 0;
|
|
4
|
+
var SkillSocketEvents;
|
|
5
|
+
(function (SkillSocketEvents) {
|
|
6
|
+
SkillSocketEvents["ExperienceGain"] = "ExperienceGain";
|
|
7
|
+
SkillSocketEvents["SkillGain"] = "SkillGain";
|
|
8
|
+
})(SkillSocketEvents = exports.SkillSocketEvents || (exports.SkillSocketEvents = {}));
|
|
9
|
+
var SkillEventType;
|
|
10
|
+
(function (SkillEventType) {
|
|
11
|
+
SkillEventType["LevelUp"] = "LevelUp";
|
|
12
|
+
SkillEventType["SkillLevelUp"] = "SkillLevelUp";
|
|
13
|
+
})(SkillEventType = exports.SkillEventType || (exports.SkillEventType = {}));
|
|
14
|
+
var SkillType;
|
|
15
|
+
(function (SkillType) {
|
|
16
|
+
SkillType["BasicAttributes"] = "BasicAttributes";
|
|
17
|
+
SkillType["Combat"] = "Combat";
|
|
18
|
+
SkillType["Crafting"] = "Crafting";
|
|
19
|
+
SkillType["Gathering"] = "Gathering";
|
|
20
|
+
SkillType["Magic"] = "Magic";
|
|
21
|
+
SkillType["Misc"] = "Misc";
|
|
22
|
+
})(SkillType = exports.SkillType || (exports.SkillType = {}));
|
|
23
23
|
//# sourceMappingURL=skills.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;IACjC,4CAAuB,CAAA;AACzB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;
|
|
1
|
+
{"version":3,"file":"skills.types.js","sourceRoot":"","sources":["../../src/types/skills.types.ts"],"names":[],"mappings":";;;AAEA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,sDAAiC,CAAA;IACjC,4CAAuB,CAAA;AACzB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,qCAAmB,CAAA;IACnB,+CAA6B,CAAA;AAC/B,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AA0DD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,gDAAmC,CAAA;IACnC,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,oCAAuB,CAAA;IACvB,4BAAe,CAAA;IACf,0BAAa,CAAA;AACf,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export declare enum SocketTypes {
|
|
2
|
-
TCP = "TCP",
|
|
3
|
-
UDP = "UDP"
|
|
4
|
-
}
|
|
5
|
-
export interface ISocket {
|
|
6
|
-
init: (socketType?: SocketTypes) => Promise<void> | void;
|
|
7
|
-
onConnect?: (callback: any) => void;
|
|
8
|
-
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
9
|
-
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
10
|
-
disconnect: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface ISocketTransmissionZone {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
width: number;
|
|
16
|
-
height: number;
|
|
17
|
-
}
|
|
1
|
+
export declare enum SocketTypes {
|
|
2
|
+
TCP = "TCP",
|
|
3
|
+
UDP = "UDP"
|
|
4
|
+
}
|
|
5
|
+
export interface ISocket {
|
|
6
|
+
init: (socketType?: SocketTypes) => Promise<void> | void;
|
|
7
|
+
onConnect?: (callback: any) => void;
|
|
8
|
+
emitToUser<T>(channel: string, eventName: string, data?: T): any;
|
|
9
|
+
emitToAllUsers<T>(eventName: string, data?: T): void;
|
|
10
|
+
disconnect: () => void;
|
|
11
|
+
}
|
|
12
|
+
export interface ISocketTransmissionZone {
|
|
13
|
+
x: number;
|
|
14
|
+
y: number;
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
}
|
|
18
18
|
//# sourceMappingURL=socket.types.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SocketTypes = void 0;
|
|
4
|
-
var SocketTypes;
|
|
5
|
-
(function (SocketTypes) {
|
|
6
|
-
SocketTypes["TCP"] = "TCP";
|
|
7
|
-
SocketTypes["UDP"] = "UDP";
|
|
8
|
-
})(SocketTypes = exports.SocketTypes || (exports.SocketTypes = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SocketTypes = void 0;
|
|
4
|
+
var SocketTypes;
|
|
5
|
+
(function (SocketTypes) {
|
|
6
|
+
SocketTypes["TCP"] = "TCP";
|
|
7
|
+
SocketTypes["UDP"] = "UDP";
|
|
8
|
+
})(SocketTypes = exports.SocketTypes || (exports.SocketTypes = {}));
|
|
9
9
|
//# sourceMappingURL=socket.types.js.map
|
|
@@ -1,108 +1,126 @@
|
|
|
1
|
-
export interface ITiled {
|
|
2
|
-
compressionlevel: number;
|
|
3
|
-
height: number;
|
|
4
|
-
infinite: boolean;
|
|
5
|
-
layers: ITiledLayer[];
|
|
6
|
-
nextlayerid: number;
|
|
7
|
-
nextobjectid: number;
|
|
8
|
-
orientation: string;
|
|
9
|
-
renderorder: string;
|
|
10
|
-
tiledversion: string;
|
|
11
|
-
tileheight: number;
|
|
12
|
-
tilesets: ITileset[];
|
|
13
|
-
tilewidth: number;
|
|
14
|
-
type: string;
|
|
15
|
-
version: string;
|
|
16
|
-
width: number;
|
|
17
|
-
}
|
|
18
|
-
export interface ITiledLayer {
|
|
19
|
-
chunks: ITiledChunk[];
|
|
20
|
-
height: number;
|
|
21
|
-
id: number;
|
|
22
|
-
name: string;
|
|
23
|
-
opacity: number;
|
|
24
|
-
properties: ILayerProperty[];
|
|
25
|
-
startx: number;
|
|
26
|
-
starty: number;
|
|
27
|
-
type: string;
|
|
28
|
-
visible: boolean;
|
|
29
|
-
width: number;
|
|
30
|
-
x: number;
|
|
31
|
-
y: number;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
height: number;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
name: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}
|
|
102
|
-
export
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
}
|
|
1
|
+
export interface ITiled {
|
|
2
|
+
compressionlevel: number;
|
|
3
|
+
height: number;
|
|
4
|
+
infinite: boolean;
|
|
5
|
+
layers: ITiledLayer[];
|
|
6
|
+
nextlayerid: number;
|
|
7
|
+
nextobjectid: number;
|
|
8
|
+
orientation: string;
|
|
9
|
+
renderorder: string;
|
|
10
|
+
tiledversion: string;
|
|
11
|
+
tileheight: number;
|
|
12
|
+
tilesets: ITileset[];
|
|
13
|
+
tilewidth: number;
|
|
14
|
+
type: string;
|
|
15
|
+
version: string;
|
|
16
|
+
width: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ITiledLayer {
|
|
19
|
+
chunks: ITiledChunk[];
|
|
20
|
+
height: number;
|
|
21
|
+
id: number;
|
|
22
|
+
name: string;
|
|
23
|
+
opacity: number;
|
|
24
|
+
properties: ILayerProperty[];
|
|
25
|
+
startx: number;
|
|
26
|
+
starty: number;
|
|
27
|
+
type: string;
|
|
28
|
+
visible: boolean;
|
|
29
|
+
width: number;
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
objects?: ITiledObject[];
|
|
33
|
+
}
|
|
34
|
+
export interface ITiledObject {
|
|
35
|
+
height: number;
|
|
36
|
+
id: number;
|
|
37
|
+
name: string;
|
|
38
|
+
properties: ITiledObjectProperty[];
|
|
39
|
+
rotation: number;
|
|
40
|
+
type: string;
|
|
41
|
+
visible: boolean;
|
|
42
|
+
width: number;
|
|
43
|
+
x: number;
|
|
44
|
+
y: number;
|
|
45
|
+
}
|
|
46
|
+
export interface ITiledObjectProperty {
|
|
47
|
+
name: string;
|
|
48
|
+
type: string;
|
|
49
|
+
value: string;
|
|
50
|
+
}
|
|
51
|
+
export interface ITiledChunk {
|
|
52
|
+
data: number[];
|
|
53
|
+
height: number;
|
|
54
|
+
width: number;
|
|
55
|
+
x: number;
|
|
56
|
+
y: number;
|
|
57
|
+
}
|
|
58
|
+
export interface ILayerProperty {
|
|
59
|
+
name: string;
|
|
60
|
+
type: string;
|
|
61
|
+
value: string;
|
|
62
|
+
}
|
|
63
|
+
export interface ITileset {
|
|
64
|
+
columns: number;
|
|
65
|
+
firstgid: number;
|
|
66
|
+
image: string;
|
|
67
|
+
imageheight: number;
|
|
68
|
+
imagewidth: number;
|
|
69
|
+
margin: number;
|
|
70
|
+
name: string;
|
|
71
|
+
spacing: number;
|
|
72
|
+
tilecount: number;
|
|
73
|
+
tileheight: number;
|
|
74
|
+
tiles: ITile[];
|
|
75
|
+
tilewidth: number;
|
|
76
|
+
wangsets: IWangset[];
|
|
77
|
+
}
|
|
78
|
+
export interface ITile {
|
|
79
|
+
id: number;
|
|
80
|
+
properties: ITileProperty[];
|
|
81
|
+
animation?: ITileAnimation[];
|
|
82
|
+
}
|
|
83
|
+
export interface ITileAnimation {
|
|
84
|
+
duration: number;
|
|
85
|
+
tileid: number;
|
|
86
|
+
}
|
|
87
|
+
export interface ITileProperty {
|
|
88
|
+
name: string;
|
|
89
|
+
type: Type;
|
|
90
|
+
value: boolean;
|
|
91
|
+
}
|
|
92
|
+
export declare enum Type {
|
|
93
|
+
Bool = "bool"
|
|
94
|
+
}
|
|
95
|
+
export interface IWangset {
|
|
96
|
+
colors: IColor[];
|
|
97
|
+
name: string;
|
|
98
|
+
tile: number;
|
|
99
|
+
type: string;
|
|
100
|
+
wangtiles: IWangTile[];
|
|
101
|
+
}
|
|
102
|
+
export interface IColor {
|
|
103
|
+
color: string;
|
|
104
|
+
name: string;
|
|
105
|
+
probability: number;
|
|
106
|
+
tile: number;
|
|
107
|
+
}
|
|
108
|
+
export interface IWangTile {
|
|
109
|
+
tileid: number;
|
|
110
|
+
wangid: number[];
|
|
111
|
+
}
|
|
112
|
+
export interface IGetTileXYResult {
|
|
113
|
+
x: number;
|
|
114
|
+
y: number;
|
|
115
|
+
}
|
|
116
|
+
export interface ITiledTile {
|
|
117
|
+
id: number;
|
|
118
|
+
properties: ITileProperty[];
|
|
119
|
+
}
|
|
120
|
+
export declare const TiledLayerNames: {
|
|
121
|
+
0: string;
|
|
122
|
+
1: string;
|
|
123
|
+
2: string;
|
|
124
|
+
3: string;
|
|
125
|
+
};
|
|
108
126
|
//# sourceMappingURL=tiled.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiled.types.d.ts","sourceRoot":"","sources":["../../src/types/tiled.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,EAAE,CA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SAAS;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,EAAE,CAAC;CACxB;AAED,MAAM,WAAW,MAAM;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B;AAED,eAAO,MAAM,eAAe;;;;;CAK3B,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TiledLayerNames = exports.Type = void 0;
|
|
4
|
-
var Type;
|
|
5
|
-
(function (Type) {
|
|
6
|
-
Type["Bool"] = "bool";
|
|
7
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
8
|
-
exports.TiledLayerNames = {
|
|
9
|
-
0: "ground",
|
|
10
|
-
1: "over-ground",
|
|
11
|
-
2: "character",
|
|
12
|
-
3: "over-character",
|
|
13
|
-
};
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TiledLayerNames = exports.Type = void 0;
|
|
4
|
+
var Type;
|
|
5
|
+
(function (Type) {
|
|
6
|
+
Type["Bool"] = "bool";
|
|
7
|
+
})(Type = exports.Type || (exports.Type = {}));
|
|
8
|
+
exports.TiledLayerNames = {
|
|
9
|
+
0: "ground",
|
|
10
|
+
1: "over-ground",
|
|
11
|
+
2: "character",
|
|
12
|
+
3: "over-character",
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=tiled.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tiled.types.js","sourceRoot":"","sources":["../../src/types/tiled.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"tiled.types.js","sourceRoot":"","sources":["../../src/types/tiled.types.ts"],"names":[],"mappings":";;;AAqGA,IAAY,IAEX;AAFD,WAAY,IAAI;IACd,qBAAa,CAAA;AACf,CAAC,EAFW,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAEf;AAgCY,QAAA,eAAe,GAAG;IAC7B,CAAC,EAAE,QAAQ;IACX,CAAC,EAAE,aAAa;IAChB,CAAC,EAAE,WAAW;IACd,CAAC,EAAE,gBAAgB;CACpB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type TranslationTypes = "auth" | "form" | "global" | "logs" | "users" | "validation" | "error" | "email" | "collections" | "settings" | "trackers" | "assets" | "help" | "portfolios" | "search" | "news" | "rankings" | "tabs" | "order" | "company" | "onboarding" | "portfolio-picker" | "marketing" | "app-rate";
|
|
2
|
-
export declare enum Languages {
|
|
3
|
-
eng = "eng",
|
|
4
|
-
ptBr = "ptBr"
|
|
5
|
-
}
|
|
1
|
+
export declare type TranslationTypes = "auth" | "form" | "global" | "logs" | "users" | "validation" | "error" | "email" | "collections" | "settings" | "trackers" | "assets" | "help" | "portfolios" | "search" | "news" | "rankings" | "tabs" | "order" | "company" | "onboarding" | "portfolio-picker" | "marketing" | "app-rate";
|
|
2
|
+
export declare enum Languages {
|
|
3
|
+
eng = "eng",
|
|
4
|
+
ptBr = "ptBr"
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=translation.types.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Languages = void 0;
|
|
4
|
-
var Languages;
|
|
5
|
-
(function (Languages) {
|
|
6
|
-
Languages["eng"] = "eng";
|
|
7
|
-
Languages["ptBr"] = "ptBr";
|
|
8
|
-
})(Languages = exports.Languages || (exports.Languages = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Languages = void 0;
|
|
4
|
+
var Languages;
|
|
5
|
+
(function (Languages) {
|
|
6
|
+
Languages["eng"] = "eng";
|
|
7
|
+
Languages["ptBr"] = "ptBr";
|
|
8
|
+
})(Languages = exports.Languages || (exports.Languages = {}));
|
|
9
9
|
//# sourceMappingURL=translation.types.js.map
|
package/dist/types/ui.types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare enum UISocketEvents {
|
|
2
|
-
ShowMessage = "ShowMessage"
|
|
3
|
-
}
|
|
4
|
-
export declare type UIMessageType = "info" | "warning" | "error";
|
|
5
|
-
export interface IUIShowMessage {
|
|
6
|
-
message: string;
|
|
7
|
-
type: UIMessageType;
|
|
8
|
-
}
|
|
1
|
+
export declare enum UISocketEvents {
|
|
2
|
+
ShowMessage = "ShowMessage"
|
|
3
|
+
}
|
|
4
|
+
export declare type UIMessageType = "info" | "warning" | "error";
|
|
5
|
+
export interface IUIShowMessage {
|
|
6
|
+
message: string;
|
|
7
|
+
type: UIMessageType;
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=ui.types.d.ts.map
|
package/dist/types/ui.types.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UISocketEvents = void 0;
|
|
4
|
-
var UISocketEvents;
|
|
5
|
-
(function (UISocketEvents) {
|
|
6
|
-
UISocketEvents["ShowMessage"] = "ShowMessage";
|
|
7
|
-
})(UISocketEvents = exports.UISocketEvents || (exports.UISocketEvents = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UISocketEvents = void 0;
|
|
4
|
+
var UISocketEvents;
|
|
5
|
+
(function (UISocketEvents) {
|
|
6
|
+
UISocketEvents["ShowMessage"] = "ShowMessage";
|
|
7
|
+
})(UISocketEvents = exports.UISocketEvents || (exports.UISocketEvents = {}));
|
|
8
8
|
//# sourceMappingURL=ui.types.js.map
|