Files
pokerth/tests/src/pokerth_protocol/NetPlayerState.java
T

62 lines
1.7 KiB
Java
Raw Normal View History

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 = "NetPlayerState"
)
public class NetPlayerState implements IASN1PreparedElement {
public enum EnumType {
@ASN1EnumItem ( name = "playerStateNormal", hasTag = true , tag = 0 )
playerStateNormal ,
@ASN1EnumItem ( name = "playerStateSessionInactive", hasTag = true , tag = 1 )
playerStateSessionInactive ,
@ASN1EnumItem ( name = "playerStateNoMoney", hasTag = true , tag = 2 )
playerStateNoMoney ,
}
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(NetPlayerState.class);
public IASN1PreparedElementData getPreparedData() {
return preparedData;
}
}