in, MSG_GAME_CHAT, MSG_GAME_INFO, MSG_GAME_LAUNCH, MSG_GAME_PLAYER, MSG_GAME_SEAT, MSG_GAME_SERVER, MSG_GAME_SERVER_FD, MSG_GAME_SPECTATOR_SEAT, MSG_GAME_STATE, MSG_GAME_STATS, out, REQ_BOOT, REQ_BOT, REQ_CHAT, REQ_INFO, REQ_OPEN, REQ_SIT, REQ_STAND| Constructor and Description |
|---|
ModGameSocketIO(ModGame ggzmod) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
sendReqBoot(java.lang.String name) |
void |
sendReqInfo(int seatNum) |
void |
sendReqSit(int seatNum) |
void |
sendReqStand() |
void |
sendRequestBot(int seatNum) |
void |
sendRequestChat(ChatType type,
java.lang.String target,
java.lang.String chatMsg) |
void |
sendRequestOpen(int seatNum) |
void |
sendState(ModState state) |
readBoolean, readInt, readSeatType, readState, readString, writeBoolean, writeInt, writeSeatType, writeState, writeStringpublic ModGameSocketIO(ModGame ggzmod) throws java.io.IOException
java.io.IOExceptionpublic void run()
run in interface java.lang.Runnablepublic void sendState(ModState state) throws java.io.IOException
public void sendReqStand()
throws java.io.IOException
sendReqStand in interface ModGameIOjava.io.IOExceptionpublic void sendReqSit(int seatNum)
throws java.io.IOException
sendReqSit in interface ModGameIOjava.io.IOExceptionpublic void sendReqBoot(java.lang.String name)
throws java.io.IOException
sendReqBoot in interface ModGameIOjava.io.IOExceptionpublic void sendRequestBot(int seatNum)
throws java.io.IOException
sendRequestBot in interface ModGameIOjava.io.IOExceptionpublic void sendRequestOpen(int seatNum)
throws java.io.IOException
sendRequestOpen in interface ModGameIOjava.io.IOExceptionpublic void sendRequestChat(ChatType type, java.lang.String target, java.lang.String chatMsg) throws java.io.IOException
sendRequestChat in interface ModGameIOjava.io.IOExceptionpublic void sendReqInfo(int seatNum)
throws java.io.IOException
sendReqInfo in interface ModGameIOjava.io.IOException