Releases: edo9300/ygopro-core
Custom covers
Added QUERY_COVER to allow having custom covers, to be set from the scripting api
Changed queries
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
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
v3.1
v3.0
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
v2.1
v2.0 Messages update
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
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.