PokerTHProto¶
The goal of this project is to provide a client interface to a PokerTH server. This interface could then be used to write alternative poker clients in Python or even poker bots.
Right now, this project is in a beta status, meaning that it is still incomplete.
Contents¶
Writing a Client¶
PokerTHProto is built with Twisted, an event-driven networking engine engine written in Python. That means it is rather useful to have basic knowledge about event-driven programming. But don’t get scared, it is pretty easy.
Twisted Application¶
The easiest way to write a PokerTH client is to write an Twisted application.
This basic my_client.tac
file gives you an idea:
from twisted.application import internet, service
from twisted.internet import reactor
from pokerthproto.protocol import ClientProtocolFactory, ClientProtocol
from pokerthproto.lobby import GameInfo, LobbyError
from pokerthproto.poker import Action
class PyClientProtocol(ClientProtocol):
def handleInsideLobby(self, lobbyInfo):
try:
gameId = self.factory.lobby.getGameInfoId('My Online Game')
except LobbyError:
reactor.callLater(1, self.handleInsideLobby, lobbyInfo)
else:
self.sendJoinExistingGame(gameId)
def handleMyTurn(self, gameInfo):
if gameInfo.highestSet > gameInfo.myBet:
action, bet = Action.CALL, gameInfo.highestSet
else:
action = Action.CHECK
self.sendMyAction(action, gameInfo.highestSet - gameInfo.myBet)
class PyClientProtocolFactory(ClientProtocolFactory):
protocol = PyClientProtocol
application = service.Application('PokerTH Client')
client_factory = PyClientProtocolFactory('PyClient1')
service = internet.TCPClient('localhost', 7234, client_factory)
service.setServiceParent(application)
Here, we create an own protocol by inhereting from ClientProtocol
and
overwriting some methods in order to adapt them to our needs. For instance,
the handleInsideLobby
method is triggered when we are inside the lobby.
In this case, our action is to join the game named My Online Game if available
otherwise we wait one second and try again. The method handleMyTurn
is called
during a poker game and here we specified that we want to check if possible and
otherwise call.
The remaining lines are just boilerplate code to define a Twisted application.
You can run this client by calling:
twisted -y my_client.tac -n
Mandatory Methods¶
Your own protocol needs to define some mandatory methods:
handleInsideLobby
: This method is called when we are inside the lobby. UsesendJoinExistingGame
orsendJoinNewGame
to join or create a new game. If you create a new game usesendStartEvent
to start the game. ThelobbyInfo
argument of typeLobby
provides you information about other players and games.handleMyTurn
: This method is called when our turn starts. UsesendMyAction
to decide what action you want to take. The current state of the game is represented with thegameInfo
parameter of typeGame
in both functions.
Optional Methods¶
handleChat
: This method is called when a chat message was received. UsesendChatRequest
to reply or start a chat.handleOthersTurn
: This method is called when another player starts its turn. You could use this event to chat him up.handleEndOfHand
: This method is called when one hand is over. Use thegameInfo
parameter of typeGame
to do logging or learn about the other players’ cards and wins withgameInfo.othersCards
andgameInfo.wins
.handleEndOfGame
: This method is called when a game is over. Use thegameInfo
parameter of typeGame
to do logging or learn about the other players’ cards and wins withgameInfo.othersCards
andgameInfo.wins
. The parameterwinner
of typePlayer
provides you the winner of the game. When this function is called you are back in the lobby.
Status of Implementation¶
The PokerTH protocol consists of 81 different messages types which are all
enveloped inside an PokerTHMessage
. Only a subset of all messages is needed
in most cases.
Implemented¶
- AnnounceMessage
- InitMessage
- InitAckMessage
- PlayerListMessage
- GameListNewMessage
- GameListUpdateMessage
- GameListPlayerJoinedMessage
- GameListPlayerLeftMessage
- PlayerInfoRequestMessage
- PlayerInfoReplyMessage
- JoinExistingGameMessage
- JoinNewGameMessage
- JoinGameAckMessage
- GamePlayerJoinedMessage
- GamePlayerLeftMessage
- StartEventMessage
- StartEventAckMessage
- GameStartInitialMessage
- HandStartMessage
- PlayersTurnMessage
- MyActionRequestMessage
- YourActionRejectedMessage
- PlayersActionDoneMessage
- DealFlopCardsMessage
- DealTurnCardMessage
- DealRiverCardMessage
- ChatMessage
- ChatRequestMessage
- AllInShowCardsMessage
- EndOfHandShowCardsMessage
- EndOfHandHideCardsMessage
- ShowMyCardsRequestMessage
- AfterHandShowCardsMessage
- EndOfGameMessage
Not Implemented¶
- AuthServerChallengeMessage
- AuthClientResponseMessage
- AuthServerVerificationMessage
- AvatarRequestMessage
- AvatarHeaderMessage
- AvatarDataMessage
- AvatarEndMessage
- UnknownAvatarMessage
- GameListAdminChangedMessage
- SubscriptionRequestMessage
- RejoinExistingGameMessage
- JoinGameFailedMessage
- GameAdminChangedMessage
- RemovedFromGameMessage
- KickPlayerRequestMessage
- LeaveGameRequestMessage
- InvitePlayerToGameMessage
- InviteNotifyMessage
- RejectGameInvitationMessage
- RejectInvNotifyMessage
- GameStartRejoinMessage
- PlayerIdChangedMessage (SOON)
- AskKickPlayerMessage
- AskKickDeniedMessage
- StartKickPetitionMessage
- VoteKickRequestMessage
- VoteKickReplyMessage
- KickPetitionUpdateMessage
- EndKickPetitionMessage
- StatisticsMessage
- ChatRejectMessage
- DialogMessage
- TimeoutWarningMessage
- ResetTimeoutMessage
- ReportAvatarMessage
- ReportAvatarAckMessage
- ReportGameMessage
- ReportGameAckMessage
- ErrorMessage
- AdminRemoveGameMessage
- AdminRemoveGameAckMessage
- AdminBanPlayerMessage
- AdminBanPlayerAckMessage
- GameListSpectatorJoinedMessage
- GameListSpectatorLeftMessage
- GameSpectatorJoinedMessage
- GameSpectatorLeftMessage
pokerthproto¶
pokerthproto package¶
Submodules¶
pokerthproto.game module¶
All functionality related to a poker game and its representation.
-
class
pokerthproto.game.
ActionInfo
(player, kind, money=None)[source]¶ Bases:
object
The action of a player during the poker game.
Parameters:
-
class
pokerthproto.game.
Game
(gameId, myPlayerId)[source]¶ Bases:
object
A poker game holding the information about the actions of the players.
-
addAction
(playerId, kind, money=None)[source]¶ Adds an action to the current round of the game
Parameters: - playerId – id of player
- kind – type of the action of
Action
- money – stake of the action if available
-
addRound
(name, cards=None)[source]¶ Adds a poker round to the game
Parameters: - name – poker round of type
Round
- cards – board cards of the round
- name – poker round of type
-
bigBlind
¶
-
currRound
¶
-
dealer
¶
-
existPlayer
(id)[source]¶ Checks if a player exists in the game
Parameters: id – id of the player Returns: test if player exists
-
existRound
(name)[source]¶ Checks if the poker round exists in this game
Parameters: name – poker round of Round
Returns: test if round exists
-
gameId
¶
-
getActions
(playerId=None, rounds=None)[source]¶ Retrieves actions from the game with optional restrictions on rounds and a player.
Parameters: Returns: list of actions (
Actioninfo
)
-
getPlayer
(id)[source]¶ Retrieves a player from the game
Parameters: id – id of the player Returns: player
-
handNum
¶
-
highestSet
¶
-
minimumRaise
¶
-
myBet
¶
-
othersCards
¶
-
players
¶
-
pocketCards
¶
-
seats
¶
-
smallBlind
¶
-
wins
¶
-
-
exception
pokerthproto.game.
GameError
[source]¶ Bases:
exceptions.Exception
pokerthproto.lobby module¶
All functionality related to the lobby where information about running games, players etc. is presented.
-
class
pokerthproto.lobby.
GameInfo
(gameName=None)[source]¶ Bases:
object
Wrapper object for
pokerth_pb2.PNetGameInfo
This object is needed in order to create an own game.
-
adminPlayerId
¶
-
allowSpectators
¶
-
delayBetweenHands
¶
-
endRaiseMode
¶
-
endRaiseSmallBlindValue
¶
-
fillWithComputerPlayers
¶
-
firstSmallBlind
¶
-
gameId
¶
-
gameMode
¶
-
gameName
¶
-
isPrivate
¶
-
manualBlinds
¶
-
maxNumPlayers
¶
-
netGameType
¶
-
playerActionTimeout
¶
-
players
¶
-
proposedGuiSpeed
¶
-
raiseEveryHands
¶
-
raiseIntervalMode
¶
-
startMoney
¶
-
-
exception
pokerthproto.lobby.
LobbyError
[source]¶ Bases:
exceptions.Exception
pokerthproto.player module¶
All functionality related to the representation of a poker player.
pokerthproto.poker module¶
All data structures related to poker like poker actions, cards, rounds etc.
-
class
pokerthproto.poker.
Action
[source]¶ Bases:
object
Enum of possible player actions in poker
-
ALLIN
= 6¶
-
BET
= 4¶
-
CALL
= 3¶
-
CHECK
= 2¶
-
FOLD
= 1¶
-
NONE
= 0¶
-
RAISE
= 5¶
-
-
class
pokerthproto.poker.
Round
[source]¶ Bases:
object
Enum of poker rounds where posting blinds is considered a round too.
-
BIG_BLIND
= 5¶
-
FLOP
= 1¶
-
PREFLOP
= 0¶
-
RIVER
= 3¶
-
SMALL_BLIND
= 4¶
-
TURN
= 2¶
-
pokerthproto.pokerth_pb2 module¶
-
class
pokerthproto.pokerth_pb2.
AdminBanPlayerAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AdminBanPlayerResult
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
BANPLAYERID_FIELD_NUMBER
= 1¶
-
BANPLAYERRESULT_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
banPlayerAccepted
= 0¶
-
banPlayerDBError
= 3¶
-
banPlayerId
¶ Magic attribute generated for “banPlayerId” proto field.
-
banPlayerInvalid
= 4¶
-
banPlayerNoDB
= 2¶
-
banPlayerPending
= 1¶
-
banPlayerResult
¶ Magic attribute generated for “banPlayerResult” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AdminBanPlayerMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
BANPLAYERID_FIELD_NUMBER
= 1¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
banPlayerId
¶ Magic attribute generated for “banPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AdminRemoveGameAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AdminRemoveGameResult
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REMOVEGAMEID_FIELD_NUMBER
= 1¶
-
REMOVEGAMERESULT_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameRemoveAccepted
= 0¶
-
gameRemoveInvalid
= 1¶
-
removeGameId
¶ Magic attribute generated for “removeGameId” proto field.
-
removeGameResult
¶ Magic attribute generated for “removeGameResult” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AdminRemoveGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REMOVEGAMEID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
removeGameId
¶ Magic attribute generated for “removeGameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AfterHandShowCardsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERRESULT_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
playerResult
¶ Magic attribute generated for “playerResult” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AllInShowCardsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERSALLIN_FIELD_NUMBER
= 2¶
-
class
PlayerAllIn
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ALLINCARD1_FIELD_NUMBER
= 2¶
-
ALLINCARD2_FIELD_NUMBER
= 3¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
allInCard1
¶ Magic attribute generated for “allInCard1” proto field.
-
allInCard2
¶ Magic attribute generated for “allInCard2” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
static
AllInShowCardsMessage.
RegisterExtension
(extension_handle)¶
-
AllInShowCardsMessage.
SerializePartialToString
()¶
-
AllInShowCardsMessage.
SerializeToString
()¶
-
AllInShowCardsMessage.
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
AllInShowCardsMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
AllInShowCardsMessage.
gameId
¶ Magic attribute generated for “gameId” proto field.
-
AllInShowCardsMessage.
playersAllIn
¶ Magic attribute generated for “playersAllIn” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AnnounceMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
LATESTBETAREVISION_FIELD_NUMBER
= 3¶
-
LATESTGAMEVERSION_FIELD_NUMBER
= 2¶
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NUMPLAYERSONSERVER_FIELD_NUMBER
= 5¶
-
PROTOCOLVERSION_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SERVERTYPE_FIELD_NUMBER
= 4¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
ServerType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
class
Version
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MAJORVERSION_FIELD_NUMBER
= 1¶
-
MINORVERSION_FIELD_NUMBER
= 2¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
majorVersion
¶ Magic attribute generated for “majorVersion” proto field.
-
minorVersion
¶ Magic attribute generated for “minorVersion” proto field.
-
-
AnnounceMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
AnnounceMessage.
latestBetaRevision
¶ Magic attribute generated for “latestBetaRevision” proto field.
-
AnnounceMessage.
latestGameVersion
¶ Magic attribute generated for “latestGameVersion” proto field.
-
AnnounceMessage.
numPlayersOnServer
¶ Magic attribute generated for “numPlayersOnServer” proto field.
-
AnnounceMessage.
protocolVersion
¶ Magic attribute generated for “protocolVersion” proto field.
-
AnnounceMessage.
serverType
¶ Magic attribute generated for “serverType” proto field.
-
AnnounceMessage.
serverTypeInternetAuth
= 2¶
-
AnnounceMessage.
serverTypeInternetNoAuth
= 1¶
-
AnnounceMessage.
serverTypeLAN
= 0¶
-
-
class
pokerthproto.pokerth_pb2.
AskKickDeniedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
KICKDENIEDREASON_FIELD_NUMBER
= 3¶
-
KickDeniedReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
kickDeniedAlreadyInProgress
= 3¶
-
kickDeniedInvalidGameState
= 0¶
-
kickDeniedInvalidPlayerId
= 4¶
-
kickDeniedNotPossible
= 1¶
-
kickDeniedReason
¶ Magic attribute generated for “kickDeniedReason” proto field.
-
kickDeniedTryAgainLater
= 2¶
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AskKickPlayerMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AuthClientResponseMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CLIENTRESPONSE_FIELD_NUMBER
= 1¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
clientResponse
¶ Magic attribute generated for “clientResponse” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AuthServerChallengeMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SERVERCHALLENGE_FIELD_NUMBER
= 1¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
serverChallenge
¶ Magic attribute generated for “serverChallenge” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AuthServerVerificationMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SERVERVERIFICATION_FIELD_NUMBER
= 1¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
serverVerification
¶ Magic attribute generated for “serverVerification” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AvatarDataMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AVATARBLOCK_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REQUESTID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarBlock
¶ Magic attribute generated for “avatarBlock” proto field.
-
requestId
¶ Magic attribute generated for “requestId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AvatarEndMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REQUESTID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
requestId
¶ Magic attribute generated for “requestId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AvatarHeaderMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AVATARSIZE_FIELD_NUMBER
= 3¶
-
AVATARTYPE_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REQUESTID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarSize
¶ Magic attribute generated for “avatarSize” proto field.
-
avatarType
¶ Magic attribute generated for “avatarType” proto field.
-
requestId
¶ Magic attribute generated for “requestId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
AvatarRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AVATARHASH_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REQUESTID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarHash
¶ Magic attribute generated for “avatarHash” proto field.
-
requestId
¶ Magic attribute generated for “requestId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ChatMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CHATTEXT_FIELD_NUMBER
= 4¶
-
CHATTYPE_FIELD_NUMBER
= 3¶
-
ChatType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
chatText
¶ Magic attribute generated for “chatText” proto field.
-
chatType
¶ Magic attribute generated for “chatType” proto field.
-
chatTypeBot
= 2¶
-
chatTypeBroadcast
= 3¶
-
chatTypeGame
= 1¶
-
chatTypeLobby
= 0¶
-
chatTypePrivate
= 4¶
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ChatRejectMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CHATTEXT_FIELD_NUMBER
= 1¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
chatText
¶ Magic attribute generated for “chatText” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ChatRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
CHATTEXT_FIELD_NUMBER
= 3¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
TARGETGAMEID_FIELD_NUMBER
= 1¶
-
TARGETPLAYERID_FIELD_NUMBER
= 2¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
chatText
¶ Magic attribute generated for “chatText” proto field.
-
targetGameId
¶ Magic attribute generated for “targetGameId” proto field.
-
targetPlayerId
¶ Magic attribute generated for “targetPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
DealFlopCardsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FLOPCARD1_FIELD_NUMBER
= 2¶
-
FLOPCARD2_FIELD_NUMBER
= 3¶
-
FLOPCARD3_FIELD_NUMBER
= 4¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
flopCard1
¶ Magic attribute generated for “flopCard1” proto field.
-
flopCard2
¶ Magic attribute generated for “flopCard2” proto field.
-
flopCard3
¶ Magic attribute generated for “flopCard3” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
DealRiverCardMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
RIVERCARD_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
riverCard
¶ Magic attribute generated for “riverCard” proto field.
-
-
class
pokerthproto.pokerth_pb2.
DealTurnCardMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
TURNCARD_FIELD_NUMBER
= 2¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
turnCard
¶ Magic attribute generated for “turnCard” proto field.
-
-
class
pokerthproto.pokerth_pb2.
DialogMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NOTIFICATIONTEXT_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
notificationText
¶ Magic attribute generated for “notificationText” proto field.
-
-
class
pokerthproto.pokerth_pb2.
EndKickPetitionMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NUMVOTESAGAINSTKICKING_FIELD_NUMBER
= 3¶
-
NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER
= 4¶
-
PETITIONENDREASON_FIELD_NUMBER
= 6¶
-
PETITIONID_FIELD_NUMBER
= 2¶
-
PetitionEndReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
RESULTPLAYERKICKED_FIELD_NUMBER
= 5¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
numVotesAgainstKicking
¶ Magic attribute generated for “numVotesAgainstKicking” proto field.
-
numVotesInFavourOfKicking
¶ Magic attribute generated for “numVotesInFavourOfKicking” proto field.
-
petitionEndEnoughVotes
= 0¶
-
petitionEndPlayerLeft
= 2¶
-
petitionEndReason
¶ Magic attribute generated for “petitionEndReason” proto field.
-
petitionEndTimeout
= 3¶
-
petitionEndTooFewPlayers
= 1¶
-
petitionId
¶ Magic attribute generated for “petitionId” proto field.
-
resultPlayerKicked
¶ Magic attribute generated for “resultPlayerKicked” proto field.
-
-
class
pokerthproto.pokerth_pb2.
EndOfGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WINNERPLAYERID_FIELD_NUMBER
= 2¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
winnerPlayerId
¶ Magic attribute generated for “winnerPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
EndOfHandHideCardsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MONEYWON_FIELD_NUMBER
= 3¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
PLAYERMONEY_FIELD_NUMBER
= 4¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
moneyWon
¶ Magic attribute generated for “moneyWon” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerMoney
¶ Magic attribute generated for “playerMoney” proto field.
-
-
class
pokerthproto.pokerth_pb2.
EndOfHandShowCardsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERRESULTS_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerResults
¶ Magic attribute generated for “playerResults” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ErrorMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
ERRORREASON_FIELD_NUMBER
= 1¶
-
ErrorReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarTooLarge
= 8¶
-
bannedFromServer
= 12¶
-
blockedByServer
= 13¶
-
errorReason
¶ Magic attribute generated for “errorReason” proto field.
-
initAuthFailure
= 3¶
-
initBlocked
= 7¶
-
initInvalidPlayerName
= 5¶
-
initPlayerNameInUse
= 4¶
-
initServerFull
= 2¶
-
initServerMaintenance
= 6¶
-
initVersionNotSupported
= 1¶
-
invalidPacket
= 9¶
-
invalidState
= 10¶
-
kickedFromServer
= 11¶
-
reserved
= 0¶
-
sessionTimeout
= 14¶
-
-
class
pokerthproto.pokerth_pb2.
GameAdminChangedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NEWADMINPLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
newAdminPlayerId
¶ Magic attribute generated for “newAdminPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListAdminChangedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NEWADMINPLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
newAdminPlayerId
¶ Magic attribute generated for “newAdminPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListNewMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ADMINPLAYERID_FIELD_NUMBER
= 5¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMEINFO_FIELD_NUMBER
= 6¶
-
GAMEMODE_FIELD_NUMBER
= 2¶
-
HasField
(field_name)¶
-
ISPRIVATE_FIELD_NUMBER
= 3¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERIDS_FIELD_NUMBER
= 4¶
-
static
RegisterExtension
(extension_handle)¶
-
SPECTATORIDS_FIELD_NUMBER
= 7¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
adminPlayerId
¶ Magic attribute generated for “adminPlayerId” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameInfo
¶ Magic attribute generated for “gameInfo” proto field.
-
gameMode
¶ Magic attribute generated for “gameMode” proto field.
-
isPrivate
¶ Magic attribute generated for “isPrivate” proto field.
-
playerIds
¶ Magic attribute generated for “playerIds” proto field.
-
spectatorIds
¶ Magic attribute generated for “spectatorIds” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListPlayerJoinedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListPlayerLeftMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListSpectatorJoinedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListSpectatorLeftMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameListUpdateMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMEMODE_FIELD_NUMBER
= 2¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameMode
¶ Magic attribute generated for “gameMode” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GamePlayerJoinedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
ISGAMEADMIN_FIELD_NUMBER
= 3¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
isGameAdmin
¶ Magic attribute generated for “isGameAdmin” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GamePlayerLeftMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMEPLAYERLEFTREASON_FIELD_NUMBER
= 3¶
-
GamePlayerLeftReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gamePlayerLeftReason
¶ Magic attribute generated for “gamePlayerLeftReason” proto field.
-
leftError
= 2¶
-
leftKicked
= 1¶
-
leftOnRequest
= 0¶
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameSpectatorJoinedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameSpectatorLeftMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMESPECTATORLEFTREASON_FIELD_NUMBER
= 3¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameSpectatorLeftReason
¶ Magic attribute generated for “gameSpectatorLeftReason” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameStartInitialMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERSEATS_FIELD_NUMBER
= 3¶
-
static
RegisterExtension
(extension_handle)¶
-
STARTDEALERPLAYERID_FIELD_NUMBER
= 2¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerSeats
¶ Magic attribute generated for “playerSeats” proto field.
-
startDealerPlayerId
¶ Magic attribute generated for “startDealerPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
GameStartRejoinMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HANDNUM_FIELD_NUMBER
= 3¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REJOINPLAYERDATA_FIELD_NUMBER
= 4¶
-
static
RegisterExtension
(extension_handle)¶
-
class
RejoinPlayerData
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
PLAYERMONEY_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerMoney
¶ Magic attribute generated for “playerMoney” proto field.
-
-
GameStartRejoinMessage.
STARTDEALERPLAYERID_FIELD_NUMBER
= 2¶
-
GameStartRejoinMessage.
SerializePartialToString
()¶
-
GameStartRejoinMessage.
SerializeToString
()¶
-
GameStartRejoinMessage.
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
GameStartRejoinMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
GameStartRejoinMessage.
gameId
¶ Magic attribute generated for “gameId” proto field.
-
GameStartRejoinMessage.
handNum
¶ Magic attribute generated for “handNum” proto field.
-
GameStartRejoinMessage.
rejoinPlayerData
¶ Magic attribute generated for “rejoinPlayerData” proto field.
-
GameStartRejoinMessage.
startDealerPlayerId
¶ Magic attribute generated for “startDealerPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
HandStartMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DEALERPLAYERID_FIELD_NUMBER
= 6¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
ENCRYPTEDCARDS_FIELD_NUMBER
= 3¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAINCARDS_FIELD_NUMBER
= 2¶
-
class
PlainCards
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAINCARD1_FIELD_NUMBER
= 1¶
-
PLAINCARD2_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
plainCard1
¶ Magic attribute generated for “plainCard1” proto field.
-
plainCard2
¶ Magic attribute generated for “plainCard2” proto field.
-
-
static
HandStartMessage.
RegisterExtension
(extension_handle)¶
-
HandStartMessage.
SEATSTATES_FIELD_NUMBER
= 5¶
-
HandStartMessage.
SMALLBLIND_FIELD_NUMBER
= 4¶
-
HandStartMessage.
SerializePartialToString
()¶
-
HandStartMessage.
SerializeToString
()¶
-
HandStartMessage.
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
HandStartMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
HandStartMessage.
dealerPlayerId
¶ Magic attribute generated for “dealerPlayerId” proto field.
-
HandStartMessage.
encryptedCards
¶ Magic attribute generated for “encryptedCards” proto field.
-
HandStartMessage.
gameId
¶ Magic attribute generated for “gameId” proto field.
-
HandStartMessage.
plainCards
¶ Magic attribute generated for “plainCards” proto field.
-
HandStartMessage.
seatStates
¶ Magic attribute generated for “seatStates” proto field.
-
HandStartMessage.
smallBlind
¶ Magic attribute generated for “smallBlind” proto field.
-
-
class
pokerthproto.pokerth_pb2.
InitAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REJOINGAMEID_FIELD_NUMBER
= 4¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
YOURAVATARHASH_FIELD_NUMBER
= 3¶
-
YOURPLAYERID_FIELD_NUMBER
= 2¶
-
YOURSESSIONID_FIELD_NUMBER
= 1¶
-
rejoinGameId
¶ Magic attribute generated for “rejoinGameId” proto field.
-
yourAvatarHash
¶ Magic attribute generated for “yourAvatarHash” proto field.
-
yourPlayerId
¶ Magic attribute generated for “yourPlayerId” proto field.
-
yourSessionId
¶ Magic attribute generated for “yourSessionId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
InitMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AUTHSERVERPASSWORD_FIELD_NUMBER
= 4¶
-
AVATARHASH_FIELD_NUMBER
= 8¶
-
BUILDID_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
CLIENTUSERDATA_FIELD_NUMBER
= 7¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
LOGIN_FIELD_NUMBER
= 5¶
-
ListFields
()¶
-
LoginType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
MYLASTSESSIONID_FIELD_NUMBER
= 3¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NICKNAME_FIELD_NUMBER
= 6¶
-
REQUESTEDVERSION_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
authServerPassword
¶ Magic attribute generated for “authServerPassword” proto field.
-
authenticatedLogin
= 1¶
-
avatarHash
¶ Magic attribute generated for “avatarHash” proto field.
-
buildId
¶ Magic attribute generated for “buildId” proto field.
-
clientUserData
¶ Magic attribute generated for “clientUserData” proto field.
-
guestLogin
= 0¶
-
login
¶ Magic attribute generated for “login” proto field.
-
myLastSessionId
¶ Magic attribute generated for “myLastSessionId” proto field.
-
nickName
¶ Magic attribute generated for “nickName” proto field.
-
requestedVersion
¶ Magic attribute generated for “requestedVersion” proto field.
-
unauthenticatedLogin
= 2¶
-
-
class
pokerthproto.pokerth_pb2.
InviteNotifyMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERIDBYWHOM_FIELD_NUMBER
= 3¶
-
PLAYERIDWHO_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerIdByWhom
¶ Magic attribute generated for “playerIdByWhom” proto field.
-
playerIdWho
¶ Magic attribute generated for “playerIdWho” proto field.
-
-
class
pokerthproto.pokerth_pb2.
InvitePlayerToGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
JoinExistingGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AUTOLEAVE_FIELD_NUMBER
= 3¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PASSWORD_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SPECTATEONLY_FIELD_NUMBER
= 4¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
autoLeave
¶ Magic attribute generated for “autoLeave” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
password
¶ Magic attribute generated for “password” proto field.
-
spectateOnly
¶ Magic attribute generated for “spectateOnly” proto field.
-
-
class
pokerthproto.pokerth_pb2.
JoinGameAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AREYOUGAMEADMIN_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMEINFO_FIELD_NUMBER
= 3¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SPECTATEONLY_FIELD_NUMBER
= 4¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
areYouGameAdmin
¶ Magic attribute generated for “areYouGameAdmin” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameInfo
¶ Magic attribute generated for “gameInfo” proto field.
-
spectateOnly
¶ Magic attribute generated for “spectateOnly” proto field.
-
-
class
pokerthproto.pokerth_pb2.
JoinGameFailedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
JOINGAMEFAILUREREASON_FIELD_NUMBER
= 2¶
-
JoinGameFailureReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
badGameName
= 8¶
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameIsFull
= 2¶
-
gameIsRunning
= 3¶
-
gameNameInUse
= 7¶
-
invalidGame
= 1¶
-
invalidPassword
= 4¶
-
invalidSettings
= 9¶
-
ipAddressBlocked
= 10¶
-
joinGameFailureReason
¶ Magic attribute generated for “joinGameFailureReason” proto field.
-
noSpectatorsAllowed
= 12¶
-
notAllowedAsGuest
= 5¶
-
notInvited
= 6¶
-
rejoinFailed
= 11¶
-
-
class
pokerthproto.pokerth_pb2.
JoinNewGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AUTOLEAVE_FIELD_NUMBER
= 3¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEINFO_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PASSWORD_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
autoLeave
¶ Magic attribute generated for “autoLeave” proto field.
-
gameInfo
¶ Magic attribute generated for “gameInfo” proto field.
-
password
¶ Magic attribute generated for “password” proto field.
-
-
class
pokerthproto.pokerth_pb2.
KickPetitionUpdateMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NUMVOTESAGAINSTKICKING_FIELD_NUMBER
= 3¶
-
NUMVOTESINFAVOUROFKICKING_FIELD_NUMBER
= 4¶
-
NUMVOTESNEEDEDTOKICK_FIELD_NUMBER
= 5¶
-
PETITIONID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
numVotesAgainstKicking
¶ Magic attribute generated for “numVotesAgainstKicking” proto field.
-
numVotesInFavourOfKicking
¶ Magic attribute generated for “numVotesInFavourOfKicking” proto field.
-
numVotesNeededToKick
¶ Magic attribute generated for “numVotesNeededToKick” proto field.
-
petitionId
¶ Magic attribute generated for “petitionId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
KickPlayerRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
LeaveGameRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
MyActionRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMESTATE_FIELD_NUMBER
= 3¶
-
HANDNUM_FIELD_NUMBER
= 2¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MYACTION_FIELD_NUMBER
= 4¶
-
MYRELATIVEBET_FIELD_NUMBER
= 5¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameState
¶ Magic attribute generated for “gameState” proto field.
-
handNum
¶ Magic attribute generated for “handNum” proto field.
-
myAction
¶ Magic attribute generated for “myAction” proto field.
-
myRelativeBet
¶ Magic attribute generated for “myRelativeBet” proto field.
-
-
class
pokerthproto.pokerth_pb2.
NetGameInfo
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ALLOWSPECTATORS_FIELD_NUMBER
= 15¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DELAYBETWEENHANDS_FIELD_NUMBER
= 10¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
ENDRAISEMODE_FIELD_NUMBER
= 7¶
-
ENDRAISESMALLBLINDVALUE_FIELD_NUMBER
= 8¶
-
EndRaiseMode
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
FIRSTSMALLBLIND_FIELD_NUMBER
= 12¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMENAME_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MANUALBLINDS_FIELD_NUMBER
= 14¶
-
MAXNUMPLAYERS_FIELD_NUMBER
= 3¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NETGAMETYPE_FIELD_NUMBER
= 2¶
-
NetGameType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
PLAYERACTIONTIMEOUT_FIELD_NUMBER
= 11¶
-
PROPOSEDGUISPEED_FIELD_NUMBER
= 9¶
-
RAISEEVERYHANDS_FIELD_NUMBER
= 5¶
-
RAISEEVERYMINUTES_FIELD_NUMBER
= 6¶
-
RAISEINTERVALMODE_FIELD_NUMBER
= 4¶
-
RaiseIntervalMode
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
static
RegisterExtension
(extension_handle)¶
-
STARTMONEY_FIELD_NUMBER
= 13¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
allowSpectators
¶ Magic attribute generated for “allowSpectators” proto field.
-
delayBetweenHands
¶ Magic attribute generated for “delayBetweenHands” proto field.
-
doubleBlinds
= 1¶
-
endRaiseMode
¶ Magic attribute generated for “endRaiseMode” proto field.
-
endRaiseSmallBlindValue
¶ Magic attribute generated for “endRaiseSmallBlindValue” proto field.
-
firstSmallBlind
¶ Magic attribute generated for “firstSmallBlind” proto field.
-
gameName
¶ Magic attribute generated for “gameName” proto field.
-
inviteOnlyGame
= 3¶
-
keepLastBlind
= 3¶
-
manualBlinds
¶ Magic attribute generated for “manualBlinds” proto field.
-
maxNumPlayers
¶ Magic attribute generated for “maxNumPlayers” proto field.
-
netGameType
¶ Magic attribute generated for “netGameType” proto field.
-
normalGame
= 1¶
-
playerActionTimeout
¶ Magic attribute generated for “playerActionTimeout” proto field.
-
proposedGuiSpeed
¶ Magic attribute generated for “proposedGuiSpeed” proto field.
-
raiseByEndValue
= 2¶
-
raiseEveryHands
¶ Magic attribute generated for “raiseEveryHands” proto field.
-
raiseEveryMinutes
¶ Magic attribute generated for “raiseEveryMinutes” proto field.
-
raiseIntervalMode
¶ Magic attribute generated for “raiseIntervalMode” proto field.
-
raiseOnHandNum
= 1¶
-
raiseOnMinutes
= 2¶
-
rankingGame
= 4¶
-
registeredOnlyGame
= 2¶
-
startMoney
¶ Magic attribute generated for “startMoney” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayerIdChangedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NEWPLAYERID_FIELD_NUMBER
= 2¶
-
OLDPLAYERID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
newPlayerId
¶ Magic attribute generated for “newPlayerId” proto field.
-
oldPlayerId
¶ Magic attribute generated for “oldPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayerInfoReplyMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
PLAYERINFODATA_FIELD_NUMBER
= 2¶
-
class
PlayerInfoData
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AVATARDATA_FIELD_NUMBER
= 5¶
-
class
AvatarData
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AVATARHASH_FIELD_NUMBER
= 2¶
-
AVATARTYPE_FIELD_NUMBER
= 1¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarHash
¶ Magic attribute generated for “avatarHash” proto field.
-
avatarType
¶ Magic attribute generated for “avatarType” proto field.
-
-
PlayerInfoReplyMessage.PlayerInfoData.
ByteSize
()¶
-
PlayerInfoReplyMessage.PlayerInfoData.
COUNTRYCODE_FIELD_NUMBER
= 4¶
-
PlayerInfoReplyMessage.PlayerInfoData.
Clear
()¶
-
PlayerInfoReplyMessage.PlayerInfoData.
ClearField
(field_name)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
PlayerInfoReplyMessage.PlayerInfoData.
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
PlayerInfoReplyMessage.PlayerInfoData.
FromString
(s)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
HasField
(field_name)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
ISHUMAN_FIELD_NUMBER
= 2¶
-
PlayerInfoReplyMessage.PlayerInfoData.
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
PlayerInfoReplyMessage.PlayerInfoData.
ListFields
()¶
-
PlayerInfoReplyMessage.PlayerInfoData.
MergeFrom
(msg)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
MergeFromString
(serialized)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
PLAYERNAME_FIELD_NUMBER
= 1¶
-
PlayerInfoReplyMessage.PlayerInfoData.
PLAYERRIGHTS_FIELD_NUMBER
= 3¶
-
static
PlayerInfoReplyMessage.PlayerInfoData.
RegisterExtension
(extension_handle)¶
-
PlayerInfoReplyMessage.PlayerInfoData.
SerializePartialToString
()¶
-
PlayerInfoReplyMessage.PlayerInfoData.
SerializeToString
()¶
-
PlayerInfoReplyMessage.PlayerInfoData.
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
PlayerInfoReplyMessage.PlayerInfoData.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
PlayerInfoReplyMessage.PlayerInfoData.
avatarData
¶ Magic attribute generated for “avatarData” proto field.
-
PlayerInfoReplyMessage.PlayerInfoData.
countryCode
¶ Magic attribute generated for “countryCode” proto field.
-
PlayerInfoReplyMessage.PlayerInfoData.
isHuman
¶ Magic attribute generated for “isHuman” proto field.
-
PlayerInfoReplyMessage.PlayerInfoData.
playerName
¶ Magic attribute generated for “playerName” proto field.
-
PlayerInfoReplyMessage.PlayerInfoData.
playerRights
¶ Magic attribute generated for “playerRights” proto field.
-
-
static
PlayerInfoReplyMessage.
RegisterExtension
(extension_handle)¶
-
PlayerInfoReplyMessage.
SerializePartialToString
()¶
-
PlayerInfoReplyMessage.
SerializeToString
()¶
-
PlayerInfoReplyMessage.
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
PlayerInfoReplyMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
PlayerInfoReplyMessage.
playerId
¶ Magic attribute generated for “playerId” proto field.
-
PlayerInfoReplyMessage.
playerInfoData
¶ Magic attribute generated for “playerInfoData” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayerInfoRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayerListMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
PLAYERLISTNOTIFICATION_FIELD_NUMBER
= 2¶
-
PlayerListNotification
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerListLeft
= 1¶
-
playerListNew
= 0¶
-
playerListNotification
¶ Magic attribute generated for “playerListNotification” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayerResult
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
BESTHANDPOSITION_FIELD_NUMBER
= 4¶
-
ByteSize
()¶
-
CARDSVALUE_FIELD_NUMBER
= 7¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MONEYWON_FIELD_NUMBER
= 5¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 1¶
-
PLAYERMONEY_FIELD_NUMBER
= 6¶
-
RESULTCARD1_FIELD_NUMBER
= 2¶
-
RESULTCARD2_FIELD_NUMBER
= 3¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
bestHandPosition
¶ Magic attribute generated for “bestHandPosition” proto field.
-
cardsValue
¶ Magic attribute generated for “cardsValue” proto field.
-
moneyWon
¶ Magic attribute generated for “moneyWon” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerMoney
¶ Magic attribute generated for “playerMoney” proto field.
-
resultCard1
¶ Magic attribute generated for “resultCard1” proto field.
-
resultCard2
¶ Magic attribute generated for “resultCard2” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayersActionDoneMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMESTATE_FIELD_NUMBER
= 3¶
-
HIGHESTSET_FIELD_NUMBER
= 7¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MINIMUMRAISE_FIELD_NUMBER
= 8¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERACTION_FIELD_NUMBER
= 4¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
PLAYERMONEY_FIELD_NUMBER
= 6¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
TOTALPLAYERBET_FIELD_NUMBER
= 5¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameState
¶ Magic attribute generated for “gameState” proto field.
-
highestSet
¶ Magic attribute generated for “highestSet” proto field.
-
minimumRaise
¶ Magic attribute generated for “minimumRaise” proto field.
-
playerAction
¶ Magic attribute generated for “playerAction” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerMoney
¶ Magic attribute generated for “playerMoney” proto field.
-
totalPlayerBet
¶ Magic attribute generated for “totalPlayerBet” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PlayersTurnMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMESTATE_FIELD_NUMBER
= 3¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameState
¶ Magic attribute generated for “gameState” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
PokerTHMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ADMINBANPLAYERACKMESSAGE_FIELD_NUMBER
= 78¶
-
ADMINBANPLAYERMESSAGE_FIELD_NUMBER
= 77¶
-
ADMINREMOVEGAMEACKMESSAGE_FIELD_NUMBER
= 76¶
-
ADMINREMOVEGAMEMESSAGE_FIELD_NUMBER
= 75¶
-
AFTERHANDSHOWCARDSMESSAGE_FIELD_NUMBER
= 53¶
-
ALLINSHOWCARDSMESSAGE_FIELD_NUMBER
= 49¶
-
ANNOUNCEMESSAGE_FIELD_NUMBER
= 2¶
-
ASKKICKDENIEDMESSAGE_FIELD_NUMBER
= 57¶
-
ASKKICKPLAYERMESSAGE_FIELD_NUMBER
= 56¶
-
AUTHCLIENTRESPONSEMESSAGE_FIELD_NUMBER
= 5¶
-
AUTHSERVERCHALLENGEMESSAGE_FIELD_NUMBER
= 4¶
-
AUTHSERVERVERIFICATIONMESSAGE_FIELD_NUMBER
= 6¶
-
AVATARDATAMESSAGE_FIELD_NUMBER
= 10¶
-
AVATARENDMESSAGE_FIELD_NUMBER
= 11¶
-
AVATARHEADERMESSAGE_FIELD_NUMBER
= 9¶
-
AVATARREQUESTMESSAGE_FIELD_NUMBER
= 8¶
-
ByteSize
()¶
-
CHATMESSAGE_FIELD_NUMBER
= 65¶
-
CHATREJECTMESSAGE_FIELD_NUMBER
= 66¶
-
CHATREQUESTMESSAGE_FIELD_NUMBER
= 64¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DEALFLOPCARDSMESSAGE_FIELD_NUMBER
= 46¶
-
DEALRIVERCARDMESSAGE_FIELD_NUMBER
= 48¶
-
DEALTURNCARDMESSAGE_FIELD_NUMBER
= 47¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
DIALOGMESSAGE_FIELD_NUMBER
= 67¶
-
ENDKICKPETITIONMESSAGE_FIELD_NUMBER
= 62¶
-
ENDOFGAMEMESSAGE_FIELD_NUMBER
= 54¶
-
ENDOFHANDHIDECARDSMESSAGE_FIELD_NUMBER
= 51¶
-
ENDOFHANDSHOWCARDSMESSAGE_FIELD_NUMBER
= 50¶
-
ERRORMESSAGE_FIELD_NUMBER
= 74¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEADMINCHANGEDMESSAGE_FIELD_NUMBER
= 29¶
-
GAMELISTADMINCHANGEDMESSAGE_FIELD_NUMBER
= 18¶
-
GAMELISTNEWMESSAGE_FIELD_NUMBER
= 14¶
-
GAMELISTPLAYERJOINEDMESSAGE_FIELD_NUMBER
= 16¶
-
GAMELISTPLAYERLEFTMESSAGE_FIELD_NUMBER
= 17¶
-
GAMELISTSPECTATORJOINEDMESSAGE_FIELD_NUMBER
= 79¶
-
GAMELISTSPECTATORLEFTMESSAGE_FIELD_NUMBER
= 80¶
-
GAMELISTUPDATEMESSAGE_FIELD_NUMBER
= 15¶
-
GAMEPLAYERJOINEDMESSAGE_FIELD_NUMBER
= 27¶
-
GAMEPLAYERLEFTMESSAGE_FIELD_NUMBER
= 28¶
-
GAMESPECTATORJOINEDMESSAGE_FIELD_NUMBER
= 81¶
-
GAMESPECTATORLEFTMESSAGE_FIELD_NUMBER
= 82¶
-
GAMESTARTINITIALMESSAGE_FIELD_NUMBER
= 39¶
-
GAMESTARTREJOINMESSAGE_FIELD_NUMBER
= 40¶
-
HANDSTARTMESSAGE_FIELD_NUMBER
= 41¶
-
HasField
(field_name)¶
-
INITACKMESSAGE_FIELD_NUMBER
= 7¶
-
INITMESSAGE_FIELD_NUMBER
= 3¶
-
INVITENOTIFYMESSAGE_FIELD_NUMBER
= 34¶
-
INVITEPLAYERTOGAMEMESSAGE_FIELD_NUMBER
= 33¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
JOINEXISTINGGAMEMESSAGE_FIELD_NUMBER
= 22¶
-
JOINGAMEACKMESSAGE_FIELD_NUMBER
= 25¶
-
JOINGAMEFAILEDMESSAGE_FIELD_NUMBER
= 26¶
-
JOINNEWGAMEMESSAGE_FIELD_NUMBER
= 23¶
-
KICKPETITIONUPDATEMESSAGE_FIELD_NUMBER
= 61¶
-
KICKPLAYERREQUESTMESSAGE_FIELD_NUMBER
= 31¶
-
LEAVEGAMEREQUESTMESSAGE_FIELD_NUMBER
= 32¶
-
ListFields
()¶
-
MESSAGETYPE_FIELD_NUMBER
= 1¶
-
MYACTIONREQUESTMESSAGE_FIELD_NUMBER
= 43¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERIDCHANGEDMESSAGE_FIELD_NUMBER
= 55¶
-
PLAYERINFOREPLYMESSAGE_FIELD_NUMBER
= 20¶
-
PLAYERINFOREQUESTMESSAGE_FIELD_NUMBER
= 19¶
-
PLAYERLISTMESSAGE_FIELD_NUMBER
= 13¶
-
PLAYERSACTIONDONEMESSAGE_FIELD_NUMBER
= 45¶
-
PLAYERSTURNMESSAGE_FIELD_NUMBER
= 42¶
-
PokerTHMessageType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
REJECTGAMEINVITATIONMESSAGE_FIELD_NUMBER
= 35¶
-
REJECTINVNOTIFYMESSAGE_FIELD_NUMBER
= 36¶
-
REJOINEXISTINGGAMEMESSAGE_FIELD_NUMBER
= 24¶
-
REMOVEDFROMGAMEMESSAGE_FIELD_NUMBER
= 30¶
-
REPORTAVATARACKMESSAGE_FIELD_NUMBER
= 71¶
-
REPORTAVATARMESSAGE_FIELD_NUMBER
= 70¶
-
REPORTGAMEACKMESSAGE_FIELD_NUMBER
= 73¶
-
REPORTGAMEMESSAGE_FIELD_NUMBER
= 72¶
-
RESETTIMEOUTMESSAGE_FIELD_NUMBER
= 69¶
-
static
RegisterExtension
(extension_handle)¶
-
SHOWMYCARDSREQUESTMESSAGE_FIELD_NUMBER
= 52¶
-
STARTEVENTACKMESSAGE_FIELD_NUMBER
= 38¶
-
STARTEVENTMESSAGE_FIELD_NUMBER
= 37¶
-
STARTKICKPETITIONMESSAGE_FIELD_NUMBER
= 58¶
-
STATISTICSMESSAGE_FIELD_NUMBER
= 63¶
-
SUBSCRIPTIONREQUESTMESSAGE_FIELD_NUMBER
= 21¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
TIMEOUTWARNINGMESSAGE_FIELD_NUMBER
= 68¶
-
Type_AdminBanPlayerAckMessage
= 77¶
-
Type_AdminBanPlayerMessage
= 76¶
-
Type_AdminRemoveGameAckMessage
= 75¶
-
Type_AdminRemoveGameMessage
= 74¶
-
Type_AfterHandShowCardsMessage
= 52¶
-
Type_AllInShowCardsMessage
= 48¶
-
Type_AnnounceMessage
= 1¶
-
Type_AskKickDeniedMessage
= 56¶
-
Type_AskKickPlayerMessage
= 55¶
-
Type_AuthClientResponseMessage
= 4¶
-
Type_AuthServerChallengeMessage
= 3¶
-
Type_AuthServerVerificationMessage
= 5¶
-
Type_AvatarDataMessage
= 9¶
-
Type_AvatarEndMessage
= 10¶
-
Type_AvatarHeaderMessage
= 8¶
-
Type_AvatarRequestMessage
= 7¶
-
Type_ChatMessage
= 64¶
-
Type_ChatRejectMessage
= 65¶
-
Type_ChatRequestMessage
= 63¶
-
Type_DealFlopCardsMessage
= 45¶
-
Type_DealRiverCardMessage
= 47¶
-
Type_DealTurnCardMessage
= 46¶
-
Type_DialogMessage
= 66¶
-
Type_EndKickPetitionMessage
= 61¶
-
Type_EndOfGameMessage
= 53¶
-
Type_EndOfHandHideCardsMessage
= 50¶
-
Type_EndOfHandShowCardsMessage
= 49¶
-
Type_ErrorMessage
= 73¶
-
Type_GameAdminChangedMessage
= 28¶
-
Type_GameListAdminChangedMessage
= 17¶
-
Type_GameListNewMessage
= 13¶
-
Type_GameListPlayerJoinedMessage
= 15¶
-
Type_GameListPlayerLeftMessage
= 16¶
-
Type_GameListSpectatorJoinedMessage
= 78¶
-
Type_GameListSpectatorLeftMessage
= 79¶
-
Type_GameListUpdateMessage
= 14¶
-
Type_GamePlayerJoinedMessage
= 26¶
-
Type_GamePlayerLeftMessage
= 27¶
-
Type_GameSpectatorJoinedMessage
= 80¶
-
Type_GameSpectatorLeftMessage
= 81¶
-
Type_GameStartInitialMessage
= 38¶
-
Type_GameStartRejoinMessage
= 39¶
-
Type_HandStartMessage
= 40¶
-
Type_InitAckMessage
= 6¶
-
Type_InitMessage
= 2¶
-
Type_InviteNotifyMessage
= 33¶
-
Type_InvitePlayerToGameMessage
= 32¶
-
Type_JoinExistingGameMessage
= 21¶
-
Type_JoinGameAckMessage
= 24¶
-
Type_JoinGameFailedMessage
= 25¶
-
Type_JoinNewGameMessage
= 22¶
-
Type_KickPetitionUpdateMessage
= 60¶
-
Type_KickPlayerRequestMessage
= 30¶
-
Type_LeaveGameRequestMessage
= 31¶
-
Type_MyActionRequestMessage
= 42¶
-
Type_PlayerIdChangedMessage
= 54¶
-
Type_PlayerInfoReplyMessage
= 19¶
-
Type_PlayerInfoRequestMessage
= 18¶
-
Type_PlayerListMessage
= 12¶
-
Type_PlayersActionDoneMessage
= 44¶
-
Type_PlayersTurnMessage
= 41¶
-
Type_RejectGameInvitationMessage
= 34¶
-
Type_RejectInvNotifyMessage
= 35¶
-
Type_RejoinExistingGameMessage
= 23¶
-
Type_RemovedFromGameMessage
= 29¶
-
Type_ReportAvatarAckMessage
= 70¶
-
Type_ReportAvatarMessage
= 69¶
-
Type_ReportGameAckMessage
= 72¶
-
Type_ReportGameMessage
= 71¶
-
Type_ResetTimeoutMessage
= 68¶
-
Type_ShowMyCardsRequestMessage
= 51¶
-
Type_StartEventAckMessage
= 37¶
-
Type_StartEventMessage
= 36¶
-
Type_StartKickPetitionMessage
= 57¶
-
Type_StatisticsMessage
= 62¶
-
Type_SubscriptionRequestMessage
= 20¶
-
Type_TimeoutWarningMessage
= 67¶
-
Type_UnknownAvatarMessage
= 11¶
-
Type_VoteKickReplyMessage
= 59¶
-
Type_VoteKickRequestMessage
= 58¶
-
Type_YourActionRejectedMessage
= 43¶
-
UNKNOWNAVATARMESSAGE_FIELD_NUMBER
= 12¶
-
VOTEKICKREPLYMESSAGE_FIELD_NUMBER
= 60¶
-
VOTEKICKREQUESTMESSAGE_FIELD_NUMBER
= 59¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
YOURACTIONREJECTEDMESSAGE_FIELD_NUMBER
= 44¶
-
adminBanPlayerAckMessage
¶ Magic attribute generated for “adminBanPlayerAckMessage” proto field.
-
adminBanPlayerMessage
¶ Magic attribute generated for “adminBanPlayerMessage” proto field.
-
adminRemoveGameAckMessage
¶ Magic attribute generated for “adminRemoveGameAckMessage” proto field.
-
adminRemoveGameMessage
¶ Magic attribute generated for “adminRemoveGameMessage” proto field.
-
afterHandShowCardsMessage
¶ Magic attribute generated for “afterHandShowCardsMessage” proto field.
-
allInShowCardsMessage
¶ Magic attribute generated for “allInShowCardsMessage” proto field.
-
announceMessage
¶ Magic attribute generated for “announceMessage” proto field.
-
askKickDeniedMessage
¶ Magic attribute generated for “askKickDeniedMessage” proto field.
-
askKickPlayerMessage
¶ Magic attribute generated for “askKickPlayerMessage” proto field.
-
authClientResponseMessage
¶ Magic attribute generated for “authClientResponseMessage” proto field.
-
authServerChallengeMessage
¶ Magic attribute generated for “authServerChallengeMessage” proto field.
-
authServerVerificationMessage
¶ Magic attribute generated for “authServerVerificationMessage” proto field.
-
avatarDataMessage
¶ Magic attribute generated for “avatarDataMessage” proto field.
-
avatarEndMessage
¶ Magic attribute generated for “avatarEndMessage” proto field.
-
avatarHeaderMessage
¶ Magic attribute generated for “avatarHeaderMessage” proto field.
-
avatarRequestMessage
¶ Magic attribute generated for “avatarRequestMessage” proto field.
-
chatMessage
¶ Magic attribute generated for “chatMessage” proto field.
-
chatRejectMessage
¶ Magic attribute generated for “chatRejectMessage” proto field.
-
chatRequestMessage
¶ Magic attribute generated for “chatRequestMessage” proto field.
-
dealFlopCardsMessage
¶ Magic attribute generated for “dealFlopCardsMessage” proto field.
-
dealRiverCardMessage
¶ Magic attribute generated for “dealRiverCardMessage” proto field.
-
dealTurnCardMessage
¶ Magic attribute generated for “dealTurnCardMessage” proto field.
-
dialogMessage
¶ Magic attribute generated for “dialogMessage” proto field.
-
endKickPetitionMessage
¶ Magic attribute generated for “endKickPetitionMessage” proto field.
-
endOfGameMessage
¶ Magic attribute generated for “endOfGameMessage” proto field.
-
endOfHandHideCardsMessage
¶ Magic attribute generated for “endOfHandHideCardsMessage” proto field.
-
endOfHandShowCardsMessage
¶ Magic attribute generated for “endOfHandShowCardsMessage” proto field.
-
errorMessage
¶ Magic attribute generated for “errorMessage” proto field.
-
gameAdminChangedMessage
¶ Magic attribute generated for “gameAdminChangedMessage” proto field.
-
gameListAdminChangedMessage
¶ Magic attribute generated for “gameListAdminChangedMessage” proto field.
-
gameListNewMessage
¶ Magic attribute generated for “gameListNewMessage” proto field.
-
gameListPlayerJoinedMessage
¶ Magic attribute generated for “gameListPlayerJoinedMessage” proto field.
-
gameListPlayerLeftMessage
¶ Magic attribute generated for “gameListPlayerLeftMessage” proto field.
-
gameListSpectatorJoinedMessage
¶ Magic attribute generated for “gameListSpectatorJoinedMessage” proto field.
-
gameListSpectatorLeftMessage
¶ Magic attribute generated for “gameListSpectatorLeftMessage” proto field.
-
gameListUpdateMessage
¶ Magic attribute generated for “gameListUpdateMessage” proto field.
-
gamePlayerJoinedMessage
¶ Magic attribute generated for “gamePlayerJoinedMessage” proto field.
-
gamePlayerLeftMessage
¶ Magic attribute generated for “gamePlayerLeftMessage” proto field.
-
gameSpectatorJoinedMessage
¶ Magic attribute generated for “gameSpectatorJoinedMessage” proto field.
-
gameSpectatorLeftMessage
¶ Magic attribute generated for “gameSpectatorLeftMessage” proto field.
-
gameStartInitialMessage
¶ Magic attribute generated for “gameStartInitialMessage” proto field.
-
gameStartRejoinMessage
¶ Magic attribute generated for “gameStartRejoinMessage” proto field.
-
handStartMessage
¶ Magic attribute generated for “handStartMessage” proto field.
-
initAckMessage
¶ Magic attribute generated for “initAckMessage” proto field.
-
initMessage
¶ Magic attribute generated for “initMessage” proto field.
-
inviteNotifyMessage
¶ Magic attribute generated for “inviteNotifyMessage” proto field.
-
invitePlayerToGameMessage
¶ Magic attribute generated for “invitePlayerToGameMessage” proto field.
-
joinExistingGameMessage
¶ Magic attribute generated for “joinExistingGameMessage” proto field.
-
joinGameAckMessage
¶ Magic attribute generated for “joinGameAckMessage” proto field.
-
joinGameFailedMessage
¶ Magic attribute generated for “joinGameFailedMessage” proto field.
-
joinNewGameMessage
¶ Magic attribute generated for “joinNewGameMessage” proto field.
-
kickPetitionUpdateMessage
¶ Magic attribute generated for “kickPetitionUpdateMessage” proto field.
-
kickPlayerRequestMessage
¶ Magic attribute generated for “kickPlayerRequestMessage” proto field.
-
leaveGameRequestMessage
¶ Magic attribute generated for “leaveGameRequestMessage” proto field.
-
messageType
¶ Magic attribute generated for “messageType” proto field.
-
myActionRequestMessage
¶ Magic attribute generated for “myActionRequestMessage” proto field.
-
playerIdChangedMessage
¶ Magic attribute generated for “playerIdChangedMessage” proto field.
-
playerInfoReplyMessage
¶ Magic attribute generated for “playerInfoReplyMessage” proto field.
-
playerInfoRequestMessage
¶ Magic attribute generated for “playerInfoRequestMessage” proto field.
-
playerListMessage
¶ Magic attribute generated for “playerListMessage” proto field.
-
playersActionDoneMessage
¶ Magic attribute generated for “playersActionDoneMessage” proto field.
-
playersTurnMessage
¶ Magic attribute generated for “playersTurnMessage” proto field.
-
rejectGameInvitationMessage
¶ Magic attribute generated for “rejectGameInvitationMessage” proto field.
-
rejectInvNotifyMessage
¶ Magic attribute generated for “rejectInvNotifyMessage” proto field.
-
rejoinExistingGameMessage
¶ Magic attribute generated for “rejoinExistingGameMessage” proto field.
-
removedFromGameMessage
¶ Magic attribute generated for “removedFromGameMessage” proto field.
-
reportAvatarAckMessage
¶ Magic attribute generated for “reportAvatarAckMessage” proto field.
-
reportAvatarMessage
¶ Magic attribute generated for “reportAvatarMessage” proto field.
-
reportGameAckMessage
¶ Magic attribute generated for “reportGameAckMessage” proto field.
-
reportGameMessage
¶ Magic attribute generated for “reportGameMessage” proto field.
-
resetTimeoutMessage
¶ Magic attribute generated for “resetTimeoutMessage” proto field.
-
showMyCardsRequestMessage
¶ Magic attribute generated for “showMyCardsRequestMessage” proto field.
-
startEventAckMessage
¶ Magic attribute generated for “startEventAckMessage” proto field.
-
startEventMessage
¶ Magic attribute generated for “startEventMessage” proto field.
-
startKickPetitionMessage
¶ Magic attribute generated for “startKickPetitionMessage” proto field.
-
statisticsMessage
¶ Magic attribute generated for “statisticsMessage” proto field.
-
subscriptionRequestMessage
¶ Magic attribute generated for “subscriptionRequestMessage” proto field.
-
timeoutWarningMessage
¶ Magic attribute generated for “timeoutWarningMessage” proto field.
-
unknownAvatarMessage
¶ Magic attribute generated for “unknownAvatarMessage” proto field.
-
voteKickReplyMessage
¶ Magic attribute generated for “voteKickReplyMessage” proto field.
-
voteKickRequestMessage
¶ Magic attribute generated for “voteKickRequestMessage” proto field.
-
yourActionRejectedMessage
¶ Magic attribute generated for “yourActionRejectedMessage” proto field.
-
-
class
pokerthproto.pokerth_pb2.
RejectGameInvitationMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MYREJECTREASON_FIELD_NUMBER
= 2¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
RejectGameInvReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
myRejectReason
¶ Magic attribute generated for “myRejectReason” proto field.
-
rejectReasonBusy
= 1¶
-
rejectReasonNo
= 0¶
-
-
class
pokerthproto.pokerth_pb2.
RejectInvNotifyMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PLAYERID_FIELD_NUMBER
= 2¶
-
PLAYERREJECTREASON_FIELD_NUMBER
= 3¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
playerId
¶ Magic attribute generated for “playerId” proto field.
-
playerRejectReason
¶ Magic attribute generated for “playerRejectReason” proto field.
-
-
class
pokerthproto.pokerth_pb2.
RejoinExistingGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
AUTOLEAVE_FIELD_NUMBER
= 2¶
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
autoLeave
¶ Magic attribute generated for “autoLeave” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
RemovedFromGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REMOVEDFROMGAMEREASON_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
RemovedFromGameReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameClosed
= 6¶
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameIsFull
= 2¶
-
gameIsRunning
= 3¶
-
gameTimeout
= 4¶
-
kickedFromGame
= 1¶
-
removedFromGameReason
¶ Magic attribute generated for “removedFromGameReason” proto field.
-
removedOnRequest
= 0¶
-
removedStartFailed
= 5¶
-
-
class
pokerthproto.pokerth_pb2.
ReportAvatarAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REPORTAVATARRESULT_FIELD_NUMBER
= 2¶
-
REPORTEDPLAYERID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
ReportAvatarResult
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
avatarReportAccepted
= 0¶
-
avatarReportDuplicate
= 1¶
-
avatarReportInvalid
= 2¶
-
reportAvatarResult
¶ Magic attribute generated for “reportAvatarResult” proto field.
-
reportedPlayerId
¶ Magic attribute generated for “reportedPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ReportAvatarMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REPORTEDAVATARHASH_FIELD_NUMBER
= 2¶
-
REPORTEDPLAYERID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
reportedAvatarHash
¶ Magic attribute generated for “reportedAvatarHash” proto field.
-
reportedPlayerId
¶ Magic attribute generated for “reportedPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ReportGameAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REPORTEDGAMEID_FIELD_NUMBER
= 1¶
-
REPORTGAMERESULT_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
ReportGameResult
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameReportAccepted
= 0¶
-
gameReportDuplicate
= 1¶
-
gameReportInvalid
= 2¶
-
reportGameResult
¶ Magic attribute generated for “reportGameResult” proto field.
-
reportedGameId
¶ Magic attribute generated for “reportedGameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ReportGameMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REPORTEDGAMEID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
reportedGameId
¶ Magic attribute generated for “reportedGameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
ResetTimeoutMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
-
class
pokerthproto.pokerth_pb2.
ShowMyCardsRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
-
class
pokerthproto.pokerth_pb2.
StartEventAckMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
StartEventMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FILLWITHCOMPUTERPLAYERS_FIELD_NUMBER
= 3¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
STARTEVENTTYPE_FIELD_NUMBER
= 2¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
StartEventType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
fillWithComputerPlayers
¶ Magic attribute generated for “fillWithComputerPlayers” proto field.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
rejoinEvent
= 1¶
-
startEvent
= 0¶
-
startEventType
¶ Magic attribute generated for “startEventType” proto field.
-
-
class
pokerthproto.pokerth_pb2.
StartKickPetitionMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
KICKPLAYERID_FIELD_NUMBER
= 4¶
-
KICKTIMEOUTSEC_FIELD_NUMBER
= 5¶
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
NUMVOTESNEEDEDTOKICK_FIELD_NUMBER
= 6¶
-
PETITIONID_FIELD_NUMBER
= 2¶
-
PROPOSINGPLAYERID_FIELD_NUMBER
= 3¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
kickPlayerId
¶ Magic attribute generated for “kickPlayerId” proto field.
-
kickTimeoutSec
¶ Magic attribute generated for “kickTimeoutSec” proto field.
-
numVotesNeededToKick
¶ Magic attribute generated for “numVotesNeededToKick” proto field.
-
petitionId
¶ Magic attribute generated for “petitionId” proto field.
-
proposingPlayerId
¶ Magic attribute generated for “proposingPlayerId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
StatisticsMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
STATISTICSDATA_FIELD_NUMBER
= 1¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
class
StatisticsData
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
STATISTICSTYPE_FIELD_NUMBER
= 1¶
-
STATISTICSVALUE_FIELD_NUMBER
= 2¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
StatisticsType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
statNumberOfPlayers
= 1¶
-
statisticsType
¶ Magic attribute generated for “statisticsType” proto field.
-
statisticsValue
¶ Magic attribute generated for “statisticsValue” proto field.
-
-
StatisticsMessage.
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
StatisticsMessage.
statisticsData
¶ Magic attribute generated for “statisticsData” proto field.
-
-
class
pokerthproto.pokerth_pb2.
SubscriptionRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
static
RegisterExtension
(extension_handle)¶
-
SUBSCRIPTIONACTION_FIELD_NUMBER
= 1¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
SubscriptionAction
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
resubscribeGameList
= 2¶
-
subscriptionAction
¶ Magic attribute generated for “subscriptionAction” proto field.
-
unsubscribeGameList
= 1¶
-
-
class
pokerthproto.pokerth_pb2.
TimeoutWarningMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REMAININGSECONDS_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
TIMEOUTREASON_FIELD_NUMBER
= 1¶
-
TimeoutReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
remainingSeconds
¶ Magic attribute generated for “remainingSeconds” proto field.
-
timeoutInactiveGame
= 1¶
-
timeoutKickAfterAutofold
= 2¶
-
timeoutNoDataReceived
= 0¶
-
timeoutReason
¶ Magic attribute generated for “timeoutReason” proto field.
-
-
class
pokerthproto.pokerth_pb2.
UnknownAvatarMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REQUESTID_FIELD_NUMBER
= 1¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
requestId
¶ Magic attribute generated for “requestId” proto field.
-
-
class
pokerthproto.pokerth_pb2.
VoteKickReplyMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PETITIONID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
VOTEKICKREPLYTYPE_FIELD_NUMBER
= 3¶
-
VoteKickReplyType
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
petitionId
¶ Magic attribute generated for “petitionId” proto field.
-
voteKickAck
= 0¶
-
voteKickDeniedAlreadyVoted
= 2¶
-
voteKickDeniedInvalid
= 1¶
-
voteKickReplyType
¶ Magic attribute generated for “voteKickReplyType” proto field.
-
-
class
pokerthproto.pokerth_pb2.
VoteKickRequestMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
PETITIONID_FIELD_NUMBER
= 2¶
-
static
RegisterExtension
(extension_handle)¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
VOTEKICK_FIELD_NUMBER
= 3¶
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
petitionId
¶ Magic attribute generated for “petitionId” proto field.
-
voteKick
¶ Magic attribute generated for “voteKick” proto field.
-
-
class
pokerthproto.pokerth_pb2.
YourActionRejectedMessage
(**kwargs)[source]¶ Bases:
google.protobuf.message.Message
-
ByteSize
()¶
-
Clear
()¶
-
ClearField
(field_name)¶
-
DESCRIPTOR
= <google.protobuf.descriptor.Descriptor object>¶
-
FindInitializationErrors
()¶ Finds required fields which are not initialized.
- Returns:
- A list of strings. Each string is a path to an uninitialized field from the top-level message, e.g. “foo.bar[5].baz”.
-
static
FromString
(s)¶
-
GAMEID_FIELD_NUMBER
= 1¶
-
GAMESTATE_FIELD_NUMBER
= 2¶
-
HasField
(field_name)¶
-
IsInitialized
(errors=None)¶ Checks if all required fields of a message are set.
- Args:
- errors: A list which, if provided, will be populated with the field
- paths of all missing required fields.
- Returns:
- True iff the specified message has all required fields set.
-
ListFields
()¶
-
MergeFrom
(msg)¶
-
MergeFromString
(serialized)¶
-
REJECTIONREASON_FIELD_NUMBER
= 5¶
-
static
RegisterExtension
(extension_handle)¶
-
RejectionReason
= <google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object>¶
-
SerializePartialToString
()¶
-
SerializeToString
()¶
-
SetInParent
()¶ Sets the _cached_byte_size_dirty bit to true, and propagates this to our listener iff this was a state change.
-
WhichOneof
(oneof_name)¶ Returns the name of the currently set field inside a oneof, or None.
-
YOURACTION_FIELD_NUMBER
= 3¶
-
YOURRELATIVEBET_FIELD_NUMBER
= 4¶
-
gameId
¶ Magic attribute generated for “gameId” proto field.
-
gameState
¶ Magic attribute generated for “gameState” proto field.
-
rejectedActionNotAllowed
= 3¶
-
rejectedInvalidGameState
= 1¶
-
rejectedNotYourTurn
= 2¶
-
rejectionReason
¶ Magic attribute generated for “rejectionReason” proto field.
-
yourAction
¶ Magic attribute generated for “yourAction” proto field.
-
yourRelativeBet
¶ Magic attribute generated for “yourRelativeBet” proto field.
-
pokerthproto.protocol module¶
The PokerTH protocol consisting of messages and replies with respect to the current state in the communication.
-
class
pokerthproto.protocol.
ClientProtocol
[source]¶ Bases:
pokerthproto.protocol.PokerTHProtocol
-
handleChat
(chatType, text, lobbyInfo, gameInfo=None, playerInfo=None)[source]¶ Handle the behavior of our client when a chat message was received.
Overwrite this method.
Parameters:
-
handleEndOfGame
(gameInfo, winner)[source]¶ Handle the end of a game
The end of a game brings you back to the lobby
Parameters:
-
handleEndOfHand
(gameInfo)[source]¶ Handle the end of a hand
Parameters: gameInfo – game information ( Game
)
-
handleInsideLobby
(lobbyInfo)[source]¶ Handle the behavior of our client in the lobby.
Overwrite this method.
Parameters: lobbyInfo – information about the lobby ( Lobby
)
-
handleMyTurn
(gameInfo)[source]¶ Decide what action to take when it is our turn.
Parameters: gameInfo – game information ( Game
)
-
handleOthersTurn
(playerInfo, gameInfo)[source]¶ Handle the start of another player’s turn.
Parameters:
-
sendChatRequest
(text, gameId=None, playerId=None)[source]¶ Send a chat message.
Parameters: - text – your message
- gameId – optional game id
- playerId – optional player id
-
sendMyAction
(action, bet, relative=True)[source]¶ Send my action during a poker game.
Parameters: - action – action of
Action
- bet – bet with respect to the action
- relative – boolean if the bet is relative to the highest set bet
- action – action of
-
state
= 0¶
-
-
class
pokerthproto.protocol.
ClientProtocolFactory
(nickName)[source]¶ Bases:
twisted.internet.protocol.ClientFactory
-
protocol
¶ alias of
ClientProtocol
-
-
class
pokerthproto.protocol.
PokerTHProtocol
[source]¶ Bases:
twisted.internet.protocol.Protocol
-
adminBanPlayerAckReceived
(msg)¶
-
adminBanPlayerReceived
(msg)¶
-
adminRemoveGameAckReceived
(msg)¶
-
adminRemoveGameReceived
(msg)¶
-
afterHandShowCardsReceived
(msg)¶
-
allInShowCardsReceived
(msg)¶
-
announceReceived
(msg)¶
-
askKickDeniedReceived
(msg)¶
-
askKickPlayerReceived
(msg)¶
-
authClientResponseReceived
(msg)¶
-
authServerChallengeReceived
(msg)¶
-
authServerVerificationReceived
(msg)¶
-
avatarDataReceived
(msg)¶
-
avatarEndReceived
(msg)¶
-
avatarHeaderReceived
(msg)¶
-
avatarRequestReceived
(msg)¶
-
chatReceived
(msg)¶
-
chatRejectReceived
(msg)¶
-
chatRequestReceived
(msg)¶
-
dealFlopCardsReceived
(msg)¶
-
dealRiverCardReceived
(msg)¶
-
dealTurnCardReceived
(msg)¶
-
dialogReceived
(msg)¶
-
endKickPetitionReceived
(msg)¶
-
endOfGameReceived
(msg)¶
-
endOfHandHideCardsReceived
(msg)¶
-
endOfHandShowCardsReceived
(msg)¶
-
errorReceived
(msg)¶
-
gameAdminChangedReceived
(msg)¶
-
gameListAdminChangedReceived
(msg)¶
-
gameListNewReceived
(msg)¶
-
gameListPlayerJoinedReceived
(msg)¶
-
gameListPlayerLeftReceived
(msg)¶
-
gameListSpectatorJoinedReceived
(msg)¶
-
gameListSpectatorLeftReceived
(msg)¶
-
gameListUpdateReceived
(msg)¶
-
gamePlayerJoinedReceived
(msg)¶
-
gamePlayerLeftReceived
(msg)¶
-
gameSpectatorJoinedReceived
(msg)¶
-
gameSpectatorLeftReceived
(msg)¶
-
gameStartInitialReceived
(msg)¶
-
gameStartRejoinReceived
(msg)¶
-
handStartReceived
(msg)¶
-
initAckReceived
(msg)¶
-
initReceived
(msg)¶
-
inviteNotifyReceived
(msg)¶
-
invitePlayerToGameReceived
(msg)¶
-
joinExistingGameReceived
(msg)¶
-
joinGameAckReceived
(msg)¶
-
joinGameFailedReceived
(msg)¶
-
joinNewGameReceived
(msg)¶
-
kickPetitionUpdateReceived
(msg)¶
-
kickPlayerRequestReceived
(msg)¶
-
leaveGameRequestReceived
(msg)¶
-
myActionRequestReceived
(msg)¶
-
playerIdChangedReceived
(msg)¶
-
playerInfoReplyReceived
(msg)¶
-
playerInfoRequestReceived
(msg)¶
-
playerListReceived
(msg)¶
-
playersActionDoneReceived
(msg)¶
-
playersTurnReceived
(msg)¶
-
rejectGameInvitationReceived
(msg)¶
-
rejectInvNotifyReceived
(msg)¶
-
rejoinExistingGameReceived
(msg)¶
-
removedFromGameReceived
(msg)¶
-
reportAvatarAckReceived
(msg)¶
-
reportAvatarReceived
(msg)¶
-
reportGameAckReceived
(msg)¶
-
reportGameReceived
(msg)¶
-
resetTimeoutReceived
(msg)¶
-
showMyCardsRequestReceived
(msg)¶
-
startEventAckReceived
(msg)¶
-
startEventReceived
(msg)¶
-
startKickPetitionReceived
(msg)¶
-
statisticsReceived
(msg)¶
-
subscriptionRequestReceived
(msg)¶
-
timeoutWarningReceived
(msg)¶
-
unknownAvatarReceived
(msg)¶
-
voteKickReplyReceived
(msg)¶
-
voteKickRequestReceived
(msg)¶
-
yourActionRejectedReceived
(msg)¶
-
pokerthproto.proxy module¶
A PokerTH proxy that logs all messages between a PokerTH client and server.
-
class
pokerthproto.proxy.
ClientProtocolFactory
(sendToClient)[source]¶ Bases:
twisted.internet.protocol.Factory
-
protocol
¶ alias of
ClientProtocol
-
-
class
pokerthproto.proxy.
ProxyProtocolFactory
[source]¶ Bases:
twisted.internet.protocol.Factory
-
protocol
¶ alias of
ProxyProtocol
-
pokerthproto.transport module¶
The low-level transport functionality for packing/unpacking and enveloping/ developing messages.
-
pokerthproto.transport.
develop
(envelope)[source]¶ Remove the envelope from a message.
Parameters: envelope – PokerTHMessage object that envelops a message Returns: PokerTH message from the envelope
-
pokerthproto.transport.
envelop
(msg)[source]¶ Put a message into an envelope.
Parameters: msg – PokerTH message object Returns: message wrapped in a PokerTHMessage object
-
pokerthproto.transport.
makeSizeBytes
(n)[source]¶ Create a 4 bytes string that encodes the number
n
.Parameters: n – integer Returns: 4 bytes string
-
pokerthproto.transport.
pack
(envelope)[source]¶ Packs/Serializes a PokerTHMessage to a data string.
Parameters: envelope – PokerTHMessage envelope Returns: data as string