Example #1
0
        private static bool OnReceiveMove(ByteArray byteArray, IPokemonBattleClientService clientService)
        {
            PlayerMove move = new PlayerMove();

            move.ReadFromByteArray(byteArray);
            clientService.OnReceiveMove(move);
            return(true);
        }