Exemple #1
0
    // Token: 0x06011546 RID: 70982 RVA: 0x005F8938 File Offset: 0x005F6B38
    private IEnumerator LNEJMKFDKJH(CSteamID JMMILEFMACB)
    {
        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadSteamPlayername(JMMILEFMACB, false)));

        this.nicknameText.text = ResourcesManager.GetLoadedSteamPlayernameWithColoredRank(JMMILEFMACB, true);
        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadAvatar(JMMILEFMACB, false)));

        if (ResourcesManager.GetLoadedAvatar(JMMILEFMACB))
        {
            this.icon.sprite = ResourcesManager.GetLoadedAvatar(JMMILEFMACB);
        }
        loadedRank  = RanksSystem.GetLoadedRank(JMMILEFMACB);
        jmiclaeofnp = 0;
        if (loadedRank != null)
        {
            jmiclaeofnp = RanksSystem.GetLoadedRank(JMMILEFMACB).place;
        }
        this.bg.color = RanksSystem.GetRankColor(jmiclaeofnp, false);
        yield return(base.StartCoroutine(Singleton <ContributorSystem> .Instance.LoadContributor(JMMILEFMACB)));

        this.contributorGO.SetActive(Singleton <ContributorSystem> .Instance.IsContributor(JMMILEFMACB));
        yield return(base.StartCoroutine(base.GetComponent <ContentSizeFitterFx>().RunFix()));

        yield break;
    }
    // Token: 0x0600DC5B RID: 56411 RVA: 0x004DF61C File Offset: 0x004DD81C
    private IEnumerator DKEGICAPCII(RanksSystem.PlayersRank NMHGNJMJFGO)
    {
        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadSteamPlayername(this.playerId, false)));

        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadAvatar(this.playerId, false)));

        this.username.text  = ResourcesManager.GetLoadedSteamPlayernameColored(this.playerId, true);
        this.avatar.sprite  = ResourcesManager.GetLoadedAvatar(this.playerId);
        this.avatarBG.color = RanksSystem.GetRankColor(NMHGNJMJFGO.place, true);
        this.position.text  = string.Empty + NMHGNJMJFGO.place;
        mjhmifpojea         = DateTime.ParseExact(NMHGNJMJFGO.updated, "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture);
        this.date.text      = string.Empty + Helpers.GetRelativeDateTime(mjhmifpojea);
        numberFormatInfo    = (NumberFormatInfo)CultureInfo.InvariantCulture.NumberFormat.Clone();
        numberFormatInfo.NumberGroupSeparator = " ";
        this.score.text     = string.Empty + NMHGNJMJFGO.totalScore.ToString("#,0", numberFormatInfo);
        this.accurancy.text = string.Empty + (NMHGNJMJFGO.avgAccuracy * 100f).ToString("#,0.00", numberFormatInfo) + "%";
        this.misses.text    = string.Empty + NMHGNJMJFGO.avgMisses.ToString("#,0.00", numberFormatInfo);
        yield break;
    }
    // Token: 0x060116BF RID: 71359 RVA: 0x005FF5E8 File Offset: 0x005FD7E8
    private IEnumerator PPEADOFJLAD(CSteamID JMMILEFMACB)
    {
        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadSteamPlayername(JMMILEFMACB, false)));

        this.nicknameText.text = ResourcesManager.GetLoadedSteamPlayernameWithColoredRank(JMMILEFMACB, false);
        yield return(base.StartCoroutine(Singleton <ResourcesManager> .Instance.LoadAvatar(JMMILEFMACB, false)));

        if (ResourcesManager.GetLoadedAvatar(JMMILEFMACB))
        {
            this.icon.sprite = ResourcesManager.GetLoadedAvatar(JMMILEFMACB);
        }
        RanksSystem.PlayersRank loadedRank = RanksSystem.GetLoadedRank(JMMILEFMACB);
        int jmiclaeofnp = 0;

        if (loadedRank != null)
        {
            jmiclaeofnp = RanksSystem.GetLoadedRank(JMMILEFMACB).place;
        }
        this.bg.color = RanksSystem.GetRankColor(jmiclaeofnp, false);
        yield return(base.StartCoroutine(Singleton <ContributorSystem> .Instance.LoadContributor(JMMILEFMACB)));

        this.contributorGO.SetActive(Singleton <ContributorSystem> .Instance.IsContributor(JMMILEFMACB));
        yield break;
    }