Component:UserLoginStatus
From Resonite Wiki
More actions
Component image 
User Login Status component as seen in the Scene Inspector

The UserLoginStatus component gets the current login status of the local user.
Fields
| Name | Type | Description |
|---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
IsLoggedIn
|
raw output of Bool | Whether the local user is logged in. |
LoggedUserId
|
raw output of String | The userID of the local user if they are logged in. |
LoggedUsername
|
raw output of String | The username of the local user if they are logged in. |
Usage
Attach to a Component to instantly get info on the local user's login status.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.