60 lines
1.5 KiB
Java
60 lines
1.5 KiB
Java
|
|||
|
|
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 ,
|
||
|
|
}
|
||
|
|
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|