NetworkingManagerConnectionApprovedDelegate Delegate |  |
[This is preliminary documentation and is subject to change.]
Delegate type called when connection has been approved
Namespace:
MLAPI
Assembly:
MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic delegate void ConnectionApprovedDelegate(
uint clientId,
int prefabId,
bool approved,
Vector3 position,
Quaternion rotation
)
Request Example
View SourceParameters
- clientId
- Type: SystemUInt32
The clientId of the approved client - prefabId
- Type: SystemInt32
The prefabId to use for the client - approved
- Type: SystemBoolean
Wheter or not the client was approved - position
- Type: Vector3
The position to spawn the client at - rotation
- Type: Quaternion
The rotation to spawn the client with
See Also