protected override void setUpObject(RectTransform item, int poolIndex)
    {
        FriendListItem component = item.GetComponent <FriendListItem>();
        bool           flag      = !isAddFriendButtonVisible || poolIndex > 0;

        if (flag)
        {
            DataEntityHandle handleFromPoolIndex = getHandleFromPoolIndex(poolIndex);
            base.setUpObject(item, poolIndex);
            component.SetMembershipType(getMembershipType(handleFromPoolIndex));
            bool isPending = getListIndex(poolIndex) >= visiblePlayersList.Count;
            component.SetIsPending(isPending);
        }
        component.SetIsFriend(flag);
    }