Beispiel #1
0
        public bool MigrateIn(INetworkPlayer player)
        {
            if (Clients.ContainsKey(player.SocketID))
            {
                return(true);
            }

            player.Init(this, NetServer);

            Clients.Add(player.SocketID, player);
            //Entities.Add(player.CharacterEntity.EntityID, player.CharacterEntity);

            return(true);
        }