ygopro-msg-encode 1.1.31 → 1.2.0

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.
@@ -12,17 +12,15 @@ export declare class CardData extends PayloadBase {
12
12
  lscale: number;
13
13
  rscale: number;
14
14
  linkMarker: number;
15
+ ruleCode: number;
15
16
  /**
16
17
  * Check if this card belongs to a specific setcode
17
18
  * @param value The setcode value to check against
18
19
  * @returns true if the card belongs to the setcode
19
20
  */
20
21
  isSetCard(value: number): boolean;
21
- /**
22
- * Get the original code of this card (handles alternate artworks)
23
- * @returns The original card code
24
- */
25
22
  getOriginalCode(): number;
23
+ getDuelCode(): number;
26
24
  /**
27
25
  * Check if this card can be declared with the given opcode filter
28
26
  * @param opcode Array of opcodes that define the filter expression
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ygopro-msg-encode",
3
3
  "description": "TS lib for encode / decode YGOPro proto",
4
- "version": "1.1.31",
4
+ "version": "1.2.0",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",