# Game Server Browser Manager

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## &#x20;Introduction

Meant to be added to your Server Browser UI this component simplifies the process of querying Steam Game Servers.

{% hint style="info" %}
Before you can browse game servers you need to have game servers.

Read [Steam Game Servers](/old-kb/steam/multiplayer/game-server-browser.md) article before continuing
{% endhint %}

### Namespace

```csharp
using HeathenEngineering.SteamworksIntegration;
```

### Definition

```csharp
public class GameServerBrowserManager : MonoBehaviour
```

## Events

### evtSearchComplete

Invoked when a search request completes.

## Methods

### Get All Favorites

```csharp
public void GetAllFavorites();
```

Returns the list of favorite servers

### Get All Friends

```csharp
public void GetAllFriends();
```

Returns the list of friend servers

### Get All History

```csharp
public void GetAllHistory();
```

Returns the list of historical servers

### Get All Internet

```csharp
public void GetAllInternet();
```

Returns the list of internet (non-LAN) servers

### Get All LAN

```csharp
public void GetAllLan();
```

Returns the list of LAN servers

### Get All Spectator

```csharp
public void GetAllSpectator();
```

Returns the list of Spectator servers

### Get Server list

```csharp
public void GetServerList(type, callback);
```

```csharp
public void GetServerList(app, type, callback);
```

Returns a list of servers based on the type provided

### Ping Server

```csharp
public void PingServer(address, port, callback);
```

Fetches updated data for the target server

### Player Details

```csharp
public void PlayerDetails(entry, callback);
```

Clears the player list then requests fresh player data from Valve

### Server Rules

```csharp
public void ServerRules(entry, callback);
```

Clears the rules list then requests fresh rule data from Valve


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/components/game-server-browser-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
