We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The NetworkManager class should provide a way to subscribe for the following events:
NetworkManager
on_game_connect
on_game_disconnect
on_card_received
on_game_discovered
on_hand_over
Each of these subscription methods should have an unsubscription counterpart in the form of unsub_##action_name (e.g. unsub_on_game_connect)
unsub_##action_name
unsub_on_game_connect
GameDiscoveredEvent
Passed to a game discovered listener, contains the following data:
std::string table_name
int table_id
int open_seats
Shoe shoe_type
GameConnectedEvent
Passed to a game connected listener.
GameDisconnectEvent
Passed to a game disconnected listener.
std::string reason
CardReceivedEvent
Passed to a card received listener.
int player_id
Card card
HandOverEvent
Passed to a hand over listener.
The text was updated successfully, but these errors were encountered:
addonovan
No branches or pull requests
The
NetworkManager
class should provide a way to subscribe for the following events:on_game_connect
)on_game_disconnect
)on_card_received
)on_game_discovered
)on_hand_over
)Each of these subscription methods should have an unsubscription counterpart in the form of
unsub_##action_name
(e.g.unsub_on_game_connect
)GameDiscoveredEvent
Passed to a game discovered listener, contains the following data:
std::string table_name
the name of the gameint table_id
the id for the tableint open_seats
the number of open seats in the gameShoe shoe_type
the type of shoe being playedGameConnectedEvent
Passed to a game connected listener.
int table_id
the id for the connected tableGameDisconnectEvent
Passed to a game disconnected listener.
std::string reason
The reason (if any) for being kickedCardReceivedEvent
Passed to a card received listener.
int player_id
the id for the player who was dealt the cardCard card
the card that was dealtHandOverEvent
Passed to a hand over listener.
std::string reason
the reason the hand was endedThe text was updated successfully, but these errors were encountered: