@oxyfoo/gamelife-types 2.0.5 → 2.0.7

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.
Files changed (44) hide show
  1. package/Class/Consent.js +1 -0
  2. package/Class/Experience.js +1 -0
  3. package/Class/NotificationsInApp.js +18 -0
  4. package/Class/Rewards.js +1 -0
  5. package/Class/Settings.js +1 -0
  6. package/Class/Shop.js +1 -0
  7. package/Class/ZapGPT.js +1 -0
  8. package/Data/App/Achievements.js +1 -0
  9. package/Data/App/Ads.js +1 -0
  10. package/Data/App/Contributors.js +1 -0
  11. package/Data/App/DailyQuestReward.js +1 -0
  12. package/Data/App/Items.js +1 -0
  13. package/Data/App/Missions.js +1 -0
  14. package/Data/App/Quotes.js +1 -0
  15. package/Data/App/Reports.js +1 -0
  16. package/Data/App/SkillCategories.js +1 -0
  17. package/Data/App/SkillIcons.js +1 -0
  18. package/Data/App/Skills.js +1 -0
  19. package/Data/App/Titles.js +1 -0
  20. package/Data/App/index.js +1 -0
  21. package/Data/Server/Account.js +1 -0
  22. package/Data/User/Achievements.js +1 -0
  23. package/Data/User/Activities.js +1 -0
  24. package/Data/User/DailyQuest.js +1 -0
  25. package/Data/User/Informations.js +1 -0
  26. package/Data/User/Inventory.js +1 -0
  27. package/Data/User/Missions.js +1 -0
  28. package/Data/User/Multiplayer.js +49 -0
  29. package/Data/User/Quests.js +1 -0
  30. package/Data/User/Todos.js +1 -0
  31. package/Global/Langs.js +1 -0
  32. package/Global/Links.js +1 -0
  33. package/Global/OS.js +1 -0
  34. package/Global/Rarities.js +1 -0
  35. package/Global/Themes.js +1 -0
  36. package/Global/Utils.js +1 -0
  37. package/Interface/IAppData.js +10 -0
  38. package/Interface/IUserClass.js +11 -0
  39. package/Interface/IUserData.js +14 -0
  40. package/TCP/GameLife/Request.js +1 -0
  41. package/TCP/GameLife/Request_ClientToServer.js +1 -0
  42. package/TCP/GameLife/Request_ServerToClient.js +1 -0
  43. package/TCP/GameLife/Request_Types.js +1 -0
  44. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,18 @@
1
+ export var NIA_GlobalActionType;
2
+ (function (NIA_GlobalActionType) {
3
+ NIA_GlobalActionType["NONE"] = "none";
4
+ NIA_GlobalActionType["CAN_RESPOND"] = "can-respond";
5
+ NIA_GlobalActionType["MUST_RESPOND"] = "must-respond";
6
+ NIA_GlobalActionType["OPEN_PAGE"] = "open-page";
7
+ NIA_GlobalActionType["OPEN_LINK"] = "open-link";
8
+ NIA_GlobalActionType["REWARD"] = "reward";
9
+ })(NIA_GlobalActionType || (NIA_GlobalActionType = {}));
10
+ export class NotificationInApp {
11
+ type;
12
+ data;
13
+ timestamp = 0;
14
+ constructor(type, data) {
15
+ this.type = type;
16
+ this.data = data;
17
+ }
18
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/Class/Shop.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export const DEFAULT_MISSIONS = ['mission1', 'mission2', 'mission3'];
@@ -0,0 +1,49 @@
1
+ export class UserOnline {
2
+ friendshipState = 'none';
3
+ status = 'offline';
4
+ accountID = 0;
5
+ username = '';
6
+ title = 0;
7
+ xp = 0;
8
+ avatar = {
9
+ Sexe: 'MALE',
10
+ Skin: 'skin_01',
11
+ SkinColor: 0,
12
+ Hair: 'hair_01',
13
+ Top: 'top_01',
14
+ Bottom: 'bottom_01',
15
+ Shoes: 'shoes_01'
16
+ };
17
+ }
18
+ export class Friend {
19
+ friendshipState = 'accepted';
20
+ status = 'offline';
21
+ accountID = 0;
22
+ username = '';
23
+ title = 0;
24
+ xp = 0;
25
+ avatar = {
26
+ Sexe: 'MALE',
27
+ Skin: 'skin_01',
28
+ SkinColor: 0,
29
+ Hair: 'hair_01',
30
+ Top: 'top_01',
31
+ Bottom: 'bottom_01',
32
+ Shoes: 'shoes_01'
33
+ };
34
+ activities = {
35
+ length: 0,
36
+ totalDuration: 0,
37
+ firstTime: 0
38
+ };
39
+ stats = {
40
+ int: 0,
41
+ for: 0,
42
+ dex: 0,
43
+ sta: 0,
44
+ agi: 0,
45
+ soc: 0
46
+ };
47
+ achievements = [];
48
+ currentActivity = null;
49
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export const ALL_LANG_KEYS = ['fr', 'en'];
@@ -0,0 +1 @@
1
+ export {};
package/Global/OS.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export const ALL_RARITIES = ['common', 'rare', 'epic', 'legendary'];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export class IAppData {
2
+ Clear = () => { };
3
+ Load = () => { };
4
+ Save = () => {
5
+ return {};
6
+ };
7
+ Get = () => {
8
+ return {};
9
+ };
10
+ }
@@ -0,0 +1,11 @@
1
+ export class IUserClass {
2
+ key;
3
+ constructor(key) {
4
+ this.key = key;
5
+ }
6
+ Clear = () => { };
7
+ Load = () => { };
8
+ Save = () => {
9
+ return {};
10
+ };
11
+ }
@@ -0,0 +1,14 @@
1
+ export class IUserData {
2
+ key;
3
+ constructor(key) {
4
+ this.key = key;
5
+ }
6
+ Clear = () => { };
7
+ Get = () => { };
8
+ Load = () => { };
9
+ Save = () => {
10
+ return {};
11
+ };
12
+ LoadOnline = () => Promise.resolve(true);
13
+ SaveOnline = () => Promise.resolve(true);
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyfoo/gamelife-types",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "GameLife Types - TypeScript types for the GameLife project.",
5
5
  "main": "index.ts",
6
6
  "scripts": {