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 v a 2 s .co m*/ import java.io.ByteArrayOutputStream; public class NET_GRANT_PLAYER extends NET_HEADER { public int player; /* int 8 */ public NET_GRANT_PLAYER() { super(Network.MSG_GRANT_PLAYER, 1); } public NET_GRANT_PLAYER(NET_HEADER from) { super(from); player = buffer[0]; } @Override void prepare(ByteArrayOutputStream bos) { super.prepare(bos); bos.write(player); } }