// -------------------------------------------------------------------------------- // MapReduce // -------------------------------------------------------------------------------- // Get followers public static Coroutine GetFollowers(LobbyPlayer player) { return(GameDB.instance.StartCoroutine(GameDB.MapReduce <string>( "AccountToFriends", GameDB.GetSearchMapFunction("groups"), followersReduceFunction, player.accountId, data => { player.followers = data; // Send new followers list player.OnFollowersListLoaded(); } ))); }