<commit_before>using System;
using System.Globalization;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace LazerTagHostLibrary
{
    public interface IHostChangedListener
    {
        void PlayerListChanged(List<Player> players);
        void GameStateChanged(HostGun.HostingState state);
    }

    public class HostGun
    {
		private static void HostDebugWriteLine(string format, params object[] arguments)
	    {
			Console.WriteLine("{0}: {1}", DateTime.Now, String.Format(format, arguments));
		}

		//private struct GameState
		//{
		//    public CommandCode game_type;
		//    public byte game_time_minutes;
		//    public int game_start_countdown_seconds;
		//    public byte tags;
		//    public byte reloads;
		//    public byte shield;
		//    public byte mega;
		//    public bool team_tag;
		//    public bool medic_mode;
		//    public byte number_of_teams;
		//};

	    private struct ConfirmJoinState {
            public byte TaggerId;
        };

        public enum HostingState {
            Idle,
            Adding,
            ConfirmJoin,
            Countdown,
            Playing,
            Summary,
            GameOver,
        };

        // TODO: Export only game types
        public enum CommandCode
		{
            //Game Types
            COMMAND_CODE_CUSTOM_GAME_MODE_HOST = 0x02, //Solo
            COMMAND_CODE_2TMS_GAME_MODE_HOST = 0x03,
            COMMAND_CODE_3TMS_GAME_MODE_HOST = 0x04,
            COMMAND_CODE_HIDE_AND_SEEK_GAME_MODE_HOST = 0x05,
            COMMAND_CODE_HUNT_THE_PREY_GAME_MODE_HOST = 0x06,
            COMMAND_CODE_2_KINGS_GAME_MODE_HOST = 0x07,
            COMMAND_CODE_3_KINGS_GAME_MODE_HOST = 0x08,<commit_msg>Code cleanup.<commit_after>using System;
using System.Globalization;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace LazerTagHostLibrary
{
    public interface IHostChangedListener
    {
        void PlayerListChanged(List<Player> players);
        void GameStateChanged(HostGun.HostingState state);
    }

    public class HostGun
    {
		private static void HostDebugWriteLine(string format, params object[] arguments)
	    {
			Console.WriteLine("{0}: {1}", DateTime.Now, String.Format(format, arguments));
		}

	    private struct ConfirmJoinState {
            public byte TaggerId;
        };

        public enum HostingState {
            Idle,
            Adding,
            ConfirmJoin,
            Countdown,
            Playing,
            Summary,
            GameOver,
        };

        // TODO: Export only game types
        public enum CommandCode
		{
            //Game Types
            COMMAND_CODE_CUSTOM_GAME_MODE_HOST = 0x02, //Solo
            COMMAND_CODE_2TMS_GAME_MODE_HOST = 0x03,
            COMMAND_CODE_3TMS_GAME_MODE_HOST = 0x04,
            COMMAND_CODE_HIDE_AND_SEEK_GAME_MODE_HOST = 0x05,
            COMMAND_CODE_HUNT_THE_PREY_GAME_MODE_HOST = 0x06,
            COMMAND_CODE_2_KINGS_GAME_MODE_HOST = 0x07,
            COMMAND_CODE_3_KINGS_GAME_MODE_HOST = 0x08,
{'fraction_non_alphanumeric': 0.07014093739757457, 'fraction_numerical': 0.017699115044247787, 'mean_word_length': 2.2502662406815763, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6934486', 'n_tokens_mistral': 1015, 'n_tokens_neox': 922, 'n_words': 189}