Beispiel #1
0
        public static byte[] ShowPlayerAction(GPlayer lobbyPlayer, TLOBBY_ACTION action)
        {
            var result = new PangyaBinaryWriter();

            result.Write(new byte[] { 0x46, 0x00 });
            result.WriteByte((byte)action); //ACTION PLAYER
            result.WriteByte(1);            //TOTAL PLAYERS IN ACTION
            result.Write(lobbyPlayer.GetLobbyInfo());

            return(result.GetBytes());
        }