Send state of seats at the beginning of each hand.
This commit is contained in:
@@ -122,6 +122,21 @@ import org.bn.types.*;
|
||||
private Integer smallBlind = null;
|
||||
|
||||
|
||||
@ASN1SequenceOf( name = "seatStates", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 2L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "seatStates", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<NetPlayerState> seatStates = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
@@ -158,6 +173,18 @@ import org.bn.types.*;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<NetPlayerState> getSeatStates () {
|
||||
return this.seatStates;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setSeatStates (java.util.Collection<NetPlayerState> value) {
|
||||
this.seatStates = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
@@ -45,11 +45,6 @@ import org.bn.types.*;
|
||||
private NetPlayerAction playerAction = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerState", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetPlayerState playerState = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "totalPlayerBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AmountOfMoney totalPlayerBet = null;
|
||||
@@ -119,18 +114,6 @@ import org.bn.types.*;
|
||||
|
||||
|
||||
|
||||
public NetPlayerState getPlayerState () {
|
||||
return this.playerState;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerState (NetPlayerState value) {
|
||||
this.playerState = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AmountOfMoney getTotalPlayerBet () {
|
||||
return this.totalPlayerBet;
|
||||
}
|
||||
|
||||
@@ -37,6 +37,8 @@ import org.bn.types.*;
|
||||
timeoutNoDataReceived ,
|
||||
@ASN1EnumItem ( name = "timeoutInactiveGame", hasTag = true , tag = 1 )
|
||||
timeoutInactiveGame ,
|
||||
@ASN1EnumItem ( name = "timeoutKickAfterAutofold", hasTag = true , tag = 2 )
|
||||
timeoutKickAfterAutofold ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
|
||||
Reference in New Issue
Block a user