2010-11-12 12:13:56 +00:00
|
|
|
|
|
|
|
|
package pokerth_protocol;
|
|
|
|
|
//
|
|
|
|
|
// This file was generated by the BinaryNotes compiler.
|
|
|
|
|
// See http://bnotes.sourceforge.net
|
|
|
|
|
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
import org.bn.*;
|
|
|
|
|
import org.bn.annotations.*;
|
|
|
|
|
import org.bn.annotations.constraints.*;
|
|
|
|
|
import org.bn.coders.*;
|
|
|
|
|
import org.bn.types.*;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1PreparedElement
|
|
|
|
|
@ASN1BoxedType ( name = "PlayersActionDoneMessage" )
|
|
|
|
|
public class PlayersActionDoneMessage implements IASN1PreparedElement {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1PreparedElement
|
|
|
|
|
@ASN1Sequence ( name = "PlayersActionDoneMessage" , isSet = false )
|
|
|
|
|
public static class PlayersActionDoneMessageSequenceType implements IASN1PreparedElement {
|
|
|
|
|
|
|
|
|
|
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
|
|
|
|
private NonZeroId gameId = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
|
|
|
|
private NonZeroId playerId = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1Element ( name = "gameState", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
|
|
|
|
private NetGameState gameState = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1Element ( name = "playerAction", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
|
|
|
|
private NetPlayerAction playerAction = null;
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
|
2010-11-12 12:13:56 +00:00
|
|
|
@ASN1Element ( name = "totalPlayerBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
private AmountOfMoney totalPlayerBet = null;
|
2010-11-12 12:13:56 +00:00
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
|
2010-11-12 12:13:56 +00:00
|
|
|
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
private AmountOfMoney playerMoney = null;
|
2010-11-12 12:13:56 +00:00
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
|
2010-11-12 12:13:56 +00:00
|
|
|
@ASN1Element ( name = "highestSet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
private AmountOfMoney highestSet = null;
|
2010-11-12 12:13:56 +00:00
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
|
2010-11-12 12:13:56 +00:00
|
|
|
@ASN1Element ( name = "minimumRaise", isOptional = false , hasTag = false , hasDefaultValue = false )
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
private AmountOfMoney minimumRaise = null;
|
2010-11-12 12:13:56 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public NonZeroId getGameId () {
|
|
|
|
|
return this.gameId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setGameId (NonZeroId value) {
|
|
|
|
|
this.gameId = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public NonZeroId getPlayerId () {
|
|
|
|
|
return this.playerId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setPlayerId (NonZeroId value) {
|
|
|
|
|
this.playerId = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public NetGameState getGameState () {
|
|
|
|
|
return this.gameState;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setGameState (NetGameState value) {
|
|
|
|
|
this.gameState = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public NetPlayerAction getPlayerAction () {
|
|
|
|
|
return this.playerAction;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setPlayerAction (NetPlayerAction value) {
|
|
|
|
|
this.playerAction = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public AmountOfMoney getTotalPlayerBet () {
|
2010-11-12 12:13:56 +00:00
|
|
|
return this.totalPlayerBet;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public void setTotalPlayerBet (AmountOfMoney value) {
|
2010-11-12 12:13:56 +00:00
|
|
|
this.totalPlayerBet = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public AmountOfMoney getPlayerMoney () {
|
2010-11-12 12:13:56 +00:00
|
|
|
return this.playerMoney;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public void setPlayerMoney (AmountOfMoney value) {
|
2010-11-12 12:13:56 +00:00
|
|
|
this.playerMoney = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public AmountOfMoney getHighestSet () {
|
2010-11-12 12:13:56 +00:00
|
|
|
return this.highestSet;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public void setHighestSet (AmountOfMoney value) {
|
2010-11-12 12:13:56 +00:00
|
|
|
this.highestSet = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public AmountOfMoney getMinimumRaise () {
|
2010-11-12 12:13:56 +00:00
|
|
|
return this.minimumRaise;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-07-17 14:16:13 +00:00
|
|
|
public void setMinimumRaise (AmountOfMoney value) {
|
2010-11-12 12:13:56 +00:00
|
|
|
this.minimumRaise = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void initWithDefaults() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IASN1PreparedElementData getPreparedData() {
|
|
|
|
|
return preparedData_PlayersActionDoneMessageSequenceType;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static IASN1PreparedElementData preparedData_PlayersActionDoneMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(PlayersActionDoneMessageSequenceType.class);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ASN1Element ( name = "PlayersActionDoneMessage", isOptional = false , hasTag = true, tag = 27,
|
|
|
|
|
tagClass = TagClass.Application , hasDefaultValue = false )
|
|
|
|
|
|
|
|
|
|
private PlayersActionDoneMessageSequenceType value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PlayersActionDoneMessage () {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setValue(PlayersActionDoneMessageSequenceType value) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public PlayersActionDoneMessageSequenceType getValue() {
|
|
|
|
|
return this.value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void initWithDefaults() {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayersActionDoneMessage.class);
|
|
|
|
|
public IASN1PreparedElementData getPreparedData() {
|
|
|
|
|
return preparedData;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|