project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/netplay/GameMessageListener.java
Hedgeroid: Frantic scrabbling toward the deadline
- Added activities for weapon/scheme editors (unfinished)
- Completed tablet version of netroom activity
- Added map preview
- Fixed default team files having the wrong names
- Restructuring
- Updated frontlib JNA bindings to respect the latest frontlib changes
package org.hedgewars.hedgeroid.netplay;
/**
* Interface with several event callbacks that represent network messages which are interesting
* for a running game, e.g. because they concern the lifecycle of the game or because they contain
* data that needs to be passed on.
*
* These functions might be called on any thread.
*/
public interface GameMessageListener {
void onChatMessage(String nick, String message);
void onEngineMessage(byte[] em);
void onMessage(int type, String message);
void onNetDisconnected();
}