Skip to content

Releases: edo9300/ygopro-core

Custom covers

06 Nov 18:33
Compare
Choose a tag to compare

Added QUERY_COVER to allow having custom covers, to be set from the scripting api

Changed queries

03 Oct 19:49
ff6af83
Compare
Choose a tag to compare

Changed the value returned from QUERY_OWNER and QUERY_IS_PUBLIC from uint32_t to uint8_t.
Added new query QUERY_IS_HIDDEN, to indicate that that specific card has to be treated as "nobody knowledge"

v4.0 Complete API rework

20 Sep 14:12
Compare
Choose a tag to compare

The entire C++ API has been changed, along with the structure of some buffers. Compiles without warnings.

This project is now licensed under the GNU Affero General Public License, version 3.0 or later.

v3.2

22 Aug 16:40
048fe9e
Compare
Choose a tag to compare

Added EVENT_STARTUP

v3.1

15 Jul 23:01
Compare
Choose a tag to compare

Added back QUERY_IS_PUBLIC
Changed internal handling of the messages buffer, not making them directly work on the api buffer, that buffer will now be created only when get_message is called.

v3.0

02 Jun 17:43
Compare
Choose a tag to compare

Unified new card functions under new_card, with an additional parameter (duelist). This parameter will be used to add any "additional" player, like a partner in a tag duel or in a relay duel, the api will automatically handle the various modes, if DUEL_RELAY_MODE is passed then the extra players will be considered like in a relay duel, otherwise the extra players will play in rotation like in a tag duel.

MSG_SELECT_SUM: switched the first 2 parameters, now playerid is sent first, and second the select mode.

MSG_SELECT_COUNTER: changed count value to int32

v2.2

27 May 20:41
Compare
Choose a tag to compare

Replaced MSG_ANNOUNCE_CARD with MSG_ANNOUNCE_CARD_FILTER

v2.1

26 May 14:52
Compare
Choose a tag to compare

MSG_ANNOUNCE_CARD is no longer being sent from the api, it's been replaced completely with MSG_ANNOUNCE_CARD_FILTER

v2.0 Messages update

18 Apr 11:27
Compare
Choose a tag to compare

MSG_SELECT_BATTLECMD, MSG_SELECT_IDLECMD, MSG_SELECT_SUM, MSG_SELECT_CHAIN, MSG_SORT_CARD, MSG_SORT_CHAIN, MSG_CONFIRM_DECKTOP, MSG_CONFIRM_EXTRATOP, MSG_CONFIRM_CARDS,
MSG_SHUFFLE_HAND, MSG_SHUFFLE_EXTRA, MSG_CARD_SELECTED, MSG_RANDOM_SELECTED, MSG_BECOME_TARGET, MSG_DRAW:
Changed card counts values from int8 to int32.

MSG_SELECT_SUM, MSG_SELECT_CARD, MSG_SELECT_TRIBUTE, MSG_SELECT_UNSELECT_CARD:
Changed max and min value from int8 to int32

MSG_DECK_TOP, MSG_CHAINING:
Changed card sequence from int8 to int32.

MSG_TAG_SWAP:
Changed card counts values from int8 to int32.

MSG_RELOAD_FIELD:
Changed card counts values from int16 to int32.

v1.2: Updated api version number

04 Apr 18:31
Compare
Choose a tag to compare

Api interface changes:

  • Changed the way the response buffer is structured when for messages select card, select tribute, select sum. Now the "bit type" answer no longer needs the padding extra bit (the first one after the response type) to be set to 0.
  • Removed any limitation from the various return buffers as their handling has been changed in the core.