Skip to main content

Built and signed on GitHub Actions

ProjectIgnis' EDOPro Core built for WebAssembly using emscripten.

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
88%
Published
5 months ago (0.0.29)
type alias OcgType

Card type (monster/spell/trap and additional properties in case of a monster).

Definition

(OcgType)[keyof OcgType]
variable OcgType

Card type (monster/spell/trap and additional properties in case of a monster).

Properties

readonly
MONSTER: 1

Monster.

readonly
SPELL: 2

Spell.

readonly
TRAP: 4

Trap.

readonly
NORMAL: 16

Normal monster.

readonly
EFFECT: 32

Effect monster.

readonly
FUSION: 64

Fusion monster.

readonly
RITUAL: 128

Ritual monster.

readonly
TRAPMONSTER: 256

Trap monster trap.

readonly
SPIRIT: 512

Spirit monster.

readonly
UNION: 1024

Union monster.

readonly
GEMINI: 2048

Gemini monster.

readonly
TUNER: 4096

Tuner monster.

readonly
SYNCHRO: 8192

Synchro monster.

readonly
TOKEN: 16384

Token monster.

readonly
MAXIMUM: 32768

Maximum monster.

readonly
QUICKPLAY: 65536

Quickplay spell.

readonly
CONTINUOUS: 131072

Continuous spell or trap.

readonly
EQUIP: 262144

Equip spell.

readonly
FIELD: 524288

Field spell.

readonly
COUNTER: 1048576

Counter trap.

readonly
FLIP: 2097152

Flip monster.

readonly
TOON: 4194304

Toon monster.

readonly
XYZ: 8388608

Xyz monster.

readonly
PENDULUM: 16777216

Pendulum monster.

readonly
SPSUMMON: 33554432

Special summonable monster.

Add Package

deno add jsr:@n1xx1/ocgcore-wasm

Import symbol

import { OcgType } from "@n1xx1/ocgcore-wasm";

---- OR ----

Import directly with a jsr specifier

import { OcgType } from "jsr:@n1xx1/ocgcore-wasm";

Add Package

npx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { OcgType } from "@n1xx1/ocgcore-wasm";

Add Package

yarn dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { OcgType } from "@n1xx1/ocgcore-wasm";

Add Package

pnpm dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { OcgType } from "@n1xx1/ocgcore-wasm";

Add Package

bunx jsr add @n1xx1/ocgcore-wasm

Import symbol

import { OcgType } from "@n1xx1/ocgcore-wasm";