Beispiel #1
0
        private void Callbacks_PlayerConnect(object sender, Core.Communication.EventArguments.Callbacks.PlayerConnectEventArgs e)
        {
            PlayersCount++;

            Action action = () => FillPlayersTextBlock(PlayersCount, MaxPlayersCount);

            Dispatcher.Invoke(action, null);
        }
Beispiel #2
0
 private void Callbacks_PlayerConnect(object sender, Core.Communication.EventArguments.Callbacks.PlayerConnectEventArgs e)
 {
     Log("Player connected: " + e.GetDumpString());
 }