diff --git a/tests/src/pokerth_protocol/AfkWarningMessage.java b/tests/src/pokerth_protocol/AfkWarningMessage.java deleted file mode 100644 index 7b3afc05..00000000 --- a/tests/src/pokerth_protocol/AfkWarningMessage.java +++ /dev/null @@ -1,95 +0,0 @@ - -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 = "AfkWarningMessage" ) - public class AfkWarningMessage implements IASN1PreparedElement { - - - - @ASN1PreparedElement - @ASN1Sequence ( name = "AfkWarningMessage" , isSet = false ) - public static class AfkWarningMessageSequenceType implements IASN1PreparedElement { - @ASN1Integer( name = "" ) - - @ASN1Element ( name = "remainingTimeouts", isOptional = false , hasTag = false , hasDefaultValue = false ) - - private Long remainingTimeouts = null; - - - - public Long getRemainingTimeouts () { - return this.remainingTimeouts; - } - - - - public void setRemainingTimeouts (Long value) { - this.remainingTimeouts = value; - } - - - - - public void initWithDefaults() { - - } - - public IASN1PreparedElementData getPreparedData() { - return preparedData_AfkWarningMessageSequenceType; - } - - private static IASN1PreparedElementData preparedData_AfkWarningMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AfkWarningMessageSequenceType.class); - - } - - - - @ASN1Element ( name = "AfkWarningMessage", isOptional = false , hasTag = true, tag = 135, - tagClass = TagClass.Application , hasDefaultValue = false ) - - private AfkWarningMessageSequenceType value; - - - - public AfkWarningMessage () { - } - - - - public void setValue(AfkWarningMessageSequenceType value) { - this.value = value; - } - - - - public AfkWarningMessageSequenceType getValue() { - return this.value; - } - - - public void initWithDefaults() { - } - - private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AfkWarningMessage.class); - public IASN1PreparedElementData getPreparedData() { - return preparedData; - } - - - } - \ No newline at end of file diff --git a/tests/src/pokerth_protocol/PlayerResult.java b/tests/src/pokerth_protocol/PlayerResult.java index f39fe887..f00ed2d3 100644 --- a/tests/src/pokerth_protocol/PlayerResult.java +++ b/tests/src/pokerth_protocol/PlayerResult.java @@ -44,12 +44,6 @@ import org.bn.types.*; private java.util.Collection bestHandPosition = null; - @ASN1Integer( name = "" ) - - @ASN1Element ( name = "cardsValue", isOptional = true , hasTag = false , hasDefaultValue = false ) - - private Long cardsValue = null; - @ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false ) @@ -60,6 +54,12 @@ import org.bn.types.*; private AmountOfMoney playerMoney = null; + @ASN1Integer( name = "" ) + + @ASN1Element ( name = "cardsValue", isOptional = true , hasTag = false , hasDefaultValue = false ) + + private Long cardsValue = null; + public NonZeroId getPlayerId () { @@ -110,22 +110,6 @@ import org.bn.types.*; - public Long getCardsValue () { - return this.cardsValue; - } - - - public boolean isCardsValuePresent () { - return this.cardsValue != null; - } - - - public void setCardsValue (Long value) { - this.cardsValue = value; - } - - - public AmountOfMoney getMoneyWon () { return this.moneyWon; } @@ -149,6 +133,22 @@ import org.bn.types.*; } + + public Long getCardsValue () { + return this.cardsValue; + } + + + public boolean isCardsValuePresent () { + return this.cardsValue != null; + } + + + public void setCardsValue (Long value) { + this.cardsValue = value; + } + + public void initWithDefaults() {