PreAuthenticated
Gets called on a separate thread when the player has pre-authenticated. DO NOT call Unity APIs in handlers of this event; doing so may cause the server to crash.
Start a script section
!-- OnEvent PreAuthenticated
-- require $evUserId $evIpAddress $evExpiration &evFlags $evRegion &evSignature *evConnectionRequest $evReaderStartPosition
# Add your instructions here
- Group: PlayerEvents
- Cancellable: No
- Event data:
PlayerPreAuthenticatedEventArgs
Injected variables
| Variable | Type | Description |
|---|---|---|
$evUserId | text value | Gets the user ID of the player. |
$evIpAddress | text value | Gets the IP Address of the player. |
$evExpiration | number value | Gets the expiration of the authentication. |
&evFlags | collection of CentralAuthPreauthFlags enum values | Gets the pre-authentication flags. |
$evRegion | text value | Gets the region of the origin. |
&evSignature | collection of number value | Gets the signature of auth. |
*evConnectionRequest | reference to ConnectionRequest object | Gets the connection request to server. |
$evReaderStartPosition | number value | Gets the start position of stream. |