Find Session
Last updated
Last updated
Below, you will find an image or code on how to implement a find session. You could also use the lobby we've provided inside the example project. It comes with a find session that is fully assembled and ready.
Password
This is if you want a server created with this password or are looking for a server with a password.
Map Name
This will be the map name you're searching for.
Game Mode
This will be the mode you're searching for.
Game Region
This will be the region you're searching for. We also have a node called "NLPGetRegions" to get a list of regions. Usually, you add this to a dropdown, and when a user selects it, you return the result and plug it into GameRegion. We do this inside the Example Lobby if you want to take a look at that. We automatically get the regions available, meaning you have server managers in those regions, which will show in that list.
Game Type
This is your Type, aka genre. It can be an FPS, Third Person, or Battle Royale. It will be publicly viewed. We added this in case someone wants to create a mix-match game with Zombies, Multiplayer, and other things to split it up.
Custom
This will return the data to the server
Matchmaking Custom
This variable will be called once a user has connected to the server. So, say you have a party of users and want to reconnect them on a server level.
Success Callback
The callback function is called after a successful Find Session.
Error Callback
The callback function called after the request resulted in an error.
Message Update Callback
The callback function is called after the request has been updated with data.