Photon Bolt Engine API
1.3
Used to filter only specific sessions that agree with the desired parameters when joining a session in a random fashion. More...
Public Member Functions | |
| bool | Add (string key, object value) |
| Adds a filter parameter. More... | |
| Dictionary< object, object >.Enumerator | GetEnumerator () |
| Get a Enumerator reference based on the internal Filter dictionary More... | |
| bool | Remove (string key) |
| Removes a filter parameter. More... | |
| override string | ToString () |
| String representation of the SessionFilter More... | |
| UdpSessionFilter () | |
| UdpSession filter constructor More... | |
Static Public Member Functions | |
| static bool | IsValid (object value) |
| Test if the object passed as argument is a valid Type to be used as filter parameter More... | |
Properties | |
| UdpSessionFillMode | FillMode = UdpSessionFillMode.Fill [get, set] |
| Configure the fill mode used to join a session. Default is UdpSessionFillMode.Fill. More... | |
| object | this[string key] [get, set] |
| Index operator to read and write values. More... | |
Used to filter only specific sessions that agree with the desired parameters when joining a session in a random fashion.
|
inline |
UdpSession filter constructor
|
inline |
Adds a filter parameter.
true, if the parameter was added, false otherwise.| key | Parameter Key. |
| value | Parameter Value. |
|
inline |
Get a Enumerator reference based on the internal Filter dictionary
|
inlinestatic |
Test if the object passed as argument is a valid Type to be used as filter parameter
| value | Value to be tested |
true if is a valid Type, false otherwise
|
inline |
Removes a filter parameter.
true, if the parameter was removed, false otherwise.| key | Parameter Key. |
|
inline |
String representation of the SessionFilter
|
getset |
Configure the fill mode used to join a session. Default is UdpSessionFillMode.Fill.
|
getset |
Index operator to read and write values.
| key | Parameter Key |