private bool onIgloosFromZoneIdsLoaded(IglooServiceEvents.IgloosFromZoneIdsLoaded evt) { List <DataEntityHandle> list = new List <DataEntityHandle>(Service.Get <CPDataEntityCollection>().GetEntitiesByType <ProfileData>()); for (int i = 0; i < evt.RoomPopulations.Count; i++) { RoomPopulation roomPopulation = evt.RoomPopulations[i]; DataEntityHandle handle = evt.Handles[i]; addOtherPlayerIglooListing(handle, roomPopulation.populationScaled); } return(false); }
private bool onIgloosFromZoneIdsLoaded(IglooServiceEvents.IgloosFromZoneIdsLoaded evt) { if (iglooListingType == IglooListingType.Friends) { allPlayersList.Clear(); allPlayersList.AddRange(FriendsDataModelService.FriendsList); if (allPlayersList.Count == 0) { emptyFriendsObject.SetActive(value: true); } IglooLoadComplete(); } return(false); }