Adding new java based test cases.
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
|
||||
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 = 134,
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
|
||||
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 = "AfterHandShowCardsMessage" )
|
||||
public class AfterHandShowCardsMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AfterHandShowCardsMessage" , isSet = false )
|
||||
public static class AfterHandShowCardsMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerResult", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private PlayerResult playerResult = null;
|
||||
|
||||
|
||||
|
||||
public PlayerResult getPlayerResult () {
|
||||
return this.playerResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerResult (PlayerResult value) {
|
||||
this.playerResult = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AfterHandShowCardsMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AfterHandShowCardsMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AfterHandShowCardsMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AfterHandShowCardsMessage", isOptional = false , hasTag = true, tag = 34,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AfterHandShowCardsMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AfterHandShowCardsMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AfterHandShowCardsMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AfterHandShowCardsMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AfterHandShowCardsMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
|
||||
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 = "AllInShowCardsMessage" )
|
||||
public class AllInShowCardsMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AllInShowCardsMessage" , isSet = false )
|
||||
public static class AllInShowCardsMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1SequenceOf( name = "playersAllIn", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playersAllIn", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<PlayerAllIn> playersAllIn = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<PlayerAllIn> getPlayersAllIn () {
|
||||
return this.playersAllIn;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayersAllIn (java.util.Collection<PlayerAllIn> value) {
|
||||
this.playersAllIn = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AllInShowCardsMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AllInShowCardsMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AllInShowCardsMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AllInShowCardsMessage", isOptional = false , hasTag = true, tag = 31,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AllInShowCardsMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AllInShowCardsMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AllInShowCardsMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AllInShowCardsMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AllInShowCardsMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,223 @@
|
||||
|
||||
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 = "AnnounceMessage" )
|
||||
public class AnnounceMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AnnounceMessage" , isSet = false )
|
||||
public static class AnnounceMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "protocolVersion", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Version protocolVersion = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "latestGameVersion", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Version latestGameVersion = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 65535L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "latestBetaRevision", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer latestBetaRevision = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "ServerTypeEnumType"
|
||||
)
|
||||
public static class ServerTypeEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "serverTypeLAN", hasTag = true , tag = 0 )
|
||||
serverTypeLAN ,
|
||||
@ASN1EnumItem ( name = "serverTypeInternetNoAuth", hasTag = true , tag = 1 )
|
||||
serverTypeInternetNoAuth ,
|
||||
@ASN1EnumItem ( name = "serverTypeInternetAuth", hasTag = true , tag = 2 )
|
||||
serverTypeInternetAuth ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ServerTypeEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "serverType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private ServerTypeEnumType serverType = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 65535L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numPlayersOnServer", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numPlayersOnServer = null;
|
||||
|
||||
|
||||
|
||||
public Version getProtocolVersion () {
|
||||
return this.protocolVersion;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setProtocolVersion (Version value) {
|
||||
this.protocolVersion = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Version getLatestGameVersion () {
|
||||
return this.latestGameVersion;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setLatestGameVersion (Version value) {
|
||||
this.latestGameVersion = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getLatestBetaRevision () {
|
||||
return this.latestBetaRevision;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setLatestBetaRevision (Integer value) {
|
||||
this.latestBetaRevision = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ServerTypeEnumType getServerType () {
|
||||
return this.serverType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setServerType (ServerTypeEnumType value) {
|
||||
this.serverType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumPlayersOnServer () {
|
||||
return this.numPlayersOnServer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumPlayersOnServer (Integer value) {
|
||||
this.numPlayersOnServer = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AnnounceMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AnnounceMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AnnounceMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AnnounceMessage", isOptional = false , hasTag = true, tag = 0,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AnnounceMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AnnounceMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AnnounceMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AnnounceMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AnnounceMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
|
||||
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 = "AskKickDeniedMessage" )
|
||||
public class AskKickDeniedMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AskKickDeniedMessage" , isSet = false )
|
||||
public static class AskKickDeniedMessageSequenceType 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;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "KickDeniedReasonEnumType"
|
||||
)
|
||||
public static class KickDeniedReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "kickDeniedInvalidGameState", hasTag = true , tag = 0 )
|
||||
kickDeniedInvalidGameState ,
|
||||
@ASN1EnumItem ( name = "kickDeniedNotPossible", hasTag = true , tag = 1 )
|
||||
kickDeniedNotPossible ,
|
||||
@ASN1EnumItem ( name = "kickDeniedTryAgainLater", hasTag = true , tag = 2 )
|
||||
kickDeniedTryAgainLater ,
|
||||
@ASN1EnumItem ( name = "kickDeniedAlreadyInProgress", hasTag = true , tag = 3 )
|
||||
kickDeniedAlreadyInProgress ,
|
||||
@ASN1EnumItem ( name = "kickDeniedInvalidPlayerId", hasTag = true , tag = 4 )
|
||||
kickDeniedInvalidPlayerId ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(KickDeniedReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "kickDeniedReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private KickDeniedReasonEnumType kickDeniedReason = null;
|
||||
|
||||
|
||||
|
||||
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 KickDeniedReasonEnumType getKickDeniedReason () {
|
||||
return this.kickDeniedReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setKickDeniedReason (KickDeniedReasonEnumType value) {
|
||||
this.kickDeniedReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AskKickDeniedMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AskKickDeniedMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AskKickDeniedMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AskKickDeniedMessage", isOptional = false , hasTag = true, tag = 65,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AskKickDeniedMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AskKickDeniedMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AskKickDeniedMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AskKickDeniedMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AskKickDeniedMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "AskKickPlayerMessage" )
|
||||
public class AskKickPlayerMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AskKickPlayerMessage" , isSet = false )
|
||||
public static class AskKickPlayerMessageSequenceType 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;
|
||||
|
||||
|
||||
|
||||
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 void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AskKickPlayerMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AskKickPlayerMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AskKickPlayerMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AskKickPlayerMessage", isOptional = false , hasTag = true, tag = 64,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AskKickPlayerMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AskKickPlayerMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AskKickPlayerMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AskKickPlayerMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AskKickPlayerMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AuthClientResponse", isSet = false )
|
||||
public class AuthClientResponse implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "clientResponse", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] clientResponse = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getClientResponse () {
|
||||
return this.clientResponse;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setClientResponse (byte[] value) {
|
||||
this.clientResponse = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthClientResponse.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,164 @@
|
||||
|
||||
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 = "AuthMessage" )
|
||||
public class AuthMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "AuthMessage" )
|
||||
public static class AuthMessageChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "authServerChallenge", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private AuthServerChallenge authServerChallenge = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "authClientResponse", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private AuthClientResponse authClientResponse = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "authServerVerification", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private AuthServerVerification authServerVerification = null;
|
||||
|
||||
|
||||
|
||||
public AuthServerChallenge getAuthServerChallenge () {
|
||||
return this.authServerChallenge;
|
||||
}
|
||||
|
||||
public boolean isAuthServerChallengeSelected () {
|
||||
return this.authServerChallenge != null;
|
||||
}
|
||||
|
||||
private void setAuthServerChallenge (AuthServerChallenge value) {
|
||||
this.authServerChallenge = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAuthServerChallenge (AuthServerChallenge value) {
|
||||
this.authServerChallenge = value;
|
||||
|
||||
setAuthClientResponse(null);
|
||||
|
||||
setAuthServerVerification(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public AuthClientResponse getAuthClientResponse () {
|
||||
return this.authClientResponse;
|
||||
}
|
||||
|
||||
public boolean isAuthClientResponseSelected () {
|
||||
return this.authClientResponse != null;
|
||||
}
|
||||
|
||||
private void setAuthClientResponse (AuthClientResponse value) {
|
||||
this.authClientResponse = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAuthClientResponse (AuthClientResponse value) {
|
||||
this.authClientResponse = value;
|
||||
|
||||
setAuthServerChallenge(null);
|
||||
|
||||
setAuthServerVerification(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public AuthServerVerification getAuthServerVerification () {
|
||||
return this.authServerVerification;
|
||||
}
|
||||
|
||||
public boolean isAuthServerVerificationSelected () {
|
||||
return this.authServerVerification != null;
|
||||
}
|
||||
|
||||
private void setAuthServerVerification (AuthServerVerification value) {
|
||||
this.authServerVerification = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAuthServerVerification (AuthServerVerification value) {
|
||||
this.authServerVerification = value;
|
||||
|
||||
setAuthServerChallenge(null);
|
||||
|
||||
setAuthClientResponse(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AuthMessageChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AuthMessageChoiceType = CoderFactory.getInstance().newPreparedElementData(AuthMessageChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "AuthMessage", isOptional = false , hasTag = true, tag = 2,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AuthMessageChoiceType value;
|
||||
|
||||
|
||||
|
||||
public AuthMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AuthMessageChoiceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AuthMessageChoiceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AuthServerChallenge", isSet = false )
|
||||
public class AuthServerChallenge implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "serverChallenge", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] serverChallenge = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getServerChallenge () {
|
||||
return this.serverChallenge;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setServerChallenge (byte[] value) {
|
||||
this.serverChallenge = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthServerChallenge.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AuthServerVerification", isSet = false )
|
||||
public class AuthServerVerification implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "serverVerification", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] serverVerification = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getServerVerification () {
|
||||
return this.serverVerification;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setServerVerification (byte[] value) {
|
||||
this.serverVerification = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthServerVerification.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AuthenticatedLogin", isSet = false )
|
||||
public class AuthenticatedLogin implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "clientUserData", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] clientUserData = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatar", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarHash avatar = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getClientUserData () {
|
||||
return this.clientUserData;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setClientUserData (byte[] value) {
|
||||
this.clientUserData = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarHash getAvatar () {
|
||||
return this.avatar;
|
||||
}
|
||||
|
||||
|
||||
public boolean isAvatarPresent () {
|
||||
return this.avatar != null;
|
||||
}
|
||||
|
||||
|
||||
public void setAvatar (AvatarHash value) {
|
||||
this.avatar = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AuthenticatedLogin.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AvatarData", isSet = false )
|
||||
public class AvatarData implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 256L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "avatarBlock", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] avatarBlock = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getAvatarBlock () {
|
||||
return this.avatarBlock;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatarBlock (byte[] value) {
|
||||
this.avatarBlock = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarData.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AvatarEnd", isSet = false )
|
||||
public class AvatarEnd implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarEnd.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,61 @@
|
||||
|
||||
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 = "AvatarHash" )
|
||||
public class AvatarHash implements IASN1PreparedElement {
|
||||
|
||||
@ASN1OctetString( name = "AvatarHash" )
|
||||
|
||||
@ASN1SizeConstraint ( max = 16L )
|
||||
|
||||
private byte[] value = null;
|
||||
|
||||
public AvatarHash() {
|
||||
}
|
||||
|
||||
public AvatarHash(byte[] value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public AvatarHash(BitString value) {
|
||||
setValue(value);
|
||||
}
|
||||
|
||||
public void setValue(byte[] value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(BitString btStr) {
|
||||
this.value = btStr.getValue();
|
||||
}
|
||||
|
||||
public byte[] getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarHash.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "AvatarHeader", isSet = false )
|
||||
public class AvatarHeader implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "avatarType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetAvatarType avatarType = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 32L,
|
||||
|
||||
max = 30720L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "avatarSize", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer avatarSize = null;
|
||||
|
||||
|
||||
|
||||
public NetAvatarType getAvatarType () {
|
||||
return this.avatarType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatarType (NetAvatarType value) {
|
||||
this.avatarType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getAvatarSize () {
|
||||
return this.avatarSize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatarSize (Integer value) {
|
||||
this.avatarSize = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarHeader.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,257 @@
|
||||
|
||||
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 = "AvatarReplyMessage" )
|
||||
public class AvatarReplyMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AvatarReplyMessage" , isSet = false )
|
||||
public static class AvatarReplyMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "requestId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId requestId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "avatarResult" )
|
||||
public static class AvatarResultChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "avatarHeader", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private AvatarHeader avatarHeader = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatarData", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private AvatarData avatarData = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatarEnd", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private AvatarEnd avatarEnd = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "unknownAvatar", isOptional = false , hasTag = true, tag = 3 , hasDefaultValue = false )
|
||||
|
||||
private UnknownAvatar unknownAvatar = null;
|
||||
|
||||
|
||||
|
||||
public AvatarHeader getAvatarHeader () {
|
||||
return this.avatarHeader;
|
||||
}
|
||||
|
||||
public boolean isAvatarHeaderSelected () {
|
||||
return this.avatarHeader != null;
|
||||
}
|
||||
|
||||
private void setAvatarHeader (AvatarHeader value) {
|
||||
this.avatarHeader = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAvatarHeader (AvatarHeader value) {
|
||||
this.avatarHeader = value;
|
||||
|
||||
setAvatarData(null);
|
||||
|
||||
setAvatarEnd(null);
|
||||
|
||||
setUnknownAvatar(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public AvatarData getAvatarData () {
|
||||
return this.avatarData;
|
||||
}
|
||||
|
||||
public boolean isAvatarDataSelected () {
|
||||
return this.avatarData != null;
|
||||
}
|
||||
|
||||
private void setAvatarData (AvatarData value) {
|
||||
this.avatarData = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAvatarData (AvatarData value) {
|
||||
this.avatarData = value;
|
||||
|
||||
setAvatarHeader(null);
|
||||
|
||||
setAvatarEnd(null);
|
||||
|
||||
setUnknownAvatar(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public AvatarEnd getAvatarEnd () {
|
||||
return this.avatarEnd;
|
||||
}
|
||||
|
||||
public boolean isAvatarEndSelected () {
|
||||
return this.avatarEnd != null;
|
||||
}
|
||||
|
||||
private void setAvatarEnd (AvatarEnd value) {
|
||||
this.avatarEnd = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAvatarEnd (AvatarEnd value) {
|
||||
this.avatarEnd = value;
|
||||
|
||||
setAvatarHeader(null);
|
||||
|
||||
setAvatarData(null);
|
||||
|
||||
setUnknownAvatar(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public UnknownAvatar getUnknownAvatar () {
|
||||
return this.unknownAvatar;
|
||||
}
|
||||
|
||||
public boolean isUnknownAvatarSelected () {
|
||||
return this.unknownAvatar != null;
|
||||
}
|
||||
|
||||
private void setUnknownAvatar (UnknownAvatar value) {
|
||||
this.unknownAvatar = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectUnknownAvatar (UnknownAvatar value) {
|
||||
this.unknownAvatar = value;
|
||||
|
||||
setAvatarHeader(null);
|
||||
|
||||
setAvatarData(null);
|
||||
|
||||
setAvatarEnd(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AvatarResultChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AvatarResultChoiceType = CoderFactory.getInstance().newPreparedElementData(AvatarResultChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatarResult", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarResultChoiceType avatarResult = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getRequestId () {
|
||||
return this.requestId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRequestId (NonZeroId value) {
|
||||
this.requestId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarResultChoiceType getAvatarResult () {
|
||||
return this.avatarResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatarResult (AvatarResultChoiceType value) {
|
||||
this.avatarResult = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AvatarReplyMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AvatarReplyMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AvatarReplyMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AvatarReplyMessage", isOptional = false , hasTag = true, tag = 5,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AvatarReplyMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AvatarReplyMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AvatarReplyMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarReplyMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarReplyMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "AvatarRequestMessage" )
|
||||
public class AvatarRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "AvatarRequestMessage" , isSet = false )
|
||||
public static class AvatarRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "requestId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId requestId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatar", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarHash avatar = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getRequestId () {
|
||||
return this.requestId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRequestId (NonZeroId value) {
|
||||
this.requestId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarHash getAvatar () {
|
||||
return this.avatar;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatar (AvatarHash value) {
|
||||
this.avatar = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AvatarRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AvatarRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(AvatarRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "AvatarRequestMessage", isOptional = false , hasTag = true, tag = 4,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private AvatarRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public AvatarRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(AvatarRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(AvatarRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
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 = "Card" )
|
||||
public class Card implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "Card" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 51L
|
||||
|
||||
)
|
||||
|
||||
private Integer value;
|
||||
|
||||
public Card() {
|
||||
}
|
||||
|
||||
public Card(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(Card.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,267 @@
|
||||
|
||||
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 = "ChatMessage" )
|
||||
public class ChatMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "ChatMessage" , isSet = false )
|
||||
public static class ChatMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "chatType" )
|
||||
public static class ChatTypeChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "chatTypeLobby", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private ChatTypeLobby chatTypeLobby = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatTypeGame", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private ChatTypeGame chatTypeGame = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatTypeBot", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private ChatTypeBot chatTypeBot = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatTypeBroadcast", isOptional = false , hasTag = true, tag = 3 , hasDefaultValue = false )
|
||||
|
||||
private ChatTypeBroadcast chatTypeBroadcast = null;
|
||||
|
||||
|
||||
|
||||
public ChatTypeLobby getChatTypeLobby () {
|
||||
return this.chatTypeLobby;
|
||||
}
|
||||
|
||||
public boolean isChatTypeLobbySelected () {
|
||||
return this.chatTypeLobby != null;
|
||||
}
|
||||
|
||||
private void setChatTypeLobby (ChatTypeLobby value) {
|
||||
this.chatTypeLobby = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatTypeLobby (ChatTypeLobby value) {
|
||||
this.chatTypeLobby = value;
|
||||
|
||||
setChatTypeGame(null);
|
||||
|
||||
setChatTypeBot(null);
|
||||
|
||||
setChatTypeBroadcast(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ChatTypeGame getChatTypeGame () {
|
||||
return this.chatTypeGame;
|
||||
}
|
||||
|
||||
public boolean isChatTypeGameSelected () {
|
||||
return this.chatTypeGame != null;
|
||||
}
|
||||
|
||||
private void setChatTypeGame (ChatTypeGame value) {
|
||||
this.chatTypeGame = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatTypeGame (ChatTypeGame value) {
|
||||
this.chatTypeGame = value;
|
||||
|
||||
setChatTypeLobby(null);
|
||||
|
||||
setChatTypeBot(null);
|
||||
|
||||
setChatTypeBroadcast(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ChatTypeBot getChatTypeBot () {
|
||||
return this.chatTypeBot;
|
||||
}
|
||||
|
||||
public boolean isChatTypeBotSelected () {
|
||||
return this.chatTypeBot != null;
|
||||
}
|
||||
|
||||
private void setChatTypeBot (ChatTypeBot value) {
|
||||
this.chatTypeBot = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatTypeBot (ChatTypeBot value) {
|
||||
this.chatTypeBot = value;
|
||||
|
||||
setChatTypeLobby(null);
|
||||
|
||||
setChatTypeGame(null);
|
||||
|
||||
setChatTypeBroadcast(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ChatTypeBroadcast getChatTypeBroadcast () {
|
||||
return this.chatTypeBroadcast;
|
||||
}
|
||||
|
||||
public boolean isChatTypeBroadcastSelected () {
|
||||
return this.chatTypeBroadcast != null;
|
||||
}
|
||||
|
||||
private void setChatTypeBroadcast (ChatTypeBroadcast value) {
|
||||
this.chatTypeBroadcast = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatTypeBroadcast (ChatTypeBroadcast value) {
|
||||
this.chatTypeBroadcast = value;
|
||||
|
||||
setChatTypeLobby(null);
|
||||
|
||||
setChatTypeGame(null);
|
||||
|
||||
setChatTypeBot(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ChatTypeChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ChatTypeChoiceType = CoderFactory.getInstance().newPreparedElementData(ChatTypeChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private ChatTypeChoiceType chatType = null;
|
||||
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 128L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "chatText", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String chatText = null;
|
||||
|
||||
|
||||
|
||||
public ChatTypeChoiceType getChatType () {
|
||||
return this.chatType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setChatType (ChatTypeChoiceType value) {
|
||||
this.chatType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getChatText () {
|
||||
return this.chatText;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setChatText (String value) {
|
||||
this.chatText = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ChatMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ChatMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(ChatMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "ChatMessage", isOptional = false , hasTag = true, tag = 130,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private ChatMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public ChatMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(ChatMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ChatMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,195 @@
|
||||
|
||||
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 = "ChatRequestMessage" )
|
||||
public class ChatRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "ChatRequestMessage" , isSet = false )
|
||||
public static class ChatRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "chatRequestType" )
|
||||
public static class ChatRequestTypeChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "chatRequestTypeLobby", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private ChatRequestTypeLobby chatRequestTypeLobby = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatRequestTypeGame", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private ChatRequestTypeGame chatRequestTypeGame = null;
|
||||
|
||||
|
||||
|
||||
public ChatRequestTypeLobby getChatRequestTypeLobby () {
|
||||
return this.chatRequestTypeLobby;
|
||||
}
|
||||
|
||||
public boolean isChatRequestTypeLobbySelected () {
|
||||
return this.chatRequestTypeLobby != null;
|
||||
}
|
||||
|
||||
private void setChatRequestTypeLobby (ChatRequestTypeLobby value) {
|
||||
this.chatRequestTypeLobby = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatRequestTypeLobby (ChatRequestTypeLobby value) {
|
||||
this.chatRequestTypeLobby = value;
|
||||
|
||||
setChatRequestTypeGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public ChatRequestTypeGame getChatRequestTypeGame () {
|
||||
return this.chatRequestTypeGame;
|
||||
}
|
||||
|
||||
public boolean isChatRequestTypeGameSelected () {
|
||||
return this.chatRequestTypeGame != null;
|
||||
}
|
||||
|
||||
private void setChatRequestTypeGame (ChatRequestTypeGame value) {
|
||||
this.chatRequestTypeGame = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectChatRequestTypeGame (ChatRequestTypeGame value) {
|
||||
this.chatRequestTypeGame = value;
|
||||
|
||||
setChatRequestTypeLobby(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ChatRequestTypeChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ChatRequestTypeChoiceType = CoderFactory.getInstance().newPreparedElementData(ChatRequestTypeChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "chatRequestType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private ChatRequestTypeChoiceType chatRequestType = null;
|
||||
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 128L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "chatText", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String chatText = null;
|
||||
|
||||
|
||||
|
||||
public ChatRequestTypeChoiceType getChatRequestType () {
|
||||
return this.chatRequestType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setChatRequestType (ChatRequestTypeChoiceType value) {
|
||||
this.chatRequestType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getChatText () {
|
||||
return this.chatText;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setChatText (String value) {
|
||||
this.chatText = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ChatRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ChatRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(ChatRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "ChatRequestMessage", isOptional = false , hasTag = true, tag = 129,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private ChatRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public ChatRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(ChatRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ChatRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatRequestTypeGame", isSet = false )
|
||||
public class ChatRequestTypeGame implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatRequestTypeGame.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatRequestTypeLobby", isSet = false )
|
||||
public class ChatRequestTypeLobby implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatRequestTypeLobby.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatTypeBot", isSet = false )
|
||||
public class ChatTypeBot implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatTypeBot.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatTypeBroadcast", isSet = false )
|
||||
public class ChatTypeBroadcast implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatTypeBroadcast.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatTypeGame", isSet = false )
|
||||
public class ChatTypeGame 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;
|
||||
|
||||
|
||||
|
||||
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 void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatTypeGame.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "ChatTypeLobby", isSet = false )
|
||||
public class ChatTypeLobby implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ChatTypeLobby.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,145 @@
|
||||
|
||||
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 = "DealFlopCardsMessage" )
|
||||
public class DealFlopCardsMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "DealFlopCardsMessage" , isSet = false )
|
||||
public static class DealFlopCardsMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "flopCard1", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card flopCard1 = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "flopCard2", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card flopCard2 = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "flopCard3", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card flopCard3 = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getFlopCard1 () {
|
||||
return this.flopCard1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setFlopCard1 (Card value) {
|
||||
this.flopCard1 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getFlopCard2 () {
|
||||
return this.flopCard2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setFlopCard2 (Card value) {
|
||||
this.flopCard2 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getFlopCard3 () {
|
||||
return this.flopCard3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setFlopCard3 (Card value) {
|
||||
this.flopCard3 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_DealFlopCardsMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_DealFlopCardsMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(DealFlopCardsMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "DealFlopCardsMessage", isOptional = false , hasTag = true, tag = 28,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private DealFlopCardsMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public DealFlopCardsMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(DealFlopCardsMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public DealFlopCardsMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(DealFlopCardsMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "DealRiverCardMessage" )
|
||||
public class DealRiverCardMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "DealRiverCardMessage" , isSet = false )
|
||||
public static class DealRiverCardMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "riverCard", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card riverCard = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getRiverCard () {
|
||||
return this.riverCard;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRiverCard (Card value) {
|
||||
this.riverCard = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_DealRiverCardMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_DealRiverCardMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(DealRiverCardMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "DealRiverCardMessage", isOptional = false , hasTag = true, tag = 30,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private DealRiverCardMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public DealRiverCardMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(DealRiverCardMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public DealRiverCardMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(DealRiverCardMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "DealTurnCardMessage" )
|
||||
public class DealTurnCardMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "DealTurnCardMessage" , isSet = false )
|
||||
public static class DealTurnCardMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "turnCard", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card turnCard = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getTurnCard () {
|
||||
return this.turnCard;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setTurnCard (Card value) {
|
||||
this.turnCard = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_DealTurnCardMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_DealTurnCardMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(DealTurnCardMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "DealTurnCardMessage", isOptional = false , hasTag = true, tag = 29,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private DealTurnCardMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public DealTurnCardMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(DealTurnCardMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public DealTurnCardMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(DealTurnCardMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
|
||||
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 = "DialogMessage" )
|
||||
public class DialogMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "DialogMessage" , isSet = false )
|
||||
public static class DialogMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 128L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "notificationText", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String notificationText = null;
|
||||
|
||||
|
||||
|
||||
public String getNotificationText () {
|
||||
return this.notificationText;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNotificationText (String value) {
|
||||
this.notificationText = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_DialogMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_DialogMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(DialogMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "DialogMessage", isOptional = false , hasTag = true, tag = 131,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private DialogMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public DialogMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(DialogMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public DialogMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(DialogMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "EncryptedCards", isSet = false )
|
||||
public class EncryptedCards implements IASN1PreparedElement {
|
||||
@ASN1OctetString( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 16L,
|
||||
|
||||
max = 64L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "cardData", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private byte[] cardData = null;
|
||||
|
||||
|
||||
|
||||
public byte[] getCardData () {
|
||||
return this.cardData;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setCardData (byte[] value) {
|
||||
this.cardData = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EncryptedCards.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,243 @@
|
||||
|
||||
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 = "EndKickPetitionMessage" )
|
||||
public class EndKickPetitionMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "EndKickPetitionMessage" , isSet = false )
|
||||
public static class EndKickPetitionMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "petitionId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId petitionId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesAgainstKicking", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesAgainstKicking = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesInFavourOfKicking", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesInFavourOfKicking = null;
|
||||
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "resultPlayerKicked", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean resultPlayerKicked = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "PetitionEndReasonEnumType"
|
||||
)
|
||||
public static class PetitionEndReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "petitionEndEnoughVotes", hasTag = true , tag = 0 )
|
||||
petitionEndEnoughVotes ,
|
||||
@ASN1EnumItem ( name = "petitionEndTooFewPlayers", hasTag = true , tag = 1 )
|
||||
petitionEndTooFewPlayers ,
|
||||
@ASN1EnumItem ( name = "petitionEndPlayerLeft", hasTag = true , tag = 2 )
|
||||
petitionEndPlayerLeft ,
|
||||
@ASN1EnumItem ( name = "petitionEndTimeout", hasTag = true , tag = 3 )
|
||||
petitionEndTimeout ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PetitionEndReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "petitionEndReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private PetitionEndReasonEnumType petitionEndReason = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPetitionId () {
|
||||
return this.petitionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPetitionId (NonZeroId value) {
|
||||
this.petitionId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesAgainstKicking () {
|
||||
return this.numVotesAgainstKicking;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesAgainstKicking (Integer value) {
|
||||
this.numVotesAgainstKicking = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesInFavourOfKicking () {
|
||||
return this.numVotesInFavourOfKicking;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesInFavourOfKicking (Integer value) {
|
||||
this.numVotesInFavourOfKicking = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getResultPlayerKicked () {
|
||||
return this.resultPlayerKicked;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setResultPlayerKicked (Boolean value) {
|
||||
this.resultPlayerKicked = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PetitionEndReasonEnumType getPetitionEndReason () {
|
||||
return this.petitionEndReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPetitionEndReason (PetitionEndReasonEnumType value) {
|
||||
this.petitionEndReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_EndKickPetitionMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_EndKickPetitionMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(EndKickPetitionMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "EndKickPetitionMessage", isOptional = false , hasTag = true, tag = 70,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private EndKickPetitionMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public EndKickPetitionMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(EndKickPetitionMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EndKickPetitionMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndKickPetitionMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "EndOfGameMessage" )
|
||||
public class EndOfGameMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "EndOfGameMessage" , isSet = false )
|
||||
public static class EndOfGameMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "winnerPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId winnerPlayerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getWinnerPlayerId () {
|
||||
return this.winnerPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setWinnerPlayerId (NonZeroId value) {
|
||||
this.winnerPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_EndOfGameMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_EndOfGameMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(EndOfGameMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "EndOfGameMessage", isOptional = false , hasTag = true, tag = 35,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private EndOfGameMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public EndOfGameMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(EndOfGameMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EndOfGameMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndOfGameMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,102 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "EndOfHandHideCards", isSet = false )
|
||||
public class EndOfHandHideCards implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer moneyWon = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMoneyWon () {
|
||||
return this.moneyWon;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMoneyWon (Integer value) {
|
||||
this.moneyWon = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndOfHandHideCards.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
|
||||
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 = "EndOfHandMessage" )
|
||||
public class EndOfHandMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "EndOfHandMessage" , isSet = false )
|
||||
public static class EndOfHandMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "endOfHandType" )
|
||||
public static class EndOfHandTypeChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "endOfHandShowCards", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private EndOfHandShowCards endOfHandShowCards = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "endOfHandHideCards", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private EndOfHandHideCards endOfHandHideCards = null;
|
||||
|
||||
|
||||
|
||||
public EndOfHandShowCards getEndOfHandShowCards () {
|
||||
return this.endOfHandShowCards;
|
||||
}
|
||||
|
||||
public boolean isEndOfHandShowCardsSelected () {
|
||||
return this.endOfHandShowCards != null;
|
||||
}
|
||||
|
||||
private void setEndOfHandShowCards (EndOfHandShowCards value) {
|
||||
this.endOfHandShowCards = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectEndOfHandShowCards (EndOfHandShowCards value) {
|
||||
this.endOfHandShowCards = value;
|
||||
|
||||
setEndOfHandHideCards(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public EndOfHandHideCards getEndOfHandHideCards () {
|
||||
return this.endOfHandHideCards;
|
||||
}
|
||||
|
||||
public boolean isEndOfHandHideCardsSelected () {
|
||||
return this.endOfHandHideCards != null;
|
||||
}
|
||||
|
||||
private void setEndOfHandHideCards (EndOfHandHideCards value) {
|
||||
this.endOfHandHideCards = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectEndOfHandHideCards (EndOfHandHideCards value) {
|
||||
this.endOfHandHideCards = value;
|
||||
|
||||
setEndOfHandShowCards(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_EndOfHandTypeChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_EndOfHandTypeChoiceType = CoderFactory.getInstance().newPreparedElementData(EndOfHandTypeChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "endOfHandType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private EndOfHandTypeChoiceType endOfHandType = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EndOfHandTypeChoiceType getEndOfHandType () {
|
||||
return this.endOfHandType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setEndOfHandType (EndOfHandTypeChoiceType value) {
|
||||
this.endOfHandType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_EndOfHandMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_EndOfHandMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(EndOfHandMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "EndOfHandMessage", isOptional = false , hasTag = true, tag = 32,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private EndOfHandMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public EndOfHandMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(EndOfHandMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EndOfHandMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndOfHandMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "EndOfHandShowCards", isSet = false )
|
||||
public class EndOfHandShowCards implements IASN1PreparedElement {
|
||||
|
||||
@ASN1SequenceOf( name = "playerResults", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerResults", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<PlayerResult> playerResults = null;
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<PlayerResult> getPlayerResults () {
|
||||
return this.playerResults;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerResults (java.util.Collection<PlayerResult> value) {
|
||||
this.playerResults = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndOfHandShowCards.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,163 @@
|
||||
|
||||
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 = "ErrorMessage" )
|
||||
public class ErrorMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "ErrorMessage" , isSet = false )
|
||||
public static class ErrorMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "ErrorReasonEnumType"
|
||||
)
|
||||
public static class ErrorReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "errorReserved", hasTag = true , tag = 0 )
|
||||
errorReserved ,
|
||||
@ASN1EnumItem ( name = "errorInitVersionNotSupported", hasTag = true , tag = 1 )
|
||||
errorInitVersionNotSupported ,
|
||||
@ASN1EnumItem ( name = "errorInitServerFull", hasTag = true , tag = 2 )
|
||||
errorInitServerFull ,
|
||||
@ASN1EnumItem ( name = "errorInitAuthFailure", hasTag = true , tag = 3 )
|
||||
errorInitAuthFailure ,
|
||||
@ASN1EnumItem ( name = "errorInitPlayerNameInUse", hasTag = true , tag = 4 )
|
||||
errorInitPlayerNameInUse ,
|
||||
@ASN1EnumItem ( name = "errorInitInvalidPlayerName", hasTag = true , tag = 5 )
|
||||
errorInitInvalidPlayerName ,
|
||||
@ASN1EnumItem ( name = "errorInitServerMaintenance", hasTag = true , tag = 6 )
|
||||
errorInitServerMaintenance ,
|
||||
@ASN1EnumItem ( name = "errorInitBlocked", hasTag = true , tag = 7 )
|
||||
errorInitBlocked ,
|
||||
@ASN1EnumItem ( name = "errorAvatarTooLarge", hasTag = true , tag = 8 )
|
||||
errorAvatarTooLarge ,
|
||||
@ASN1EnumItem ( name = "errorInvalidPacket", hasTag = true , tag = 256 )
|
||||
errorInvalidPacket ,
|
||||
@ASN1EnumItem ( name = "errorInvalidState", hasTag = true , tag = 257 )
|
||||
errorInvalidState ,
|
||||
@ASN1EnumItem ( name = "errorKickedFromServer", hasTag = true , tag = 258 )
|
||||
errorKickedFromServer ,
|
||||
@ASN1EnumItem ( name = "errorBannedFromServer", hasTag = true , tag = 259 )
|
||||
errorBannedFromServer ,
|
||||
@ASN1EnumItem ( name = "errorBlockedByServer", hasTag = true , tag = 260 )
|
||||
errorBlockedByServer ,
|
||||
@ASN1EnumItem ( name = "errorSessionTimeout", hasTag = true , tag = 261 )
|
||||
errorSessionTimeout
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ErrorReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "errorReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private ErrorReasonEnumType errorReason = null;
|
||||
|
||||
|
||||
|
||||
public ErrorReasonEnumType getErrorReason () {
|
||||
return this.errorReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setErrorReason (ErrorReasonEnumType value) {
|
||||
this.errorReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ErrorMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ErrorMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(ErrorMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "ErrorMessage", isOptional = false , hasTag = true, tag = 255,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private ErrorMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public ErrorMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(ErrorMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ErrorMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ErrorMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameAdminChanged", isSet = false )
|
||||
public class GameAdminChanged implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "newAdminPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId newAdminPlayerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getNewAdminPlayerId () {
|
||||
return this.newAdminPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNewAdminPlayerId (NonZeroId value) {
|
||||
this.newAdminPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameAdminChanged.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameListAdminChanged", isSet = false )
|
||||
public class GameListAdminChanged implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "newAdminPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId newAdminPlayerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getNewAdminPlayerId () {
|
||||
return this.newAdminPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNewAdminPlayerId (NonZeroId value) {
|
||||
this.newAdminPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListAdminChanged.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,299 @@
|
||||
|
||||
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 = "GameListMessage" )
|
||||
public class GameListMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "GameListMessage" , isSet = false )
|
||||
public static class GameListMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "gameListNotification" )
|
||||
public static class GameListNotificationChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameListNew", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private GameListNew gameListNew = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameListUpdate", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private GameListUpdate gameListUpdate = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameListPlayerJoined", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private GameListPlayerJoined gameListPlayerJoined = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameListPlayerLeft", isOptional = false , hasTag = true, tag = 3 , hasDefaultValue = false )
|
||||
|
||||
private GameListPlayerLeft gameListPlayerLeft = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameListAdminChanged", isOptional = false , hasTag = true, tag = 4 , hasDefaultValue = false )
|
||||
|
||||
private GameListAdminChanged gameListAdminChanged = null;
|
||||
|
||||
|
||||
|
||||
public GameListNew getGameListNew () {
|
||||
return this.gameListNew;
|
||||
}
|
||||
|
||||
public boolean isGameListNewSelected () {
|
||||
return this.gameListNew != null;
|
||||
}
|
||||
|
||||
private void setGameListNew (GameListNew value) {
|
||||
this.gameListNew = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameListNew (GameListNew value) {
|
||||
this.gameListNew = value;
|
||||
|
||||
setGameListUpdate(null);
|
||||
|
||||
setGameListPlayerJoined(null);
|
||||
|
||||
setGameListPlayerLeft(null);
|
||||
|
||||
setGameListAdminChanged(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GameListUpdate getGameListUpdate () {
|
||||
return this.gameListUpdate;
|
||||
}
|
||||
|
||||
public boolean isGameListUpdateSelected () {
|
||||
return this.gameListUpdate != null;
|
||||
}
|
||||
|
||||
private void setGameListUpdate (GameListUpdate value) {
|
||||
this.gameListUpdate = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameListUpdate (GameListUpdate value) {
|
||||
this.gameListUpdate = value;
|
||||
|
||||
setGameListNew(null);
|
||||
|
||||
setGameListPlayerJoined(null);
|
||||
|
||||
setGameListPlayerLeft(null);
|
||||
|
||||
setGameListAdminChanged(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GameListPlayerJoined getGameListPlayerJoined () {
|
||||
return this.gameListPlayerJoined;
|
||||
}
|
||||
|
||||
public boolean isGameListPlayerJoinedSelected () {
|
||||
return this.gameListPlayerJoined != null;
|
||||
}
|
||||
|
||||
private void setGameListPlayerJoined (GameListPlayerJoined value) {
|
||||
this.gameListPlayerJoined = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameListPlayerJoined (GameListPlayerJoined value) {
|
||||
this.gameListPlayerJoined = value;
|
||||
|
||||
setGameListNew(null);
|
||||
|
||||
setGameListUpdate(null);
|
||||
|
||||
setGameListPlayerLeft(null);
|
||||
|
||||
setGameListAdminChanged(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GameListPlayerLeft getGameListPlayerLeft () {
|
||||
return this.gameListPlayerLeft;
|
||||
}
|
||||
|
||||
public boolean isGameListPlayerLeftSelected () {
|
||||
return this.gameListPlayerLeft != null;
|
||||
}
|
||||
|
||||
private void setGameListPlayerLeft (GameListPlayerLeft value) {
|
||||
this.gameListPlayerLeft = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameListPlayerLeft (GameListPlayerLeft value) {
|
||||
this.gameListPlayerLeft = value;
|
||||
|
||||
setGameListNew(null);
|
||||
|
||||
setGameListUpdate(null);
|
||||
|
||||
setGameListPlayerJoined(null);
|
||||
|
||||
setGameListAdminChanged(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GameListAdminChanged getGameListAdminChanged () {
|
||||
return this.gameListAdminChanged;
|
||||
}
|
||||
|
||||
public boolean isGameListAdminChangedSelected () {
|
||||
return this.gameListAdminChanged != null;
|
||||
}
|
||||
|
||||
private void setGameListAdminChanged (GameListAdminChanged value) {
|
||||
this.gameListAdminChanged = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameListAdminChanged (GameListAdminChanged value) {
|
||||
this.gameListAdminChanged = value;
|
||||
|
||||
setGameListNew(null);
|
||||
|
||||
setGameListUpdate(null);
|
||||
|
||||
setGameListPlayerJoined(null);
|
||||
|
||||
setGameListPlayerLeft(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_GameListNotificationChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_GameListNotificationChoiceType = CoderFactory.getInstance().newPreparedElementData(GameListNotificationChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameListNotification", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private GameListNotificationChoiceType gameListNotification = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GameListNotificationChoiceType getGameListNotification () {
|
||||
return this.gameListNotification;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameListNotification (GameListNotificationChoiceType value) {
|
||||
this.gameListNotification = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_GameListMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_GameListMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(GameListMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "GameListMessage", isOptional = false , hasTag = true, tag = 7,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private GameListMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public GameListMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(GameListMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GameListMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,131 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameListNew", isSet = false )
|
||||
public class GameListNew implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameMode", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameMode gameMode = null;
|
||||
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "isPrivate", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean isPrivate = null;
|
||||
|
||||
|
||||
@ASN1SequenceOf( name = "playerIds", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerIds", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<NonZeroId> playerIds = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "adminPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId adminPlayerId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameInfo", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameInfo gameInfo = null;
|
||||
|
||||
|
||||
|
||||
public NetGameMode getGameMode () {
|
||||
return this.gameMode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameMode (NetGameMode value) {
|
||||
this.gameMode = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getIsPrivate () {
|
||||
return this.isPrivate;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setIsPrivate (Boolean value) {
|
||||
this.isPrivate = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<NonZeroId> getPlayerIds () {
|
||||
return this.playerIds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerIds (java.util.Collection<NonZeroId> value) {
|
||||
this.playerIds = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getAdminPlayerId () {
|
||||
return this.adminPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAdminPlayerId (NonZeroId value) {
|
||||
this.adminPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NetGameInfo getGameInfo () {
|
||||
return this.gameInfo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameInfo (NetGameInfo value) {
|
||||
this.gameInfo = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListNew.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameListPlayerJoined", isSet = false )
|
||||
public class GameListPlayerJoined implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListPlayerJoined.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameListPlayerLeft", isSet = false )
|
||||
public class GameListPlayerLeft implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListPlayerLeft.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GameListUpdate", isSet = false )
|
||||
public class GameListUpdate implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameMode", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameMode gameMode = null;
|
||||
|
||||
|
||||
|
||||
public NetGameMode getGameMode () {
|
||||
return this.gameMode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameMode (NetGameMode value) {
|
||||
this.gameMode = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameListUpdate.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GamePlayerJoined", isSet = false )
|
||||
public class GamePlayerJoined implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "isGameAdmin", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean isGameAdmin = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getIsGameAdmin () {
|
||||
return this.isGameAdmin;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setIsGameAdmin (Boolean value) {
|
||||
this.isGameAdmin = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GamePlayerJoined.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GamePlayerLeft", isSet = false )
|
||||
public class GamePlayerLeft implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "GamePlayerLeftReasonEnumType"
|
||||
)
|
||||
public static class GamePlayerLeftReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "leftOnRequest", hasTag = true , tag = 0 )
|
||||
leftOnRequest ,
|
||||
@ASN1EnumItem ( name = "leftKicked", hasTag = true , tag = 1 )
|
||||
leftKicked ,
|
||||
@ASN1EnumItem ( name = "leftError", hasTag = true , tag = 2 )
|
||||
leftError ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GamePlayerLeftReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "gamePlayerLeftReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private GamePlayerLeftReasonEnumType gamePlayerLeftReason = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GamePlayerLeftReasonEnumType getGamePlayerLeftReason () {
|
||||
return this.gamePlayerLeftReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGamePlayerLeftReason (GamePlayerLeftReasonEnumType value) {
|
||||
this.gamePlayerLeftReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GamePlayerLeft.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,257 @@
|
||||
|
||||
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 = "GamePlayerMessage" )
|
||||
public class GamePlayerMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "GamePlayerMessage" , isSet = false )
|
||||
public static class GamePlayerMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "gamePlayerNotification" )
|
||||
public static class GamePlayerNotificationChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gamePlayerJoined", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private GamePlayerJoined gamePlayerJoined = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gamePlayerLeft", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private GamePlayerLeft gamePlayerLeft = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameAdminChanged", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private GameAdminChanged gameAdminChanged = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "removedFromGame", isOptional = false , hasTag = true, tag = 3 , hasDefaultValue = false )
|
||||
|
||||
private RemovedFromGame removedFromGame = null;
|
||||
|
||||
|
||||
|
||||
public GamePlayerJoined getGamePlayerJoined () {
|
||||
return this.gamePlayerJoined;
|
||||
}
|
||||
|
||||
public boolean isGamePlayerJoinedSelected () {
|
||||
return this.gamePlayerJoined != null;
|
||||
}
|
||||
|
||||
private void setGamePlayerJoined (GamePlayerJoined value) {
|
||||
this.gamePlayerJoined = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGamePlayerJoined (GamePlayerJoined value) {
|
||||
this.gamePlayerJoined = value;
|
||||
|
||||
setGamePlayerLeft(null);
|
||||
|
||||
setGameAdminChanged(null);
|
||||
|
||||
setRemovedFromGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GamePlayerLeft getGamePlayerLeft () {
|
||||
return this.gamePlayerLeft;
|
||||
}
|
||||
|
||||
public boolean isGamePlayerLeftSelected () {
|
||||
return this.gamePlayerLeft != null;
|
||||
}
|
||||
|
||||
private void setGamePlayerLeft (GamePlayerLeft value) {
|
||||
this.gamePlayerLeft = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGamePlayerLeft (GamePlayerLeft value) {
|
||||
this.gamePlayerLeft = value;
|
||||
|
||||
setGamePlayerJoined(null);
|
||||
|
||||
setGameAdminChanged(null);
|
||||
|
||||
setRemovedFromGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public GameAdminChanged getGameAdminChanged () {
|
||||
return this.gameAdminChanged;
|
||||
}
|
||||
|
||||
public boolean isGameAdminChangedSelected () {
|
||||
return this.gameAdminChanged != null;
|
||||
}
|
||||
|
||||
private void setGameAdminChanged (GameAdminChanged value) {
|
||||
this.gameAdminChanged = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGameAdminChanged (GameAdminChanged value) {
|
||||
this.gameAdminChanged = value;
|
||||
|
||||
setGamePlayerJoined(null);
|
||||
|
||||
setGamePlayerLeft(null);
|
||||
|
||||
setRemovedFromGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public RemovedFromGame getRemovedFromGame () {
|
||||
return this.removedFromGame;
|
||||
}
|
||||
|
||||
public boolean isRemovedFromGameSelected () {
|
||||
return this.removedFromGame != null;
|
||||
}
|
||||
|
||||
private void setRemovedFromGame (RemovedFromGame value) {
|
||||
this.removedFromGame = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectRemovedFromGame (RemovedFromGame value) {
|
||||
this.removedFromGame = value;
|
||||
|
||||
setGamePlayerJoined(null);
|
||||
|
||||
setGamePlayerLeft(null);
|
||||
|
||||
setGameAdminChanged(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_GamePlayerNotificationChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_GamePlayerNotificationChoiceType = CoderFactory.getInstance().newPreparedElementData(GamePlayerNotificationChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "gamePlayerNotification", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private GamePlayerNotificationChoiceType gamePlayerNotification = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GamePlayerNotificationChoiceType getGamePlayerNotification () {
|
||||
return this.gamePlayerNotification;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGamePlayerNotification (GamePlayerNotificationChoiceType value) {
|
||||
this.gamePlayerNotification = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_GamePlayerMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_GamePlayerMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(GamePlayerMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "GamePlayerMessage", isOptional = false , hasTag = true, tag = 13,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private GamePlayerMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public GamePlayerMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(GamePlayerMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GamePlayerMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GamePlayerMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,138 @@
|
||||
|
||||
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 = "GameStartMessage" )
|
||||
public class GameStartMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "GameStartMessage" , isSet = false )
|
||||
public static class GameStartMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "startDealerPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId startDealerPlayerId = null;
|
||||
|
||||
|
||||
@ASN1SequenceOf( name = "playerSeats", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 2L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerSeats", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<NonZeroId> playerSeats = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getStartDealerPlayerId () {
|
||||
return this.startDealerPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStartDealerPlayerId (NonZeroId value) {
|
||||
this.startDealerPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<NonZeroId> getPlayerSeats () {
|
||||
return this.playerSeats;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerSeats (java.util.Collection<NonZeroId> value) {
|
||||
this.playerSeats = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_GameStartMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_GameStartMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(GameStartMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "GameStartMessage", isOptional = false , hasTag = true, tag = 22,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private GameStartMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public GameStartMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(GameStartMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public GameStartMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GameStartMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "GuestLogin", isSet = false )
|
||||
public class GuestLogin implements IASN1PreparedElement {
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 64L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "nickName", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String nickName = null;
|
||||
|
||||
|
||||
|
||||
public String getNickName () {
|
||||
return this.nickName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNickName (String value) {
|
||||
this.nickName = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(GuestLogin.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
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 = "Guid" )
|
||||
public class Guid implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "Guid" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 4294967295L
|
||||
|
||||
)
|
||||
|
||||
private Long value;
|
||||
|
||||
public Guid() {
|
||||
}
|
||||
|
||||
public Guid(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Long getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(Guid.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,210 @@
|
||||
|
||||
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 = "HandStartMessage" )
|
||||
public class HandStartMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "HandStartMessage" , isSet = false )
|
||||
public static class HandStartMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "yourCards" )
|
||||
public static class YourCardsChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "plainCards", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private PlainCards plainCards = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "encryptedCards", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private EncryptedCards encryptedCards = null;
|
||||
|
||||
|
||||
|
||||
public PlainCards getPlainCards () {
|
||||
return this.plainCards;
|
||||
}
|
||||
|
||||
public boolean isPlainCardsSelected () {
|
||||
return this.plainCards != null;
|
||||
}
|
||||
|
||||
private void setPlainCards (PlainCards value) {
|
||||
this.plainCards = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectPlainCards (PlainCards value) {
|
||||
this.plainCards = value;
|
||||
|
||||
setEncryptedCards(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public EncryptedCards getEncryptedCards () {
|
||||
return this.encryptedCards;
|
||||
}
|
||||
|
||||
public boolean isEncryptedCardsSelected () {
|
||||
return this.encryptedCards != null;
|
||||
}
|
||||
|
||||
private void setEncryptedCards (EncryptedCards value) {
|
||||
this.encryptedCards = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectEncryptedCards (EncryptedCards value) {
|
||||
this.encryptedCards = value;
|
||||
|
||||
setPlainCards(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_YourCardsChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_YourCardsChoiceType = CoderFactory.getInstance().newPreparedElementData(YourCardsChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "yourCards", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private YourCardsChoiceType yourCards = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 100000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "smallBlind", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer smallBlind = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public YourCardsChoiceType getYourCards () {
|
||||
return this.yourCards;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setYourCards (YourCardsChoiceType value) {
|
||||
this.yourCards = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getSmallBlind () {
|
||||
return this.smallBlind;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setSmallBlind (Integer value) {
|
||||
this.smallBlind = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_HandStartMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_HandStartMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(HandStartMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "HandStartMessage", isOptional = false , hasTag = true, tag = 23,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private HandStartMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public HandStartMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(HandStartMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public HandStartMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(HandStartMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
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 = "Id" )
|
||||
public class Id implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "Id" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 4294967295L
|
||||
|
||||
)
|
||||
|
||||
private Long value;
|
||||
|
||||
public Id() {
|
||||
}
|
||||
|
||||
public Id(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Long getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(Id.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,132 @@
|
||||
|
||||
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 = "InitAckMessage" )
|
||||
public class InitAckMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "InitAckMessage" , isSet = false )
|
||||
public static class InitAckMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "yourSessionId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Guid yourSessionId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "yourPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId yourPlayerId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "yourAvatar", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarHash yourAvatar = null;
|
||||
|
||||
|
||||
|
||||
public Guid getYourSessionId () {
|
||||
return this.yourSessionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setYourSessionId (Guid value) {
|
||||
this.yourSessionId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getYourPlayerId () {
|
||||
return this.yourPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setYourPlayerId (NonZeroId value) {
|
||||
this.yourPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarHash getYourAvatar () {
|
||||
return this.yourAvatar;
|
||||
}
|
||||
|
||||
|
||||
public boolean isYourAvatarPresent () {
|
||||
return this.yourAvatar != null;
|
||||
}
|
||||
|
||||
|
||||
public void setYourAvatar (AvatarHash value) {
|
||||
this.yourAvatar = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_InitAckMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_InitAckMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(InitAckMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "InitAckMessage", isOptional = false , hasTag = true, tag = 3,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private InitAckMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public InitAckMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(InitAckMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public InitAckMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InitAckMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,237 @@
|
||||
|
||||
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 = "InitMessage" )
|
||||
public class InitMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "InitMessage" , isSet = false )
|
||||
public static class InitMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "requestedVersion", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Version requestedVersion = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
@ASN1Element ( name = "buildId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Long buildId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "login" )
|
||||
public static class LoginChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "guestLogin", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private GuestLogin guestLogin = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "authenticatedLogin", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private AuthenticatedLogin authenticatedLogin = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "unauthenticatedLogin", isOptional = false , hasTag = true, tag = 2 , hasDefaultValue = false )
|
||||
|
||||
private UnauthenticatedLogin unauthenticatedLogin = null;
|
||||
|
||||
|
||||
|
||||
public GuestLogin getGuestLogin () {
|
||||
return this.guestLogin;
|
||||
}
|
||||
|
||||
public boolean isGuestLoginSelected () {
|
||||
return this.guestLogin != null;
|
||||
}
|
||||
|
||||
private void setGuestLogin (GuestLogin value) {
|
||||
this.guestLogin = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectGuestLogin (GuestLogin value) {
|
||||
this.guestLogin = value;
|
||||
|
||||
setAuthenticatedLogin(null);
|
||||
|
||||
setUnauthenticatedLogin(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public AuthenticatedLogin getAuthenticatedLogin () {
|
||||
return this.authenticatedLogin;
|
||||
}
|
||||
|
||||
public boolean isAuthenticatedLoginSelected () {
|
||||
return this.authenticatedLogin != null;
|
||||
}
|
||||
|
||||
private void setAuthenticatedLogin (AuthenticatedLogin value) {
|
||||
this.authenticatedLogin = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectAuthenticatedLogin (AuthenticatedLogin value) {
|
||||
this.authenticatedLogin = value;
|
||||
|
||||
setGuestLogin(null);
|
||||
|
||||
setUnauthenticatedLogin(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public UnauthenticatedLogin getUnauthenticatedLogin () {
|
||||
return this.unauthenticatedLogin;
|
||||
}
|
||||
|
||||
public boolean isUnauthenticatedLoginSelected () {
|
||||
return this.unauthenticatedLogin != null;
|
||||
}
|
||||
|
||||
private void setUnauthenticatedLogin (UnauthenticatedLogin value) {
|
||||
this.unauthenticatedLogin = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectUnauthenticatedLogin (UnauthenticatedLogin value) {
|
||||
this.unauthenticatedLogin = value;
|
||||
|
||||
setGuestLogin(null);
|
||||
|
||||
setAuthenticatedLogin(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_LoginChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_LoginChoiceType = CoderFactory.getInstance().newPreparedElementData(LoginChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "login", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private LoginChoiceType login = null;
|
||||
|
||||
|
||||
|
||||
public Version getRequestedVersion () {
|
||||
return this.requestedVersion;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRequestedVersion (Version value) {
|
||||
this.requestedVersion = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Long getBuildId () {
|
||||
return this.buildId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setBuildId (Long value) {
|
||||
this.buildId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public LoginChoiceType getLogin () {
|
||||
return this.login;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setLogin (LoginChoiceType value) {
|
||||
this.login = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_InitMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_InitMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(InitMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "InitMessage", isOptional = false , hasTag = true, tag = 1,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private InitMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public InitMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(InitMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public InitMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InitMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
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 = "InviteNotifyMessage" )
|
||||
public class InviteNotifyMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "InviteNotifyMessage" , isSet = false )
|
||||
public static class InviteNotifyMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerIdWho", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerIdWho = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerIdByWhom", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerIdByWhom = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerIdWho () {
|
||||
return this.playerIdWho;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerIdWho (NonZeroId value) {
|
||||
this.playerIdWho = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerIdByWhom () {
|
||||
return this.playerIdByWhom;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerIdByWhom (NonZeroId value) {
|
||||
this.playerIdByWhom = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_InviteNotifyMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_InviteNotifyMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(InviteNotifyMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "InviteNotifyMessage", isOptional = false , hasTag = true, tag = 17,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private InviteNotifyMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public InviteNotifyMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(InviteNotifyMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public InviteNotifyMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InviteNotifyMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "InvitePlayerToGameMessage" )
|
||||
public class InvitePlayerToGameMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "InvitePlayerToGameMessage" , isSet = false )
|
||||
public static class InvitePlayerToGameMessageSequenceType 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;
|
||||
|
||||
|
||||
|
||||
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 void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_InvitePlayerToGameMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_InvitePlayerToGameMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(InvitePlayerToGameMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "InvitePlayerToGameMessage", isOptional = false , hasTag = true, tag = 16,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private InvitePlayerToGameMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public InvitePlayerToGameMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(InvitePlayerToGameMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public InvitePlayerToGameMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(InvitePlayerToGameMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "JoinExistingGame", isSet = false )
|
||||
public class JoinExistingGame implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinExistingGame.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "JoinGameAck", isSet = false )
|
||||
public class JoinGameAck implements IASN1PreparedElement {
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "areYouGameAdmin", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean areYouGameAdmin = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameInfo", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameInfo gameInfo = null;
|
||||
|
||||
|
||||
|
||||
public Boolean getAreYouGameAdmin () {
|
||||
return this.areYouGameAdmin;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAreYouGameAdmin (Boolean value) {
|
||||
this.areYouGameAdmin = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NetGameInfo getGameInfo () {
|
||||
return this.gameInfo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameInfo (NetGameInfo value) {
|
||||
this.gameInfo = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinGameAck.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,109 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "JoinGameFailed", isSet = false )
|
||||
public class JoinGameFailed implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "JoinGameFailureReasonEnumType"
|
||||
)
|
||||
public static class JoinGameFailureReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "invalidGame", hasTag = true , tag = 1 )
|
||||
invalidGame ,
|
||||
@ASN1EnumItem ( name = "gameIsFull", hasTag = true , tag = 2 )
|
||||
gameIsFull ,
|
||||
@ASN1EnumItem ( name = "gameIsRunning", hasTag = true , tag = 3 )
|
||||
gameIsRunning ,
|
||||
@ASN1EnumItem ( name = "invalidPassword", hasTag = true , tag = 4 )
|
||||
invalidPassword ,
|
||||
@ASN1EnumItem ( name = "notAllowedAsGuest", hasTag = true , tag = 5 )
|
||||
notAllowedAsGuest ,
|
||||
@ASN1EnumItem ( name = "notInvited", hasTag = true , tag = 6 )
|
||||
notInvited ,
|
||||
@ASN1EnumItem ( name = "gameNameInUse", hasTag = true , tag = 7 )
|
||||
gameNameInUse ,
|
||||
@ASN1EnumItem ( name = "badGameName", hasTag = true , tag = 8 )
|
||||
badGameName ,
|
||||
@ASN1EnumItem ( name = "invalidSettings", hasTag = true , tag = 9 )
|
||||
invalidSettings ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinGameFailureReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "joinGameFailureReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private JoinGameFailureReasonEnumType joinGameFailureReason = null;
|
||||
|
||||
|
||||
|
||||
public JoinGameFailureReasonEnumType getJoinGameFailureReason () {
|
||||
return this.joinGameFailureReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setJoinGameFailureReason (JoinGameFailureReasonEnumType value) {
|
||||
this.joinGameFailureReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinGameFailed.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
|
||||
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 = "JoinGameReplyMessage" )
|
||||
public class JoinGameReplyMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "JoinGameReplyMessage" , isSet = false )
|
||||
public static class JoinGameReplyMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "joinGameResult" )
|
||||
public static class JoinGameResultChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "joinGameAck", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private JoinGameAck joinGameAck = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "joinGameFailed", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private JoinGameFailed joinGameFailed = null;
|
||||
|
||||
|
||||
|
||||
public JoinGameAck getJoinGameAck () {
|
||||
return this.joinGameAck;
|
||||
}
|
||||
|
||||
public boolean isJoinGameAckSelected () {
|
||||
return this.joinGameAck != null;
|
||||
}
|
||||
|
||||
private void setJoinGameAck (JoinGameAck value) {
|
||||
this.joinGameAck = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectJoinGameAck (JoinGameAck value) {
|
||||
this.joinGameAck = value;
|
||||
|
||||
setJoinGameFailed(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public JoinGameFailed getJoinGameFailed () {
|
||||
return this.joinGameFailed;
|
||||
}
|
||||
|
||||
public boolean isJoinGameFailedSelected () {
|
||||
return this.joinGameFailed != null;
|
||||
}
|
||||
|
||||
private void setJoinGameFailed (JoinGameFailed value) {
|
||||
this.joinGameFailed = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectJoinGameFailed (JoinGameFailed value) {
|
||||
this.joinGameFailed = value;
|
||||
|
||||
setJoinGameAck(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_JoinGameResultChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_JoinGameResultChoiceType = CoderFactory.getInstance().newPreparedElementData(JoinGameResultChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "joinGameResult", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private JoinGameResultChoiceType joinGameResult = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public JoinGameResultChoiceType getJoinGameResult () {
|
||||
return this.joinGameResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setJoinGameResult (JoinGameResultChoiceType value) {
|
||||
this.joinGameResult = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_JoinGameReplyMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_JoinGameReplyMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(JoinGameReplyMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "JoinGameReplyMessage", isOptional = false , hasTag = true, tag = 12,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private JoinGameReplyMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public JoinGameReplyMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(JoinGameReplyMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public JoinGameReplyMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinGameReplyMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,199 @@
|
||||
|
||||
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 = "JoinGameRequestMessage" )
|
||||
public class JoinGameRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "JoinGameRequestMessage" , isSet = false )
|
||||
public static class JoinGameRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "joinGameAction" )
|
||||
public static class JoinGameActionChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "joinExistingGame", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private JoinExistingGame joinExistingGame = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "joinNewGame", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private JoinNewGame joinNewGame = null;
|
||||
|
||||
|
||||
|
||||
public JoinExistingGame getJoinExistingGame () {
|
||||
return this.joinExistingGame;
|
||||
}
|
||||
|
||||
public boolean isJoinExistingGameSelected () {
|
||||
return this.joinExistingGame != null;
|
||||
}
|
||||
|
||||
private void setJoinExistingGame (JoinExistingGame value) {
|
||||
this.joinExistingGame = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectJoinExistingGame (JoinExistingGame value) {
|
||||
this.joinExistingGame = value;
|
||||
|
||||
setJoinNewGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public JoinNewGame getJoinNewGame () {
|
||||
return this.joinNewGame;
|
||||
}
|
||||
|
||||
public boolean isJoinNewGameSelected () {
|
||||
return this.joinNewGame != null;
|
||||
}
|
||||
|
||||
private void setJoinNewGame (JoinNewGame value) {
|
||||
this.joinNewGame = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectJoinNewGame (JoinNewGame value) {
|
||||
this.joinNewGame = value;
|
||||
|
||||
setJoinExistingGame(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_JoinGameActionChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_JoinGameActionChoiceType = CoderFactory.getInstance().newPreparedElementData(JoinGameActionChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "joinGameAction", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private JoinGameActionChoiceType joinGameAction = null;
|
||||
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 64L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "password", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String password = null;
|
||||
|
||||
|
||||
|
||||
public JoinGameActionChoiceType getJoinGameAction () {
|
||||
return this.joinGameAction;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setJoinGameAction (JoinGameActionChoiceType value) {
|
||||
this.joinGameAction = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getPassword () {
|
||||
return this.password;
|
||||
}
|
||||
|
||||
|
||||
public boolean isPasswordPresent () {
|
||||
return this.password != null;
|
||||
}
|
||||
|
||||
|
||||
public void setPassword (String value) {
|
||||
this.password = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_JoinGameRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_JoinGameRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(JoinGameRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "JoinGameRequestMessage", isOptional = false , hasTag = true, tag = 11,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private JoinGameRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public JoinGameRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(JoinGameRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public JoinGameRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinGameRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "JoinNewGame", isSet = false )
|
||||
public class JoinNewGame implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameInfo", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameInfo gameInfo = null;
|
||||
|
||||
|
||||
|
||||
public NetGameInfo getGameInfo () {
|
||||
return this.gameInfo;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameInfo (NetGameInfo value) {
|
||||
this.gameInfo = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(JoinNewGame.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,186 @@
|
||||
|
||||
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 = "KickPetitionUpdateMessage" )
|
||||
public class KickPetitionUpdateMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "KickPetitionUpdateMessage" , isSet = false )
|
||||
public static class KickPetitionUpdateMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "petitionId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId petitionId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesAgainstKicking", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesAgainstKicking = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesInFavourOfKicking", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesInFavourOfKicking = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesNeededToKick", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesNeededToKick = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPetitionId () {
|
||||
return this.petitionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPetitionId (NonZeroId value) {
|
||||
this.petitionId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesAgainstKicking () {
|
||||
return this.numVotesAgainstKicking;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesAgainstKicking (Integer value) {
|
||||
this.numVotesAgainstKicking = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesInFavourOfKicking () {
|
||||
return this.numVotesInFavourOfKicking;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesInFavourOfKicking (Integer value) {
|
||||
this.numVotesInFavourOfKicking = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesNeededToKick () {
|
||||
return this.numVotesNeededToKick;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesNeededToKick (Integer value) {
|
||||
this.numVotesNeededToKick = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_KickPetitionUpdateMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_KickPetitionUpdateMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(KickPetitionUpdateMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "KickPetitionUpdateMessage", isOptional = false , hasTag = true, tag = 69,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private KickPetitionUpdateMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public KickPetitionUpdateMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(KickPetitionUpdateMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public KickPetitionUpdateMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(KickPetitionUpdateMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "KickPlayerRequestMessage" )
|
||||
public class KickPlayerRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "KickPlayerRequestMessage" , isSet = false )
|
||||
public static class KickPlayerRequestMessageSequenceType 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;
|
||||
|
||||
|
||||
|
||||
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 void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_KickPlayerRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_KickPlayerRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(KickPlayerRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "KickPlayerRequestMessage", isOptional = false , hasTag = true, tag = 14,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private KickPlayerRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public KickPlayerRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(KickPlayerRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public KickPlayerRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(KickPlayerRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
|
||||
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 = "LeaveGameRequestMessage" )
|
||||
public class LeaveGameRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "LeaveGameRequestMessage" , isSet = false )
|
||||
public static class LeaveGameRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_LeaveGameRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_LeaveGameRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(LeaveGameRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "LeaveGameRequestMessage", isOptional = false , hasTag = true, tag = 15,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private LeaveGameRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public LeaveGameRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(LeaveGameRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public LeaveGameRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(LeaveGameRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,170 @@
|
||||
|
||||
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 = "MyActionRequestMessage" )
|
||||
public class MyActionRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "MyActionRequestMessage" , isSet = false )
|
||||
public static class MyActionRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "handNum", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId handNum = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "gameState", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameState gameState = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "myAction", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetPlayerAction myAction = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "myRelativeBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer myRelativeBet = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getHandNum () {
|
||||
return this.handNum;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setHandNum (NonZeroId value) {
|
||||
this.handNum = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NetGameState getGameState () {
|
||||
return this.gameState;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameState (NetGameState value) {
|
||||
this.gameState = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NetPlayerAction getMyAction () {
|
||||
return this.myAction;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMyAction (NetPlayerAction value) {
|
||||
this.myAction = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMyRelativeBet () {
|
||||
return this.myRelativeBet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMyRelativeBet (Integer value) {
|
||||
this.myRelativeBet = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_MyActionRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_MyActionRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(MyActionRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "MyActionRequestMessage", isOptional = false , hasTag = true, tag = 25,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private MyActionRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public MyActionRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(MyActionRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public MyActionRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(MyActionRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "NetAvatarType"
|
||||
)
|
||||
public class NetAvatarType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "avatarImagePng", hasTag = true , tag = 1 )
|
||||
avatarImagePng ,
|
||||
@ASN1EnumItem ( name = "avatarImageJpg", hasTag = true , tag = 2 )
|
||||
avatarImageJpg ,
|
||||
@ASN1EnumItem ( name = "avatarImageGif", hasTag = true , tag = 3 )
|
||||
avatarImageGif ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetAvatarType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,497 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "NetGameInfo", isSet = false )
|
||||
public class NetGameInfo implements IASN1PreparedElement {
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 64L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "gameName", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String gameName = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "NetGameTypeEnumType"
|
||||
)
|
||||
public static class NetGameTypeEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "normalGame", hasTag = true , tag = 1 )
|
||||
normalGame ,
|
||||
@ASN1EnumItem ( name = "registeredOnlyGame", hasTag = true , tag = 2 )
|
||||
registeredOnlyGame ,
|
||||
@ASN1EnumItem ( name = "inviteOnlyGame", hasTag = true , tag = 3 )
|
||||
inviteOnlyGame ,
|
||||
@ASN1EnumItem ( name = "rankingGame", hasTag = true , tag = 4 )
|
||||
rankingGame ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetGameTypeEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "netGameType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetGameTypeEnumType netGameType = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 2L,
|
||||
|
||||
max = 10L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "maxNumPlayers", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer maxNumPlayers = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "raiseIntervalMode" )
|
||||
public static class RaiseIntervalModeChoiceType implements IASN1PreparedElement {
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "raiseEveryHands", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private Integer raiseEveryHands = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "raiseEveryMinutes", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private Integer raiseEveryMinutes = null;
|
||||
|
||||
|
||||
|
||||
public Integer getRaiseEveryHands () {
|
||||
return this.raiseEveryHands;
|
||||
}
|
||||
|
||||
public boolean isRaiseEveryHandsSelected () {
|
||||
return this.raiseEveryHands != null;
|
||||
}
|
||||
|
||||
private void setRaiseEveryHands (Integer value) {
|
||||
this.raiseEveryHands = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectRaiseEveryHands (Integer value) {
|
||||
this.raiseEveryHands = value;
|
||||
|
||||
setRaiseEveryMinutes(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public Integer getRaiseEveryMinutes () {
|
||||
return this.raiseEveryMinutes;
|
||||
}
|
||||
|
||||
public boolean isRaiseEveryMinutesSelected () {
|
||||
return this.raiseEveryMinutes != null;
|
||||
}
|
||||
|
||||
private void setRaiseEveryMinutes (Integer value) {
|
||||
this.raiseEveryMinutes = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectRaiseEveryMinutes (Integer value) {
|
||||
this.raiseEveryMinutes = value;
|
||||
|
||||
setRaiseEveryHands(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_RaiseIntervalModeChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_RaiseIntervalModeChoiceType = CoderFactory.getInstance().newPreparedElementData(RaiseIntervalModeChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "raiseIntervalMode", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private RaiseIntervalModeChoiceType raiseIntervalMode = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "EndRaiseModeEnumType"
|
||||
)
|
||||
public static class EndRaiseModeEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "doubleBlinds", hasTag = true , tag = 1 )
|
||||
doubleBlinds ,
|
||||
@ASN1EnumItem ( name = "raiseByEndValue", hasTag = true , tag = 2 )
|
||||
raiseByEndValue ,
|
||||
@ASN1EnumItem ( name = "keepLastBlind", hasTag = true , tag = 3 )
|
||||
keepLastBlind ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(EndRaiseModeEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "endRaiseMode", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private EndRaiseModeEnumType endRaiseMode = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 11L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "proposedGuiSpeed", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer proposedGuiSpeed = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 5L,
|
||||
|
||||
max = 20L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "delayBetweenHands", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer delayBetweenHands = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 5L,
|
||||
|
||||
max = 60L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerActionTimeout", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerActionTimeout = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 20000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "firstSmallBlind", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer firstSmallBlind = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "endRaiseSmallBlindValue", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer endRaiseSmallBlindValue = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "startMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer startMoney = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 1000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1SequenceOf( name = "manualBlinds", isSetOf = false )
|
||||
|
||||
@ASN1Element ( name = "manualBlinds", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<Integer> manualBlinds = null;
|
||||
|
||||
|
||||
|
||||
public String getGameName () {
|
||||
return this.gameName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameName (String value) {
|
||||
this.gameName = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NetGameTypeEnumType getNetGameType () {
|
||||
return this.netGameType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNetGameType (NetGameTypeEnumType value) {
|
||||
this.netGameType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMaxNumPlayers () {
|
||||
return this.maxNumPlayers;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMaxNumPlayers (Integer value) {
|
||||
this.maxNumPlayers = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public RaiseIntervalModeChoiceType getRaiseIntervalMode () {
|
||||
return this.raiseIntervalMode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRaiseIntervalMode (RaiseIntervalModeChoiceType value) {
|
||||
this.raiseIntervalMode = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public EndRaiseModeEnumType getEndRaiseMode () {
|
||||
return this.endRaiseMode;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setEndRaiseMode (EndRaiseModeEnumType value) {
|
||||
this.endRaiseMode = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getProposedGuiSpeed () {
|
||||
return this.proposedGuiSpeed;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setProposedGuiSpeed (Integer value) {
|
||||
this.proposedGuiSpeed = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getDelayBetweenHands () {
|
||||
return this.delayBetweenHands;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setDelayBetweenHands (Integer value) {
|
||||
this.delayBetweenHands = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerActionTimeout () {
|
||||
return this.playerActionTimeout;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerActionTimeout (Integer value) {
|
||||
this.playerActionTimeout = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getFirstSmallBlind () {
|
||||
return this.firstSmallBlind;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setFirstSmallBlind (Integer value) {
|
||||
this.firstSmallBlind = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getEndRaiseSmallBlindValue () {
|
||||
return this.endRaiseSmallBlindValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setEndRaiseSmallBlindValue (Integer value) {
|
||||
this.endRaiseSmallBlindValue = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getStartMoney () {
|
||||
return this.startMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStartMoney (Integer value) {
|
||||
this.startMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<Integer> getManualBlinds () {
|
||||
return this.manualBlinds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setManualBlinds (java.util.Collection<Integer> value) {
|
||||
this.manualBlinds = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetGameInfo.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "NetGameMode"
|
||||
)
|
||||
public class NetGameMode implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "gameCreated", hasTag = true , tag = 1 )
|
||||
gameCreated ,
|
||||
@ASN1EnumItem ( name = "gameStarted", hasTag = true , tag = 2 )
|
||||
gameStarted ,
|
||||
@ASN1EnumItem ( name = "gameClosed", hasTag = true , tag = 3 )
|
||||
gameClosed ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetGameMode.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "NetGameState"
|
||||
)
|
||||
public class NetGameState implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "statePreflop", hasTag = true , tag = 0 )
|
||||
statePreflop ,
|
||||
@ASN1EnumItem ( name = "stateFlop", hasTag = true , tag = 1 )
|
||||
stateFlop ,
|
||||
@ASN1EnumItem ( name = "stateTurn", hasTag = true , tag = 2 )
|
||||
stateTurn ,
|
||||
@ASN1EnumItem ( name = "stateRiver", hasTag = true , tag = 3 )
|
||||
stateRiver ,
|
||||
@ASN1EnumItem ( name = "statePreflopSmallBlind", hasTag = true , tag = 4 )
|
||||
statePreflopSmallBlind ,
|
||||
@ASN1EnumItem ( name = "statePreflopBigBlind", hasTag = true , tag = 5 )
|
||||
statePreflopBigBlind ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetGameState.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "NetPlayerAction"
|
||||
)
|
||||
public class NetPlayerAction implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "actionNone", hasTag = true , tag = 0 )
|
||||
actionNone ,
|
||||
@ASN1EnumItem ( name = "actionFold", hasTag = true , tag = 1 )
|
||||
actionFold ,
|
||||
@ASN1EnumItem ( name = "actionCheck", hasTag = true , tag = 2 )
|
||||
actionCheck ,
|
||||
@ASN1EnumItem ( name = "actionCall", hasTag = true , tag = 3 )
|
||||
actionCall ,
|
||||
@ASN1EnumItem ( name = "actionBet", hasTag = true , tag = 4 )
|
||||
actionBet ,
|
||||
@ASN1EnumItem ( name = "actionRaise", hasTag = true , tag = 5 )
|
||||
actionRaise ,
|
||||
@ASN1EnumItem ( name = "actionAllIn", hasTag = true , tag = 6 )
|
||||
actionAllIn ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NetPlayerAction.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
|
||||
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 = "NonZeroId" )
|
||||
public class NonZeroId implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Integer( name = "NonZeroId" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 4294967295L
|
||||
|
||||
)
|
||||
|
||||
private Long value;
|
||||
|
||||
public NonZeroId() {
|
||||
}
|
||||
|
||||
public NonZeroId(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public void setValue(Long value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Long getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(NonZeroId.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
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.*;
|
||||
|
||||
|
||||
|
||||
@ASN1Module ( name = "POKERTH_PROTOCOL", isImplicitTags = false )
|
||||
public class POKERTH_PROTOCOL {
|
||||
}
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "PlainCards", isSet = false )
|
||||
public class PlainCards implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "plainCard1", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card plainCard1 = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "plainCard2", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card plainCard2 = null;
|
||||
|
||||
|
||||
|
||||
public Card getPlainCard1 () {
|
||||
return this.plainCard1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlainCard1 (Card value) {
|
||||
this.plainCard1 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getPlainCard2 () {
|
||||
return this.plainCard2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlainCard2 (Card value) {
|
||||
this.plainCard2 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlainCards.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "PlayerAllIn", isSet = false )
|
||||
public class PlayerAllIn implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "allInCard1", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card allInCard1 = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "allInCard2", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card allInCard2 = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getAllInCard1 () {
|
||||
return this.allInCard1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAllInCard1 (Card value) {
|
||||
this.allInCard1 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getAllInCard2 () {
|
||||
return this.allInCard2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAllInCard2 (Card value) {
|
||||
this.allInCard2 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerAllIn.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,199 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "PlayerInfoData", isSet = false )
|
||||
public class PlayerInfoData implements IASN1PreparedElement {
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 32L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerName", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String playerName = null;
|
||||
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "isHuman", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean isHuman = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerRights", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private PlayerInfoRights playerRights = null;
|
||||
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
|
||||
@ASN1SizeConstraint ( max = 2L )
|
||||
|
||||
@ASN1Element ( name = "countryCode", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String countryCode = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "avatarData" , isSet = false )
|
||||
public static class AvatarDataSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "avatarType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NetAvatarType avatarType = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatar", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarHash avatar = null;
|
||||
|
||||
|
||||
|
||||
public NetAvatarType getAvatarType () {
|
||||
return this.avatarType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatarType (NetAvatarType value) {
|
||||
this.avatarType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarHash getAvatar () {
|
||||
return this.avatar;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setAvatar (AvatarHash value) {
|
||||
this.avatar = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_AvatarDataSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_AvatarDataSequenceType = CoderFactory.getInstance().newPreparedElementData(AvatarDataSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatarData", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarDataSequenceType avatarData = null;
|
||||
|
||||
|
||||
|
||||
public String getPlayerName () {
|
||||
return this.playerName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerName (String value) {
|
||||
this.playerName = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getIsHuman () {
|
||||
return this.isHuman;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setIsHuman (Boolean value) {
|
||||
this.isHuman = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerInfoRights getPlayerRights () {
|
||||
return this.playerRights;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerRights (PlayerInfoRights value) {
|
||||
this.playerRights = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public String getCountryCode () {
|
||||
return this.countryCode;
|
||||
}
|
||||
|
||||
|
||||
public boolean isCountryCodePresent () {
|
||||
return this.countryCode != null;
|
||||
}
|
||||
|
||||
|
||||
public void setCountryCode (String value) {
|
||||
this.countryCode = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarDataSequenceType getAvatarData () {
|
||||
return this.avatarData;
|
||||
}
|
||||
|
||||
|
||||
public boolean isAvatarDataPresent () {
|
||||
return this.avatarData != null;
|
||||
}
|
||||
|
||||
|
||||
public void setAvatarData (AvatarDataSequenceType value) {
|
||||
this.avatarData = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerInfoData.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,185 @@
|
||||
|
||||
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 = "PlayerInfoReplyMessage" )
|
||||
public class PlayerInfoReplyMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "PlayerInfoReplyMessage" , isSet = false )
|
||||
public static class PlayerInfoReplyMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Choice ( name = "playerInfoResult" )
|
||||
public static class PlayerInfoResultChoiceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerInfoData", isOptional = false , hasTag = true, tag = 0 , hasDefaultValue = false )
|
||||
|
||||
private PlayerInfoData playerInfoData = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "unknownPlayerInfo", isOptional = false , hasTag = true, tag = 1 , hasDefaultValue = false )
|
||||
|
||||
private UnknownPlayerInfo unknownPlayerInfo = null;
|
||||
|
||||
|
||||
|
||||
public PlayerInfoData getPlayerInfoData () {
|
||||
return this.playerInfoData;
|
||||
}
|
||||
|
||||
public boolean isPlayerInfoDataSelected () {
|
||||
return this.playerInfoData != null;
|
||||
}
|
||||
|
||||
private void setPlayerInfoData (PlayerInfoData value) {
|
||||
this.playerInfoData = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectPlayerInfoData (PlayerInfoData value) {
|
||||
this.playerInfoData = value;
|
||||
|
||||
setUnknownPlayerInfo(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public UnknownPlayerInfo getUnknownPlayerInfo () {
|
||||
return this.unknownPlayerInfo;
|
||||
}
|
||||
|
||||
public boolean isUnknownPlayerInfoSelected () {
|
||||
return this.unknownPlayerInfo != null;
|
||||
}
|
||||
|
||||
private void setUnknownPlayerInfo (UnknownPlayerInfo value) {
|
||||
this.unknownPlayerInfo = value;
|
||||
}
|
||||
|
||||
|
||||
public void selectUnknownPlayerInfo (UnknownPlayerInfo value) {
|
||||
this.unknownPlayerInfo = value;
|
||||
|
||||
setPlayerInfoData(null);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_PlayerInfoResultChoiceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_PlayerInfoResultChoiceType = CoderFactory.getInstance().newPreparedElementData(PlayerInfoResultChoiceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ASN1Element ( name = "playerInfoResult", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private PlayerInfoResultChoiceType playerInfoResult = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerInfoResultChoiceType getPlayerInfoResult () {
|
||||
return this.playerInfoResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerInfoResult (PlayerInfoResultChoiceType value) {
|
||||
this.playerInfoResult = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_PlayerInfoReplyMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_PlayerInfoReplyMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(PlayerInfoReplyMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "PlayerInfoReplyMessage", isOptional = false , hasTag = true, tag = 9,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private PlayerInfoReplyMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public PlayerInfoReplyMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(PlayerInfoReplyMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerInfoReplyMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerInfoReplyMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
|
||||
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 = "PlayerInfoRequestMessage" )
|
||||
public class PlayerInfoRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "PlayerInfoRequestMessage" , isSet = false )
|
||||
public static class PlayerInfoRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_PlayerInfoRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_PlayerInfoRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(PlayerInfoRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "PlayerInfoRequestMessage", isOptional = false , hasTag = true, tag = 8,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private PlayerInfoRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public PlayerInfoRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(PlayerInfoRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerInfoRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerInfoRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "PlayerInfoRights"
|
||||
)
|
||||
public class PlayerInfoRights implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "playerRightsGuest", hasTag = true , tag = 1 )
|
||||
playerRightsGuest ,
|
||||
@ASN1EnumItem ( name = "playerRightsNormal", hasTag = true , tag = 2 )
|
||||
playerRightsNormal ,
|
||||
@ASN1EnumItem ( name = "playerRightsAdmin", hasTag = true , tag = 3 )
|
||||
playerRightsAdmin ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerInfoRights.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,154 @@
|
||||
|
||||
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 = "PlayerListMessage" )
|
||||
public class PlayerListMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "PlayerListMessage" , isSet = false )
|
||||
public static class PlayerListMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "PlayerListNotificationEnumType"
|
||||
)
|
||||
public static class PlayerListNotificationEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "playerListNew", hasTag = true , tag = 0 )
|
||||
playerListNew ,
|
||||
@ASN1EnumItem ( name = "playerListLeft", hasTag = true , tag = 1 )
|
||||
playerListLeft ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerListNotificationEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "playerListNotification", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private PlayerListNotificationEnumType playerListNotification = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerListNotificationEnumType getPlayerListNotification () {
|
||||
return this.playerListNotification;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerListNotification (PlayerListNotificationEnumType value) {
|
||||
this.playerListNotification = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_PlayerListMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_PlayerListMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(PlayerListMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "PlayerListMessage", isOptional = false , hasTag = true, tag = 6,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private PlayerListMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public PlayerListMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(PlayerListMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayerListMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerListMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "PlayerResult", isSet = false )
|
||||
public class PlayerResult implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "playerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId playerId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "resultCard1", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card resultCard1 = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "resultCard2", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Card resultCard2 = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
@ASN1SequenceOf( name = "bestHandPosition", isSetOf = false )
|
||||
|
||||
|
||||
@ASN1SizeConstraint ( max = 5L )
|
||||
|
||||
@ASN1Element ( name = "bestHandPosition", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<Long> bestHandPosition = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
@ASN1Element ( name = "cardsValue", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Long cardsValue = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "moneyWon", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer moneyWon = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPlayerId () {
|
||||
return this.playerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerId (NonZeroId value) {
|
||||
this.playerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getResultCard1 () {
|
||||
return this.resultCard1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setResultCard1 (Card value) {
|
||||
this.resultCard1 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Card getResultCard2 () {
|
||||
return this.resultCard2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setResultCard2 (Card value) {
|
||||
this.resultCard2 = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<Long> getBestHandPosition () {
|
||||
return this.bestHandPosition;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setBestHandPosition (java.util.Collection<Long> value) {
|
||||
this.bestHandPosition = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Long getCardsValue () {
|
||||
return this.cardsValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setCardsValue (Long value) {
|
||||
this.cardsValue = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMoneyWon () {
|
||||
return this.moneyWon;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMoneyWon (Integer value) {
|
||||
this.moneyWon = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayerResult.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,245 @@
|
||||
|
||||
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;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "totalPlayerBet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer totalPlayerBet = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "playerMoney", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer playerMoney = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "highestSet", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer highestSet = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 0L,
|
||||
|
||||
max = 10000000L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "minimumRaise", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer minimumRaise = null;
|
||||
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getTotalPlayerBet () {
|
||||
return this.totalPlayerBet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setTotalPlayerBet (Integer value) {
|
||||
this.totalPlayerBet = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getPlayerMoney () {
|
||||
return this.playerMoney;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerMoney (Integer value) {
|
||||
this.playerMoney = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getHighestSet () {
|
||||
return this.highestSet;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setHighestSet (Integer value) {
|
||||
this.highestSet = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getMinimumRaise () {
|
||||
return this.minimumRaise;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMinimumRaise (Integer value) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
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 = "PlayersTurnMessage" )
|
||||
public class PlayersTurnMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "PlayersTurnMessage" , isSet = false )
|
||||
public static class PlayersTurnMessageSequenceType 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;
|
||||
|
||||
|
||||
|
||||
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 void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_PlayersTurnMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_PlayersTurnMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(PlayersTurnMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "PlayersTurnMessage", isOptional = false , hasTag = true, tag = 24,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private PlayersTurnMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public PlayersTurnMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(PlayersTurnMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public PlayersTurnMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(PlayersTurnMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,60 @@
|
||||
|
||||
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
|
||||
@ASN1Enum (
|
||||
name = "RejectGameInvReason"
|
||||
)
|
||||
public class RejectGameInvReason implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "no", hasTag = true , tag = 0 )
|
||||
no ,
|
||||
@ASN1EnumItem ( name = "busy", hasTag = true , tag = 1 )
|
||||
busy ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(RejectGameInvReason.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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 = "RejectGameInvitationMessage" )
|
||||
public class RejectGameInvitationMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "RejectGameInvitationMessage" , isSet = false )
|
||||
public static class RejectGameInvitationMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "myRejectReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private RejectGameInvReason myRejectReason = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public RejectGameInvReason getMyRejectReason () {
|
||||
return this.myRejectReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setMyRejectReason (RejectGameInvReason value) {
|
||||
this.myRejectReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_RejectGameInvitationMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_RejectGameInvitationMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(RejectGameInvitationMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "RejectGameInvitationMessage", isOptional = false , hasTag = true, tag = 18,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private RejectGameInvitationMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public RejectGameInvitationMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(RejectGameInvitationMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public RejectGameInvitationMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(RejectGameInvitationMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
|
||||
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 = "RejectInvNotifyMessage" )
|
||||
public class RejectInvNotifyMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "RejectInvNotifyMessage" , isSet = false )
|
||||
public static class RejectInvNotifyMessageSequenceType 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 = "playerRejectReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private RejectGameInvReason playerRejectReason = null;
|
||||
|
||||
|
||||
|
||||
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 RejectGameInvReason getPlayerRejectReason () {
|
||||
return this.playerRejectReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPlayerRejectReason (RejectGameInvReason value) {
|
||||
this.playerRejectReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_RejectInvNotifyMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_RejectInvNotifyMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(RejectInvNotifyMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "RejectInvNotifyMessage", isOptional = false , hasTag = true, tag = 19,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private RejectInvNotifyMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public RejectInvNotifyMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(RejectInvNotifyMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public RejectInvNotifyMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(RejectInvNotifyMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "RemovedFromGame", isSet = false )
|
||||
public class RemovedFromGame implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "RemovedFromGameReasonEnumType"
|
||||
)
|
||||
public static class RemovedFromGameReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "removedOnRequest", hasTag = true , tag = 0 )
|
||||
removedOnRequest ,
|
||||
@ASN1EnumItem ( name = "kickedFromGame", hasTag = true , tag = 1 )
|
||||
kickedFromGame ,
|
||||
@ASN1EnumItem ( name = "gameIsFull", hasTag = true , tag = 2 )
|
||||
gameIsFull ,
|
||||
@ASN1EnumItem ( name = "gameIsRunning", hasTag = true , tag = 3 )
|
||||
gameIsRunning ,
|
||||
@ASN1EnumItem ( name = "gameTimeout", hasTag = true , tag = 4 )
|
||||
gameTimeout ,
|
||||
@ASN1EnumItem ( name = "removedStartFailed", hasTag = true , tag = 5 )
|
||||
removedStartFailed ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(RemovedFromGameReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "removedFromGameReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private RemovedFromGameReasonEnumType removedFromGameReason = null;
|
||||
|
||||
|
||||
|
||||
public RemovedFromGameReasonEnumType getRemovedFromGameReason () {
|
||||
return this.removedFromGameReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRemovedFromGameReason (RemovedFromGameReasonEnumType value) {
|
||||
this.removedFromGameReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(RemovedFromGame.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
|
||||
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 = "ResetTimeoutMessage" )
|
||||
public class ResetTimeoutMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "ResetTimeoutMessage" , isSet = false )
|
||||
public static class ResetTimeoutMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ResetTimeoutMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ResetTimeoutMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(ResetTimeoutMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "ResetTimeoutMessage", isOptional = false , hasTag = true, tag = 133,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private ResetTimeoutMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public ResetTimeoutMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(ResetTimeoutMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ResetTimeoutMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ResetTimeoutMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,77 @@
|
||||
|
||||
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 = "ShowMyCardsRequestMessage" )
|
||||
public class ShowMyCardsRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "ShowMyCardsRequestMessage" , isSet = false )
|
||||
public static class ShowMyCardsRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_ShowMyCardsRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_ShowMyCardsRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(ShowMyCardsRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "ShowMyCardsRequestMessage", isOptional = false , hasTag = true, tag = 33,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private ShowMyCardsRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public ShowMyCardsRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(ShowMyCardsRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public ShowMyCardsRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(ShowMyCardsRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,94 @@
|
||||
|
||||
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 = "StartEventAckMessage" )
|
||||
public class StartEventAckMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "StartEventAckMessage" , isSet = false )
|
||||
public static class StartEventAckMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_StartEventAckMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_StartEventAckMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(StartEventAckMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "StartEventAckMessage", isOptional = false , hasTag = true, tag = 21,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private StartEventAckMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public StartEventAckMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(StartEventAckMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public StartEventAckMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StartEventAckMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,112 @@
|
||||
|
||||
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 = "StartEventMessage" )
|
||||
public class StartEventMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "StartEventMessage" , isSet = false )
|
||||
public static class StartEventMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
@ASN1Boolean( name = "" )
|
||||
|
||||
@ASN1Element ( name = "fillWithComputerPlayers", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Boolean fillWithComputerPlayers = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Boolean getFillWithComputerPlayers () {
|
||||
return this.fillWithComputerPlayers;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setFillWithComputerPlayers (Boolean value) {
|
||||
this.fillWithComputerPlayers = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_StartEventMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_StartEventMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(StartEventMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "StartEventMessage", isOptional = false , hasTag = true, tag = 20,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private StartEventMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public StartEventMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(StartEventMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public StartEventMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StartEventMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,195 @@
|
||||
|
||||
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 = "StartKickPetitionMessage" )
|
||||
public class StartKickPetitionMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "StartKickPetitionMessage" , isSet = false )
|
||||
public static class StartKickPetitionMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1Element ( name = "gameId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId gameId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "petitionId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId petitionId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "proposingPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId proposingPlayerId = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "kickPlayerId", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private NonZeroId kickPlayerId = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 120L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "kickTimeoutSec", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer kickTimeoutSec = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 9L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "numVotesNeededToKick", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Integer numVotesNeededToKick = null;
|
||||
|
||||
|
||||
|
||||
public NonZeroId getGameId () {
|
||||
return this.gameId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setGameId (NonZeroId value) {
|
||||
this.gameId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getPetitionId () {
|
||||
return this.petitionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setPetitionId (NonZeroId value) {
|
||||
this.petitionId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getProposingPlayerId () {
|
||||
return this.proposingPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setProposingPlayerId (NonZeroId value) {
|
||||
this.proposingPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public NonZeroId getKickPlayerId () {
|
||||
return this.kickPlayerId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setKickPlayerId (NonZeroId value) {
|
||||
this.kickPlayerId = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getKickTimeoutSec () {
|
||||
return this.kickTimeoutSec;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setKickTimeoutSec (Integer value) {
|
||||
this.kickTimeoutSec = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Integer getNumVotesNeededToKick () {
|
||||
return this.numVotesNeededToKick;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNumVotesNeededToKick (Integer value) {
|
||||
this.numVotesNeededToKick = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_StartKickPetitionMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_StartKickPetitionMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(StartKickPetitionMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "StartKickPetitionMessage", isOptional = false , hasTag = true, tag = 66,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private StartKickPetitionMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public StartKickPetitionMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(StartKickPetitionMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public StartKickPetitionMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StartKickPetitionMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "StatisticsData", isSet = false )
|
||||
public class StatisticsData implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "StatisticsTypeEnumType"
|
||||
)
|
||||
public static class StatisticsTypeEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "statNumberOfPlayers", hasTag = true , tag = 1 )
|
||||
statNumberOfPlayers ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StatisticsTypeEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "statisticsType", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private StatisticsTypeEnumType statisticsType = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
@ASN1Element ( name = "statisticsValue", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Long statisticsValue = null;
|
||||
|
||||
|
||||
|
||||
public StatisticsTypeEnumType getStatisticsType () {
|
||||
return this.statisticsType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStatisticsType (StatisticsTypeEnumType value) {
|
||||
this.statisticsType = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Long getStatisticsValue () {
|
||||
return this.statisticsValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStatisticsValue (Long value) {
|
||||
this.statisticsValue = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StatisticsData.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
|
||||
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 = "StatisticsMessage" )
|
||||
public class StatisticsMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "StatisticsMessage" , isSet = false )
|
||||
public static class StatisticsMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
@ASN1SequenceOf( name = "statisticsData", isSetOf = false )
|
||||
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 32L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "statisticsData", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private java.util.Collection<StatisticsData> statisticsData = null;
|
||||
|
||||
|
||||
|
||||
public java.util.Collection<StatisticsData> getStatisticsData () {
|
||||
return this.statisticsData;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setStatisticsData (java.util.Collection<StatisticsData> value) {
|
||||
this.statisticsData = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_StatisticsMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_StatisticsMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(StatisticsMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "StatisticsMessage", isOptional = false , hasTag = true, tag = 128,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private StatisticsMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public StatisticsMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(StatisticsMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public StatisticsMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(StatisticsMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
|
||||
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 = "SubscriptionRequestMessage" )
|
||||
public class SubscriptionRequestMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "SubscriptionRequestMessage" , isSet = false )
|
||||
public static class SubscriptionRequestMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "SubscriptionActionEnumType"
|
||||
)
|
||||
public static class SubscriptionActionEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "unsubscribeGameList", hasTag = true , tag = 1 )
|
||||
unsubscribeGameList ,
|
||||
@ASN1EnumItem ( name = "resubscribeGameList", hasTag = true , tag = 2 )
|
||||
resubscribeGameList ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(SubscriptionActionEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "subscriptionAction", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private SubscriptionActionEnumType subscriptionAction = null;
|
||||
|
||||
|
||||
|
||||
public SubscriptionActionEnumType getSubscriptionAction () {
|
||||
return this.subscriptionAction;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setSubscriptionAction (SubscriptionActionEnumType value) {
|
||||
this.subscriptionAction = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_SubscriptionRequestMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_SubscriptionRequestMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(SubscriptionRequestMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "SubscriptionRequestMessage", isOptional = false , hasTag = true, tag = 10,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private SubscriptionRequestMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public SubscriptionRequestMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(SubscriptionRequestMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public SubscriptionRequestMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(SubscriptionRequestMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,155 @@
|
||||
|
||||
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 = "TimeoutWarningMessage" )
|
||||
public class TimeoutWarningMessage implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Sequence ( name = "TimeoutWarningMessage" , isSet = false )
|
||||
public static class TimeoutWarningMessageSequenceType implements IASN1PreparedElement {
|
||||
|
||||
|
||||
@ASN1PreparedElement
|
||||
@ASN1Enum (
|
||||
name = "TimeoutReasonEnumType"
|
||||
)
|
||||
public static class TimeoutReasonEnumType implements IASN1PreparedElement {
|
||||
public enum EnumType {
|
||||
|
||||
@ASN1EnumItem ( name = "timeoutNoDataReceived", hasTag = true , tag = 0 )
|
||||
timeoutNoDataReceived ,
|
||||
@ASN1EnumItem ( name = "timeoutInactiveGame", hasTag = true , tag = 1 )
|
||||
timeoutInactiveGame ,
|
||||
}
|
||||
|
||||
private EnumType value;
|
||||
private Integer integerForm;
|
||||
|
||||
public EnumType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
public void setValue(EnumType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Integer getIntegerForm() {
|
||||
return integerForm;
|
||||
}
|
||||
|
||||
public void setIntegerForm(Integer value) {
|
||||
integerForm = value;
|
||||
}
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(TimeoutReasonEnumType.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ASN1Element ( name = "timeoutReason", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private TimeoutReasonEnumType timeoutReason = null;
|
||||
|
||||
@ASN1Integer( name = "" )
|
||||
|
||||
@ASN1Element ( name = "remainingSeconds", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private Long remainingSeconds = null;
|
||||
|
||||
|
||||
|
||||
public TimeoutReasonEnumType getTimeoutReason () {
|
||||
return this.timeoutReason;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setTimeoutReason (TimeoutReasonEnumType value) {
|
||||
this.timeoutReason = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public Long getRemainingSeconds () {
|
||||
return this.remainingSeconds;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setRemainingSeconds (Long value) {
|
||||
this.remainingSeconds = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData_TimeoutWarningMessageSequenceType;
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData_TimeoutWarningMessageSequenceType = CoderFactory.getInstance().newPreparedElementData(TimeoutWarningMessageSequenceType.class);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ASN1Element ( name = "TimeoutWarningMessage", isOptional = false , hasTag = true, tag = 132,
|
||||
tagClass = TagClass.Application , hasDefaultValue = false )
|
||||
|
||||
private TimeoutWarningMessageSequenceType value;
|
||||
|
||||
|
||||
|
||||
public TimeoutWarningMessage () {
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setValue(TimeoutWarningMessageSequenceType value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public TimeoutWarningMessageSequenceType getValue() {
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(TimeoutWarningMessage.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "UnauthenticatedLogin", isSet = false )
|
||||
public class UnauthenticatedLogin implements IASN1PreparedElement {
|
||||
|
||||
@ASN1String( name = "",
|
||||
stringType = UniversalTag.UTF8String , isUCS = false )
|
||||
@ASN1ValueRangeConstraint (
|
||||
|
||||
min = 1L,
|
||||
|
||||
max = 64L
|
||||
|
||||
)
|
||||
|
||||
@ASN1Element ( name = "nickName", isOptional = false , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private String nickName = null;
|
||||
|
||||
|
||||
@ASN1Element ( name = "avatar", isOptional = true , hasTag = false , hasDefaultValue = false )
|
||||
|
||||
private AvatarHash avatar = null;
|
||||
|
||||
|
||||
|
||||
public String getNickName () {
|
||||
return this.nickName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void setNickName (String value) {
|
||||
this.nickName = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public AvatarHash getAvatar () {
|
||||
return this.avatar;
|
||||
}
|
||||
|
||||
|
||||
public boolean isAvatarPresent () {
|
||||
return this.avatar != null;
|
||||
}
|
||||
|
||||
|
||||
public void setAvatar (AvatarHash value) {
|
||||
this.avatar = value;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(UnauthenticatedLogin.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "UnknownAvatar", isSet = false )
|
||||
public class UnknownAvatar implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(UnknownAvatar.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
|
||||
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
|
||||
@ASN1Sequence ( name = "UnknownPlayerInfo", isSet = false )
|
||||
public class UnknownPlayerInfo implements IASN1PreparedElement {
|
||||
|
||||
|
||||
|
||||
public void initWithDefaults() {
|
||||
|
||||
}
|
||||
|
||||
private static IASN1PreparedElementData preparedData = CoderFactory.getInstance().newPreparedElementData(UnknownPlayerInfo.class);
|
||||
public IASN1PreparedElementData getPreparedData() {
|
||||
return preparedData;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user