|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggz.client.core.GameEvent
public class GameEvent
A GGZGameEvent is an event associated with the game, that is triggered by a communication from the server or from the game. When a game event occurs, the associated event handle will be called, and will be passed the event data (a void*) along with the (optional) user data. All game events apply to the current game. Game events are usually triggered by calling ggzcore_server_read_data or ggzcore_game_read_data.
ggzcore_game_add_event_hook
,
ggzcore_server_read_data
Field Summary | |
---|---|
static GameEvent |
GGZ_GAME_LAUNCH_FAIL
Your game launch has failed. |
static GameEvent |
GGZ_GAME_LAUNCHED
A game was launched by the player (you). |
static GameEvent |
GGZ_GAME_NEGOTIATE_FAIL
Negotiation was not successful, game launch failed. |
static GameEvent |
GGZ_GAME_NEGOTIATED
Negotiation with server was successful. |
static GameEvent |
GGZ_GAME_PLAYING
Game reached the 'playing' state. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final GameEvent GGZ_GAME_LAUNCHED
ggzcore_game_launch
public static final GameEvent GGZ_GAME_LAUNCH_FAIL
GGZ_GAME_LAUNCHED
public static final GameEvent GGZ_GAME_NEGOTIATED
public static final GameEvent GGZ_GAME_NEGOTIATE_FAIL
public static final GameEvent GGZ_GAME_PLAYING
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |