Suport for new HostInfo::sizes field
edo9300 opened this issue · 0 comments
edo9300 commented
To match the network changes that are going to be int in the next version (40) handling for this new struct field (https://github.com/edo9300/edopro/blob/23b465b5bc4ba3098d58e190df0bc8787944cb45/gframe/network.h#L24-L29) will have to be added.
The field matches in design the DeckLimits struct used in multirole
Multirole/src/Multirole/YGOPro/Deck.hpp
Lines 13 to 19 in c2ae32d
max
means that there is no upper boundAlongside that, also those values will have to be exposed in the json roomlist, so that they're exposed to the clients (https://github.com/edo9300/edopro/blob/deck-size-network-packets/gframe/server_lobby.cpp#L250-L255).
With this change the 2 extra rule flags
EXTRA_RULE_DECK_LIMIT_20
and EXTRA_RULE_DOUBLE_DECK
will become unused and can be repurposed and/or removed entirely.