@rpg-engine/shared 0.6.67 → 0.6.68

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.
@@ -0,0 +1,18 @@
1
+ export interface IRawSpell {
2
+ key: string;
3
+ name: string;
4
+ description: string;
5
+ magicWords: string;
6
+ manaCost: number;
7
+ minMagicLevelRequired: number;
8
+ requiredItem?: string;
9
+ }
10
+ export interface ISpellRead {
11
+ magicLevel: number;
12
+ spells: IRawSpell[];
13
+ }
14
+ export declare enum SpellSocketEvents {
15
+ LearnedSpellsRead = "LearnedSpellsRead",
16
+ CastSpell = "CastSpell"
17
+ }
18
+ //# sourceMappingURL=spell.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spell.types.d.ts","sourceRoot":"","sources":["../../src/types/spell.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,SAAS,EAAE,CAAC;CACrB;AAED,oBAAY,iBAAiB;IAC3B,iBAAiB,sBAAsB;IACvC,SAAS,cAAc;CACxB"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SpellSocketEvents = void 0;
4
+ var SpellSocketEvents;
5
+ (function (SpellSocketEvents) {
6
+ SpellSocketEvents["LearnedSpellsRead"] = "LearnedSpellsRead";
7
+ SpellSocketEvents["CastSpell"] = "CastSpell";
8
+ })(SpellSocketEvents = exports.SpellSocketEvents || (exports.SpellSocketEvents = {}));
9
+ //# sourceMappingURL=spell.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spell.types.js","sourceRoot":"","sources":["../../src/types/spell.types.ts"],"names":[],"mappings":";;;AAeA,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IAC3B,4DAAuC,CAAA;IACvC,4CAAuB,CAAA;AACzB,CAAC,EAHW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAG5B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/shared",
3
- "version": "0.6.67",
3
+ "version": "0.6.68",
4
4
  "description": "Types shared across our API and client",
5
5
  "author": "Definya Team",
6
6
  "homepage": "",