@paintswap/estfor-definitions 0.2.23 → 0.2.24
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/src/types.ts +2 -2
- package/types.d.ts +2 -2
- package/types.js +5 -5
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -148,7 +148,7 @@ export class ActionInput {
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
// Contains everything you need to create an item
|
|
151
|
-
export class
|
|
151
|
+
export class ItemInput {
|
|
152
152
|
combatStats: CombatStats = new CombatStats()
|
|
153
153
|
tokenId: u16 = 0
|
|
154
154
|
equipPosition: EquipPosition = EquipPosition.NONE
|
|
@@ -668,7 +668,7 @@ export enum Promotion {
|
|
|
668
668
|
}
|
|
669
669
|
|
|
670
670
|
export const emptyCombatStats = new CombatStats()
|
|
671
|
-
export const
|
|
671
|
+
export const defaultItemInput = new ItemInput()
|
|
672
672
|
export const defaultActionChoice = new ActionChoiceInput()
|
|
673
673
|
export const defaultActionInfo = new ActionInfo()
|
|
674
674
|
export const noAttire = new Attire()
|
package/types.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export declare class ActionInput {
|
|
|
134
134
|
randomRewards: RandomReward[];
|
|
135
135
|
combatStats: CombatStats;
|
|
136
136
|
}
|
|
137
|
-
export declare class
|
|
137
|
+
export declare class ItemInput {
|
|
138
138
|
combatStats: CombatStats;
|
|
139
139
|
tokenId: u16;
|
|
140
140
|
equipPosition: EquipPosition;
|
|
@@ -585,7 +585,7 @@ export declare enum Promotion {
|
|
|
585
585
|
STARTER = 1
|
|
586
586
|
}
|
|
587
587
|
export declare const emptyCombatStats: CombatStats;
|
|
588
|
-
export declare const
|
|
588
|
+
export declare const defaultItemInput: ItemInput;
|
|
589
589
|
export declare const defaultActionChoice: ActionChoiceInput;
|
|
590
590
|
export declare const defaultActionInfo: ActionInfo;
|
|
591
591
|
export declare const noAttire: Attire;
|
package/types.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ClanRank = exports.ClanInvite = exports.ClanMember = exports.Clan = exports.ClanTier = exports.PlayerQuest = exports.PlayerQuestOutput = exports.Quest = exports.PlayerDayData = exports.RandomWords = exports.Action = exports.ActionChoice = exports.ActionChoiceInput = exports.ShopItem = exports.UserItemNFT = exports.Item = exports.QueuedAction = exports.LastFullEquipment = exports.Activity = exports.ActivityUndertaker = exports.Direction = exports.ActivityType = exports.GlobalClanStats = exports.GlobalUserStats = exports.GlobalPlayerStats = exports.User = exports.Player = exports.XPThresholdReward = exports.XPThresholdRewardInput = exports.PendingQueuedActionState = exports.QuestState = exports.PendingQueuedActionProcessed = exports.PendingQueuedActionMetadata = exports.PendingQueuedActionEquipmentState = exports.PastRandomRewardInfo = exports.CombatStats = exports.
|
|
4
|
-
exports.noAttire = exports.defaultActionInfo = exports.defaultActionChoice = exports.
|
|
3
|
+
exports.ClanRank = exports.ClanInvite = exports.ClanMember = exports.Clan = exports.ClanTier = exports.PlayerQuest = exports.PlayerQuestOutput = exports.Quest = exports.PlayerDayData = exports.RandomWords = exports.Action = exports.ActionChoice = exports.ActionChoiceInput = exports.ShopItem = exports.UserItemNFT = exports.Item = exports.QueuedAction = exports.LastFullEquipment = exports.Activity = exports.ActivityUndertaker = exports.Direction = exports.ActivityType = exports.GlobalClanStats = exports.GlobalUserStats = exports.GlobalPlayerStats = exports.User = exports.Player = exports.XPThresholdReward = exports.XPThresholdRewardInput = exports.PendingQueuedActionState = exports.QuestState = exports.PendingQueuedActionProcessed = exports.PendingQueuedActionMetadata = exports.PendingQueuedActionEquipmentState = exports.PastRandomRewardInfo = exports.CombatStats = exports.ItemInput = exports.ActionInput = exports.RandomReward = exports.GuaranteedReward = exports.ActionInfo = exports.QueuedActionInput = exports.Equipment = exports.CombatStyle = exports.ActionQueueStatus = exports.Attire = exports.WorldLocation = exports.EquipPosition = exports.Skill = exports.BoostType = void 0;
|
|
4
|
+
exports.noAttire = exports.defaultActionInfo = exports.defaultActionChoice = exports.defaultItemInput = exports.emptyCombatStats = exports.Promotion = exports.Referrer = exports.CoreData = void 0;
|
|
5
5
|
var BoostType;
|
|
6
6
|
(function (BoostType) {
|
|
7
7
|
BoostType[BoostType["NONE"] = 0] = "NONE";
|
|
@@ -152,7 +152,7 @@ class ActionInput {
|
|
|
152
152
|
}
|
|
153
153
|
exports.ActionInput = ActionInput;
|
|
154
154
|
// Contains everything you need to create an item
|
|
155
|
-
class
|
|
155
|
+
class ItemInput {
|
|
156
156
|
combatStats = new CombatStats();
|
|
157
157
|
tokenId = 0;
|
|
158
158
|
equipPosition = EquipPosition.NONE;
|
|
@@ -173,7 +173,7 @@ class InputItem {
|
|
|
173
173
|
// name of the item
|
|
174
174
|
name = '';
|
|
175
175
|
}
|
|
176
|
-
exports.
|
|
176
|
+
exports.ItemInput = ItemInput;
|
|
177
177
|
class CombatStats {
|
|
178
178
|
melee = 0;
|
|
179
179
|
magic = 0;
|
|
@@ -658,7 +658,7 @@ var Promotion;
|
|
|
658
658
|
Promotion[Promotion["STARTER"] = 1] = "STARTER";
|
|
659
659
|
})(Promotion = exports.Promotion || (exports.Promotion = {}));
|
|
660
660
|
exports.emptyCombatStats = new CombatStats();
|
|
661
|
-
exports.
|
|
661
|
+
exports.defaultItemInput = new ItemInput();
|
|
662
662
|
exports.defaultActionChoice = new ActionChoiceInput();
|
|
663
663
|
exports.defaultActionInfo = new ActionInfo();
|
|
664
664
|
exports.noAttire = new Attire();
|