- Home /
UNet - Multiplayer Match Making - Custom Match Attributes
I'm making a multiplayer room list lobby. I would like various additional details about each room to be included, things like map, player names etc.
The MatchInfoSnapshots that are returned after ListMatches seem to have some functionality to achieve this via:
https://docs.unity3d.com/ScriptReference/Networking.Match.MatchInfoSnapshot-matchAttributes.html
But I have no idea how to set these attributes on the server. There is:
https://docs.unity3d.com/ScriptReference/Networking.Match.NetworkMatch.SetMatchAttributes.html
but there is no "Dictionary < string,long >" parameter or the like.
What am I missing? How would I go about passing custom data for each match? Thanks.
Answer by BBIT-SOLUTIONS · Nov 15, 2018 at 12:26 PM
Seems like there is no special way to set arbitrary attributes or data currently.
See here
Your answer
