<commit_before>﻿using System;
using PlayerIOClient;

namespace Skylight
{
    /// <summary>
    ///     This class sets the properties about a player such as who the player is (username), their most
    ///     recent message and where they are (the room that they are in).
    /// </summary>
    public class PlayerEventArgs : EventArgs
    {
        /// <summary>
        ///     The main constructor method.
        /// </summary>
        /// <param name="subject">The player</param>
        /// <param name="origin">The room where the player is originating in.</param>
        /// <param name="rawMessage">The raw, unparsed message from the server (concerning player).</param>
        public PlayerEventArgs(Player subject, Room origin, Message rawMessage)
        {
            Subject = subject;
            Origin = origin;
            RawMessage = rawMessage;
        }

        /// <summary>
        ///     The username of the player.
        /// </summary>
        private Player Subject { get; set; }

        /// <summary>
        ///     The room that the player is originating in.
        /// </summary><commit_msg>TODO for changing function signuature in PlayerArgs<commit_after>﻿using System;
using PlayerIOClient;

namespace Skylight
{
    /// <summary>
    ///     This class sets the properties about a player such as who the player is (username), their most
    ///     recent message and where they are (the room that they are in).
    /// </summary>
    public class PlayerEventArgs : EventArgs
    {
        /// <summary>
        ///     The main constructor method.
        /// </summary>
        /// <param name="subject">The player</param>
        /// <param name="origin">The room where the player is originating in.</param>
        /// <param name="rawMessage">The raw, unparsed message from the server (concerning player).</param>
        
        // TODO: make the room and message option optional (room is always used; message is used sometimes)
        public PlayerEventArgs(Player subject, Room origin, Message rawMessage)
        {
            Subject = subject;
            Origin = origin;
            RawMessage = rawMessage;
        }

        /// <summary>
        ///     The username of the player.
        /// </summary>
        private Player Subject { get; set; }

        /// <summary>
        ///     The room that the player is originating in.
        /// </summary>
{'fraction_non_alphanumeric': 0.11097308488612836, 'fraction_numerical': 0.0, 'mean_word_length': 1.859171597633136, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '2220472', 'n_tokens_mistral': 591, 'n_tokens_neox': 582, 'n_words': 229}