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.
- package/dist/index.cjs +28 -19
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +28 -19
- package/dist/index.mjs.map +2 -2
- package/dist/src/protos/common/card-data.d.ts +2 -4
- package/package.json +1 -1
|
@@ -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
|