Component:HostAccessDialog: Difference between revisions

From Resonite Wiki
Types
add info
Line 3: Line 3:
|Name=Host Access Dialog
|Name=Host Access Dialog
}}
}}
{{stub}}
See [[ProtoFlux:Request_Host_Access|Request Host Access ProtoFlux Node]].


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Host|String|
|Host|String|
|Port|Int|
|Port|Int| The port being asked for access.
|AccessType|HostAccessScope|
|AccessType|HostAccessScope| The access type wanted for the port.
|_hostText|'''[[Component:Text|Text]]'''|TypeAdv3=true|
|_hostText|'''[[Component:Text|Text]]'''|TypeAdv3=true| The text field used to show the server wanting access for.
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv4=true|
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv4=true| The reason for accessing the server.
|_allowButton|'''[[Component:Button|Button]]'''|TypeAdv5=true|
|_allowButton|'''[[Component:Button|Button]]'''|TypeAdv5=true| The button to allow the server to be accessed through your client.
}}
}}


== Behavior ==
== Usage ==
Not used directly by the user.


== Examples ==
== Examples ==
The grant access dialogue when clicking on a link or protoflux needing access.


== See Also ==
== See Also ==
* [[ProtoFlux:Request Host Access]]


[[Category:Components:Uncategorized{{#translation:}}|Host Access Dialog]]
[[Category:Components:Uncategorized{{#translation:}}|Host Access Dialog]]
[[Category:Components{{#translation:}}|Host Access Dialog]]
[[Category:Components{{#translation:}}|Host Access Dialog]]
[[Category:ComponentStubs]]

Revision as of 21:49, 6 March 2025

Component image 
Host Access Dialog component as seen in the Scene Inspector

See Request Host Access ProtoFlux Node.

Fields

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.
Host String
Port Int The port being asked for access.
AccessType HostAccessScope The access type wanted for the port.
_hostText Text The text field used to show the server wanting access for.
_reasonText Text The reason for accessing the server.
_allowButton Button The button to allow the server to be accessed through your client.

Usage

Not used directly by the user.

Examples

The grant access dialogue when clicking on a link or protoflux needing access.

See Also