public interface ModTransactionHandler
extends java.util.EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
handle_boot(java.lang.String name)
Boot a player
|
void |
handle_bot(int seat_num)
Put a bot into an open seat.
|
void |
handle_chat(ChatType type,
java.lang.String recipient,
java.lang.String chat)
A chat originating from the game client.
|
void |
handle_error(java.lang.Throwable exception)
There was an error communicating with the game client.
|
void |
handle_info(int seat_num)
Information about one or more players.
|
void |
handle_open(int seat_num)
Replace a bot/reserved seat with an open one.
|
void |
handle_sit(int seat_num)
Sit down (stop spectatin; join a seat)
|
void |
handle_stand()
Stand up (leave your seat; become a spectator)
|
void |
handle_state(ModState prev)
The game client has notified us of a state change.
|
void handle_sit(int seat_num)
throws java.io.IOException
java.io.IOExceptionvoid handle_stand()
throws java.io.IOException
java.io.IOExceptionvoid handle_boot(java.lang.String name)
throws java.io.IOException
java.io.IOExceptionvoid handle_open(int seat_num)
throws java.io.IOException
java.io.IOExceptionvoid handle_bot(int seat_num)
throws java.io.IOException
java.io.IOExceptionvoid handle_chat(ChatType type, java.lang.String recipient, java.lang.String chat) throws java.io.IOException
java.io.IOExceptionvoid handle_info(int seat_num)
throws java.io.IOException
java.io.IOExceptionvoid handle_state(ModState prev) throws java.io.IOException
java.io.IOExceptionvoid handle_error(java.lang.Throwable exception)