Skip to content

fatihkahveci/gs-selector-unity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Server Selector Unity Example

This is an example of how to use the Game Server Selector Unity Example.

Demo

image

Examples

Simple greater than query example. This query will return all servers that have a capacity greater than 20.

var searchRequest = new SearchServerRequest()
                .AddGreaterThanQuery("capacity", 20);
            var servers = _serverListManager.SearchServer(new CancellationToken(), searchRequest);

More complex query example. This query will return all servers that have a capacity greater than 20, game_mod is ranked and country is TR.

var searchRequest = new SearchServerRequest()
                .AddGreaterThanQuery("capacity", 20)
                .AddEqualQuery("game_mod", "ranked")
                .AddEqualQuery("country", "TR");
            var servers = _serverListManager.SearchServer(new CancellationToken(), searchRequest);

TODOS

  • Better UI for example

Server Repo

https://github.com/fatihkahveci/game-server-selector

About

Game Server Selector Unity example project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages