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)
enum OcgMessageType

Message type enum.

Members

ADD_COUNTER = 101
AI_NAME = 163
ANNOUNCE_ATTRIB = 141
ANNOUNCE_CARD = 142
ANNOUNCE_NUMBER = 143
ANNOUNCE_RACE = 140
ATTACK = 110
ATTACK_DISABLED = 112
BATTLE = 111
BECOME_TARGET = 83
BE_CHAIN_TARGET = 121
CANCEL_TARGET = 97
CARD_HINT = 160
CARD_SELECTED = 80
CARD_TARGET = 96
CHAINED = 71
CHAINING = 70
CHAIN_DISABLED = 76
CHAIN_END = 74
CHAIN_NEGATED = 75
CHAIN_SOLVED = 73
CHAIN_SOLVING = 72
CONFIRM_CARDS = 31
CONFIRM_DECKTOP = 30
CONFIRM_EXTRATOP = 42
CREATE_RELATION = 122
CUSTOM_MSG = 180
DAMAGE = 91
DAMAGE_STEP_END = 114
DAMAGE_STEP_START = 113
DECK_TOP = 38
DRAW = 90
EQUIP = 93
FIELD_DISABLED = 56
FLIPSUMMONED = 65
FLIPSUMMONING = 64
HAND_RES = 133
HINT = 2
LPUPDATE = 94
MATCH_KILL = 170
MISSED_EFFECT = 120
MOVE = 50
NEW_PHASE = 41
NEW_TURN = 40
PAY_LPCOST = 100
PLAYER_HINT = 165
POS_CHANGE = 53
RANDOM_SELECTED = 81
RECOVER = 92
REFRESH_DECK = 34
RELEASE_RELATION = 123
RELOAD_FIELD = 162
REMOVE_CARDS = 190
REMOVE_COUNTER = 102
REQUEST_DECK = 8
RETRY = 1
REVERSE_DECK = 37
ROCK_PAPER_SCISSORS = 132
SELECT_BATTLECMD = 10
SELECT_CARD = 15
SELECT_CHAIN = 16
SELECT_COUNTER = 22
SELECT_DISFIELD = 24
SELECT_EFFECTYN = 12
SELECT_IDLECMD = 11
SELECT_OPTION = 14
SELECT_PLACE = 18
SELECT_POSITION = 19
SELECT_SUM = 23
SELECT_TRIBUTE = 20
SELECT_UNSELECT_CARD = 26
SELECT_YESNO = 13
SET = 54
SHOW_HINT = 164
SHUFFLE_DECK = 32
SHUFFLE_EXTRA = 39
SHUFFLE_HAND = 33
SHUFFLE_SET_CARD = 36
SORT_CARD = 25
SORT_CHAIN = 21
SPSUMMONED = 63
SPSUMMONING = 62
START = 4
SUMMONED = 61
SUMMONING = 60
SWAP = 55
SWAP_GRAVE_DECK = 35
TAG_SWAP = 161
TOSS_COIN = 130
TOSS_DICE = 131
UPDATE_CARD = 7
UPDATE_DATA = 6
WAITING = 3
WIN = 5

Add Package

deno add jsr:@n1xx1/ocgcore-wasm

Import symbol

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

---- OR ----

Import directly with a jsr specifier

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

Add Package

npx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

yarn dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

pnpm dlx jsr add @n1xx1/ocgcore-wasm

Import symbol

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

Add Package

bunx jsr add @n1xx1/ocgcore-wasm

Import symbol

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