Exemple #1
0
    void Awake()
    {
        Instance = this;

        OnConnected += OnConnectedToServer;

        if (ConnectOnAwake)
        {
            Connect();
        }
    }
Exemple #2
0
        public WelcomeScreen()
        {
            InitializeComponent();

            VersionLabel.Text = @"v " + Program.GetVersion();

            FormClosed += WelcomeScreen_FormClosed;

            Ti = new TwitchIrc();
            Ti.OnReceiveMessage += ReceiveMessage;
            Ti.OnConnected      += TI_OnConnected;
            Ti.OnDisconnected   += TI_OnDisconnected;
            Ti.OnUserJoin       += Ti_OnUserJoin;
            Ti.OnUserLeave      += Ti_OnUserLeave;

            if (Settings.Default.TwitchUsername != "" && Settings.Default.TwitchPassword != "")
            {
                ShowListenButton();
            }
        }
    void Awake()
    {
        Instance = this;

        OnConnected += OnConnectedToServer;

        if (ConnectOnAwake)
            Connect();
    }
Exemple #4
0
    void Awake()
    {
        Instance = this;

        OnConnected += OnConnectedToServer;
        Channel = GameManagement.instance.getChannelName();

        if (ConnectOnAwake)
            Connect();
    }