<commit_before>using UnityEngine;

namespace Extensions
{
    /// <summary>
    /// Extension methods for UnityEngine.NetworkPlayer.
    /// </summary>
    public static class NetworkPlayerExtensions
    {
        /// <summary>
        /// Gets the numeric index of the network player.
        /// </summary>
        /// <param name="networkPlayer">Network player.</param>
        /// <returns>Network player index.</returns>
        public static int GetIndex(this NetworkPlayer networkPlayer)
        {
            return int.Parse(networkPlayer.ToString());
        }
    }
}<commit_msg>Disable NetworkPlayer extensions in WebGL<commit_after>#if !UNITY_WEBGL

using UnityEngine;

namespace Extensions
{
    /// <summary>
    /// Extension methods for UnityEngine.NetworkPlayer.
    /// </summary>
    public static class NetworkPlayerExtensions
    {
        /// <summary>
        /// Gets the numeric index of the network player.
        /// </summary>
        /// <param name="networkPlayer">Network player.</param>
        /// <returns>Network player index.</returns>
        public static int GetIndex(this NetworkPlayer networkPlayer)
        {
            return int.Parse(networkPlayer.ToString());
        }
    }
}

#endif
{'fraction_non_alphanumeric': 0.11750405186385737, 'fraction_numerical': 0.0, 'mean_word_length': 2.2161458333333335, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7557520', 'n_tokens_mistral': 304, 'n_tokens_neox': 304, 'n_words': 83}