// Token: 0x0600B675 RID: 46709 RVA: 0x004331A4 File Offset: 0x004313A4
    public void SetCustomProperties(Hashtable ENEEBHGAAJH, Hashtable DBBFANEJNGI = null, bool CDBHGINNCOF = false)
    {
        if (ENEEBHGAAJH == null)
        {
            return;
        }
        Hashtable hashtable  = ENEEBHGAAJH.StripToStringKeys();
        Hashtable hashtable2 = DBBFANEJNGI.StripToStringKeys();
        bool      flag       = hashtable2 == null || hashtable2.Count == 0;

        if (PhotonNetwork.offlineMode || flag)
        {
            base.CustomProperties.Merge(hashtable);
            base.CustomProperties.StripKeysWithNullValues();
        }
        if (!PhotonNetwork.offlineMode)
        {
            PhotonNetwork.JNJJAMNLOHA.HFECLDIOHNJ(hashtable, hashtable2, CDBHGINNCOF);
        }
        if (PhotonNetwork.offlineMode || flag)
        {
            BNGIGHBHPEH.SendMonoMessage(PhotonNetworkingMessage.OnPhotonCustomRoomPropertiesChanged, new object[]
            {
                hashtable
            });
        }
    }
Beispiel #2
0
    // Token: 0x0600B40E RID: 46094 RVA: 0x0041E3C0 File Offset: 0x0041C5C0
    public void SetCustomProperties(Hashtable ENEEBHGAAJH, Hashtable DBBFANEJNGI = null, bool CDBHGINNCOF = false)
    {
        if (ENEEBHGAAJH == null)
        {
            return;
        }
        Hashtable hashtable  = ENEEBHGAAJH.StripToStringKeys();
        Hashtable hashtable2 = DBBFANEJNGI.StripToStringKeys();
        bool      flag       = hashtable2 == null || hashtable2.Count == 0;
        bool      flag2      = this.IECJKEIJLCP > 0 && !PhotonNetwork.offlineMode;

        if (flag)
        {
            this.CustomProperties.Merge(hashtable);
            this.CustomProperties.StripKeysWithNullValues();
        }
        if (flag2)
        {
            PhotonNetwork.JNJJAMNLOHA.LJEFICMOPMO(this.IECJKEIJLCP, hashtable, hashtable2, CDBHGINNCOF);
        }
        if (!flag2 || flag)
        {
            this.NPOPPIMCDMN(hashtable);
            BNGIGHBHPEH.SendMonoMessage(PhotonNetworkingMessage.OnPhotonPlayerPropertiesChanged, new object[]
            {
                this,
                hashtable
            });
        }
    }