// Token: 0x06000071 RID: 113 RVA: 0x0000C993 File Offset: 0x0000AB93 public static void Init() { DebugTools.Print("Startup: Initialising Steam data."); SteamData.GetFriendList(); if (SteamData.errorCode == 0) { SteamData.GetLobbyList(); } }
// Token: 0x060000A0 RID: 160 RVA: 0x0000DA3C File Offset: 0x0000BC3C private void WhitelistButtonManualAdd_Click(object sender, EventArgs e) { if (MessageBox.Show("Do you want to add friends?", "Add Player", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { MainForm.WhitelistUI.AddPlayer(); return; } SteamData.GetFriendList(); if (SteamData.errorCode == 0) { MainForm.WhitelistUI.AddFriends(); return; } MainForm.WhitelistUI.AddPlayer(); }