Public Types
- enum GGZCoreGameEvent { launched,
launchfail,
negotiated,
negotiatefail,
data,
over,
ioerror,
protoerror
}
Public Methods
Every game is represented by an object of this type.
enum GGZCoreGameEvent { launched,
launchfail,
negotiated,
negotiatefail,
data,
over,
ioerror,
protoerror
}
| GGZCoreGameEvent |
Events which can occur during a game.
GGZCoreGame ()
| GGZCoreGame |
Constructor
~GGZCoreGame ()
| ~GGZCoreGame |
Destructor
int addHook (const GGZCoreGameEvent event, const GGZHookFunc func)
| addHook |
Add a simple callback to the game.
int addHook (const GGZCoreGameEvent event, const GGZHookFunc func, void* data)
| addHook |
Add a callback with arguments.
int removeHook (const GGZCoreGameEvent event, const GGZHookFunc func)
| removeHook |
Remove a callback from the game.
int removeHook (const GGZCoreGameEvent event, const unsigned int id)
| removeHook |
Overloaded: Remove a callback on its id.
int init (GGZModule* module)
| init |
Initialize this game.
Return the specific file descriptor.
GGZModule* module ()
| module |
Return the associated module.
Launch this game.
Join this game.
int dataSend (char* buffer)
| dataSend |
Send other data.
int dataPending ()
| dataPending |
Control data flow.
Returns whether data is read.
int dataWrite ()
| dataWrite |
Return whether data is written.
Generated by: josef on athlon500 on Tue Mar 19 23:18:22 2002, using kdoc 2.0a53. |