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)
interface OcgNewCardInfo

Card creation definition. Used in OcgCore#duelNewCard.

Properties

team: 0 | 1

Owner team.

Owner duelist index, always 0 unless it's a tag duel.

Card passcode.

Current controller of the card. Usually same as team.

Current location of the card. If duelist isn't 0 then it should always be OcgLocation#DECK or OcgLocation#EXTRA

Index of the card in the specified location. If location is DECK then if sequence == 0 it's the top, if sequence == 1 it's the bottom, otherwise the deck is shuffled. If location is EXTRA, REMOVED, GRAVE, or HAND it's ignored.

Position, may be automatically overriden depending on the location.

Add Package

deno add jsr:@n1xx1/ocgcore-wasm

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

yarn dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

pnpm dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

bunx jsr add @n1xx1/ocgcore-wasm

Import symbol

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