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 w w w . j a va2 s. c om import java.io.ByteArrayOutputStream; public class NET_CURRENT_PLAYER extends NET_HEADER { public int player; /* int 8 */ public NET_CURRENT_PLAYER() { super(Network.MSG_CURRENT_PLAYER, 1); } public NET_CURRENT_PLAYER(NET_HEADER from) { super(from); player = buffer[0]; } @Override void prepare(ByteArrayOutputStream bos) { super.prepare(bos); bos.write(player); } }