Component:HostAccessDialog: Difference between revisions

From Resonite Wiki
add info
Automated: update SyncDelegates
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Host|String|
|Host|String| The host destination string being accessed.
|Port|Int| The port being asked for access.
|Port|Int| The port being asked for access.
|AccessType|HostAccessScope| The access type wanted for the port.
|AccessType|HostAccessScope| The access type wanted for the port.
Line 13: Line 13:
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv4=true| The reason for accessing the server.
|_reasonText|'''[[Component:Text|Text]]'''|TypeAdv4=true| The reason for accessing the server.
|_allowButton|'''[[Component:Button|Button]]'''|TypeAdv5=true| The button to allow the server to be accessed through your client.
|_allowButton|'''[[Component:Button|Button]]'''|TypeAdv5=true| The button to allow the server to be accessed through your client.
}}
== Sync Delegates ==
{{Table ComponentTriggers
|Deny:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
|Allow:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true|
}}
}}


Line 19: Line 25:


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


== See Also ==
== See Also ==

Latest revision as of 06:31, 17 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 The host destination string being accessed.
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.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Deny:ButtonEventHandler ButtonEventHandler
Allow:ButtonEventHandler ButtonEventHandler

Usage

Not used directly by the user.

Examples

The grant access dialogue when protoflux needing access.

See Also