public async Task Start(UdpHost host, IPEndPoint server) { var entitiesServiceLocation = new ServiceLocation(server, "entities"); AvatarService = new AvatarService(entitiesServiceLocation); ViewerService = new ViewerService(entitiesServiceLocation, AvatarService.Id); await AvatarService.Start(host.CreateCommunicator()); await ViewerService.Start(host.CreateCommunicator()); }
public async Task Start(UdpHost host) { var entitiesService = new EntitiesService(); await entitiesService.Start(host.CreateCommunicator("entities")); }