Back to project page Freebloks-Android.
The source code is released under:
GNU General Public License
If you think the Android project Freebloks-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.saschahlusiak.freebloks.network; //from www . j a v a2 s . c om import java.io.ByteArrayOutputStream; public class NET_REQUEST_HINT extends NET_HEADER { public int player; /* int8 */ public NET_REQUEST_HINT(int player) { super(Network.MSG_REQUEST_HINT, 1); this.player = player; } public NET_REQUEST_HINT(NET_HEADER from) { super(from); player = buffer[0]; } @Override void prepare(ByteArrayOutputStream bos) { super.prepare(bos); bos.write(player); } }