Holds information about the Game Session.
More...
|
| override string | ToString () |
| | String representation of a SessionInfo.
|
| bool | UpdateCustomProperties (Dictionary< string, SessionProperty > customProperties) |
| | Update or change the Custom Properties of the current joined Room.
|
|
| static implicit | operator bool (SessionInfo sessionInfo) |
| | Check if the SessionInfo reference is not Null and is Valid.
|
|
|
bool | IsOpen [get, set] |
| | Signal if the current connected Room is open.
|
|
bool | IsValid [get] |
| | Flag to signal if the SessionInfo is ready for use.
|
|
bool | IsVisible [get, set] |
| | Signal if the current connected Room is visible.
|
|
int | MaxPlayers [get] |
| | Max number of peer that can join this Session, this value always include an extra slot for the Server/Host.
|
|
string | Name [get] |
| | Stores the current Room Name.
|
|
int | PlayerCount [get] |
| | Current number of peers inside this Session, this includes the Server/Host and Clients.
|
|
ReadOnlyDictionary< string, SessionProperty > | Properties [get] |
| | Room Custom Properties.
|
|
string | Region [get] |
| | Stores the current connected Region.
|
Holds information about the Game Session.
◆ operator bool()
| implicit operator bool |
( |
SessionInfo | sessionInfo | ) |
|
|
static |
Check if the SessionInfo reference is not Null and is Valid.
- Parameters
-
◆ ToString()
| override string ToString |
( |
| ) |
|
String representation of a SessionInfo.
- Returns
- Formatted SessionInfo
◆ UpdateCustomProperties()
| bool UpdateCustomProperties |
( |
Dictionary< string, SessionProperty > | customProperties | ) |
|
Update or change the Custom Properties of the current joined Room.
- Parameters
-
| customProperties | New custom properties |