public class ModIO
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.DataInputStream |
in |
protected static int |
MSG_GAME_CHAT |
protected static int |
MSG_GAME_INFO |
protected static int |
MSG_GAME_LAUNCH
Messages sent from the ggz core client to the game client.
|
protected static int |
MSG_GAME_PLAYER
Info about this player (us).
|
protected static int |
MSG_GAME_SEAT
Sent from GGZ to game to tell of a seat change.
|
protected static int |
MSG_GAME_SERVER |
protected static int |
MSG_GAME_SERVER_FD |
protected static int |
MSG_GAME_SPECTATOR_SEAT |
protected static int |
MSG_GAME_STATE
Messages sent from the game client to the ggz core client.
|
protected static int |
MSG_GAME_STATS |
protected java.io.DataOutputStream |
out |
protected static int |
REQ_BOOT |
protected static int |
REQ_BOT |
protected static int |
REQ_CHAT |
protected static int |
REQ_INFO |
protected static int |
REQ_OPEN |
protected static int |
REQ_SIT |
protected static int |
REQ_STAND |
| Constructor and Description |
|---|
ModIO() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
readBoolean() |
protected int |
readInt() |
protected SeatType |
readSeatType() |
protected ModState |
readState() |
protected java.lang.String |
readString() |
protected void |
writeBoolean(boolean b) |
protected void |
writeInt(int v) |
protected void |
writeSeatType(SeatType type) |
protected void |
writeState(ModState state) |
protected void |
writeString(java.lang.String s) |
protected static final int MSG_GAME_STATE
protected static final int REQ_STAND
protected static final int REQ_SIT
protected static final int REQ_BOOT
protected static final int REQ_BOT
protected static final int REQ_OPEN
protected static final int REQ_CHAT
protected static final int REQ_INFO
protected static final int MSG_GAME_LAUNCH
protected static final int MSG_GAME_SERVER
protected static final int MSG_GAME_SERVER_FD
protected static final int MSG_GAME_PLAYER
protected static final int MSG_GAME_SEAT
protected static final int MSG_GAME_SPECTATOR_SEAT
protected static final int MSG_GAME_CHAT
protected static final int MSG_GAME_STATS
protected static final int MSG_GAME_INFO
protected java.io.DataInputStream in
protected java.io.DataOutputStream out
protected int readInt()
throws java.io.IOException
java.io.IOExceptionprotected void writeInt(int v)
throws java.io.IOException
java.io.IOExceptionprotected void writeString(java.lang.String s)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String readString()
throws java.io.IOException
java.io.IOExceptionprotected boolean readBoolean()
throws java.io.IOException
java.io.IOExceptionprotected void writeBoolean(boolean b)
throws java.io.IOException
java.io.IOExceptionprotected SeatType readSeatType() throws java.io.IOException
java.io.IOExceptionprotected void writeSeatType(SeatType type) throws java.io.IOException
java.io.IOExceptionprotected ModState readState() throws java.io.IOException
java.io.IOExceptionprotected void writeState(ModState state) throws java.io.IOException
java.io.IOException