The '''SessionInfoSource''' component can be used to receive an assortment of useful information from an inputted SessionId.
The SessionInfoSource component can be used to receive an assortment of useful information from an inputted SessionId.
== Fields ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|SessionId|String|
|SessionId|String| The session ID to get information on.
|IsOpen|Bool|
|IsOpen|Bool| Whether the session is open.
|LastUpdated|DateTime|
|LastUpdated|DateTime| The last time the info on this component was updated.
|Name|String|
|Name|String| The name of the session
|Description|String|
|Description|String| The session description.
|Tags|String|
|Tags|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv5=true| Tags that the session world has.
|CorrespondingRecordId|String|
|CorrespondingRecordId|String| The record ID of the world of the session
|CorrespondingOwnerId|String|
|CorrespondingOwnerId|String| The owner UserID of the session's world.
|HostUserId|String|
|HostUserId|String| The UserID of the session host.
|HostUsername|String|
|HostUsername|String| The username of the session host.
|AppVersion|String|
|SanitizedHostUsername|String| The username of the session host which escapes special characters.
|HeadlessHost|Bool|
|AppVersion|String| The App version of the client of the session being hosted.
|SessionURLs|String|
|HeadlessHost|Bool| Whether the session is being hosted by a headless client.
|Thumbnail|String|
|SessionURLs|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv13=true| A list of other session URLs using the same world.
|JoinedUsers|Int|
|Thumbnail|String| The link for the session thumbnail in text form.
|ActiveUsers|Int|
|JoinedUsers|Int| How many users are in the world.
|MaximumUsers|Int|
|ActiveUsers|Int| Of the people joined, how many are active/focused?
|MobileFriendly|Bool|
|TotalJoinedUsers|Int| How many users have ever joined the world?
|AccessLevel|SessionAccessLevel|
|TotalActiveUsers|Int| How many users are active??
|IsOnLAN|Bool|
|MaximumUsers|Int| The maximum users that can be in the session.
|MobileFriendly|Bool| Whether the session is compatible with a mobile/quest build of the game.
|AccessLevel|SessionAccessLevel| The sessions level of access to users joining.
|IsOnLAN|Bool| Whether the session is set to Local Access Network.
|AwayKickEnabled|Bool| Whether away kick is enabled or not
|AwayKickInterval|TimeSpan| How long till a user is kicked for being away in a session.
}}
}}
<!--T:4-->
<!--T:4-->
== Usage ==
== Usage ==
The SessionInfoSource component can give us the name, description, tags, and many other useful pieces of information about a session from an inputted SessionId. The current SessionId can be obtained using the WorldSessionID ProtoFlux node.
The SessionInfoSource component can give us the name, description, tags, and many other useful pieces of information about a session from an inputted SessionId. The current SessionId can be obtained using the WorldSessionID ProtoFlux node.
How long till a user is kicked for being away in a session.
Usage
The SessionInfoSource component can give us the name, description, tags, and many other useful pieces of information about a session from an inputted SessionId. The current SessionId can be obtained using the WorldSessionID ProtoFlux node.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.