RoomReferences LiteApplication
Options
tolkun
✭
How I can create just two reference to the Room?
now in Lite Application references to the Room can be one,two and more
now in Lite Application references to the Room can be one,two and more
0
Comments
-
in such a way you will do again all what we already did
best,
ilya0 -
i read all documention
https://doc.photonengine.com/en-us/onpremise/current/applications/lite-application
but i can't find anything about how to set maximum amount of players in the room0 -
when you create game you send Join/Create request. in this join request you may add game properties.
var gameProperties = new Hashtalbe { {(byte)255, 2}};
then you add this properties to request dictionary
request.Parameters.Add(248, gameProperties);
after that your game will not accept more then 2 players. this property applied only during game creatation
you also should take a look at samples which are included into client sdk you are using
best,
ilya0 -
well, then you may find how we use this property and set it instead of inventing your own way
best,
ilya1