public interface RoomListener
extends java.util.EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
chat_event(ChatEventData data)
Received a chat message of any kind.
|
void |
player_count(int count)
The number of players in a room has arrived.
|
void |
player_lag(Player player)
A player's lag (measure of connection speed) has been updated
|
void |
player_list(java.util.List players)
The list of players in a room has arrived.
|
void |
player_stats(Player player)
A player's stats have been updated.
|
void |
room_enter(RoomChangeEventData data)
A player has entered the room with you.
|
void |
room_leave(RoomChangeEventData data)
A player has left your room.
|
void |
table_add(Table table)
A table has been created.
|
void |
table_delete(Table table)
A table has been removed from the room.
|
void |
table_join_fail(java.lang.String error)
Joining a table did not succeed.
|
void |
table_joined(int table_index)
Your table join attempt has succeeded.
|
void |
table_launch_fail(ErrorEventData data)
The table you tried to launch couldn't be launched
|
void |
table_launched()
The table you tried to launch has launched!
|
void |
table_leave_fail(java.lang.String error)
Your attempt to leave the table has failed.
|
void |
table_left(TableLeaveEventData data)
You have successfully left the table you were at.
|
void |
table_list()
Received the list of active tables.
|
void |
table_update(Table table)
One of the tables in the current room has changed.
|
void player_list(java.util.List players)
players - The list of players.ggzcore_room_list_playersvoid table_list()
data - NULLggzcore_room_list_tablesvoid chat_event(ChatEventData data)
data - The GGZChatEventData associated with the chat.GGZChatEventDatavoid room_enter(RoomChangeEventData data)
data - A GGZRoomChangeEventData structure.void room_leave(RoomChangeEventData data)
data - A GGZRoomChangeEventData structure.void table_add(Table table)
data - the table that was addedvoid table_delete(Table table)
data - the table that was removedvoid table_update(Table table)
data - the table that was updatedvoid table_launched()
data - NULLggzcore_room_launch_tablevoid table_launch_fail(ErrorEventData data)
data - A pointer to a GGZErrorEventDatavoid TABLE_LAUNCHEDvoid table_joined(int table_index)
data - The table index (int*) of the table we joined.ggzcore_room_join_tablevoid table_join_fail(java.lang.String error)
data - A helpful error string.void TABLE_JOINEDvoid table_left(TableLeaveEventData data)
data - The GGZTableLeaveEventData associated with the leave.ggzcore_room_leave_table,
GGZTableLeaveEventDatavoid table_leave_fail(java.lang.String error)
data - A helpful error string.void TABLE_LEFTvoid player_lag(Player player)
player - The player whose lag has changed.ggzcore_player_get_lagvoid player_stats(Player player)
player - The player whose stats have changed.void PLAYER_LIST,
ggzcore_player_get_record,
ggzcore_player_get_rating,
ggzcore_player_get_ranking,
ggzcore_player_get_highscorevoid player_count(int count)
count - The number of players in the room.