Example #1
0
 // Token: 0x06001B02 RID: 6914 RVA: 0x0007EF61 File Offset: 0x0007D161
 public void Uninstall()
 {
     if (this.installed)
     {
         this.OnUninstall();
         this.installed = false;
         SteamworksRichPresenceManager.SetKeyValue(this.key, null);
     }
 }
Example #2
0
 // Token: 0x06001AF4 RID: 6900 RVA: 0x0007EC78 File Offset: 0x0007CE78
 private static void OnLobbyChanged()
 {
     if (Client.Instance.Lobby.IsValid)
     {
         SteamworksRichPresenceManager.SetKeyValue("connect", "+steam_lobby_join " + Client.Instance.Lobby.CurrentLobby);
         return;
     }
     SteamworksRichPresenceManager.SetKeyValue("connect", null);
 }
Example #3
0
            // Token: 0x06001AFE RID: 6910 RVA: 0x0007EEF4 File Offset: 0x0007D0F4
            private void UpdateIfNecessary()
            {
                if (!this.installed)
                {
                    return;
                }
                this.isDirty = false;
                string a = this.RebuildValue();

                if (a != this.currentValue)
                {
                    this.currentValue = a;
                    SteamworksRichPresenceManager.SetKeyValue(this.key, this.currentValue);
                    this.OnChanged();
                }
            }