Exemplo n.º 1
0
        protected override async void OnPlayerConnected(NeutronPlayer player, bool isMine, Neutron neutron)
        {
            if (isMine)
            {
                await neutron.Synchronize();
            }
            var players = neutron.GetPlayers();

            foreach (var pl in players)
            {
                LogHelper.Error(pl.Nickname);
            }
        }