add info |
989onan bot (talk | contribs) Automated: update Fields, SyncDelegates |
||
| Line 13: | Line 13: | ||
|_status|'''[[Component:Image|Image]]'''|TypeAdv4=true| The image icon being used for the selected user's status. | |_status|'''[[Component:Image|Image]]'''|TypeAdv4=true| The image icon being used for the selected user's status. | ||
|_avatar|'''[[Component:Image|Image]]'''|TypeAdv5=true| The image icon being used for the selected user's avatar image. | |_avatar|'''[[Component:Image|Image]]'''|TypeAdv5=true| The image icon being used for the selected user's avatar image. | ||
|_username|'''[[Component:Text|Text]]'''|TypeAdv6=true| The text for the selected user's username. | |_username|'''[[Component:Text|Text]]'''|TypeAdv6=true| The text for the selected user's username. | ||
|_userActionsRoot|Slot| The root slot to store buttons for performing actions on the selected user. | |_userActionsRoot|Slot| The root slot to store buttons for performing actions on the selected user. | ||
|_sendMessageButton|'''[[Component:Button|Button]]'''|TypeAdv8=true| The button for sending the currently typed message to the selected user. | |_sendMessageButton|'''[[Component:Button|Button]]'''|TypeAdv8=true| The button for sending the currently typed message to the selected user. | ||
| Line 20: | Line 20: | ||
|_messagesScrollRect|'''[[Component:ScrollRect|ScrollRect]]'''|TypeAdv11=true| The scroll rectangle component for the scroll area for messages to and from the selected user. | |_messagesScrollRect|'''[[Component:ScrollRect|ScrollRect]]'''|TypeAdv11=true| The scroll rectangle component for the scroll area for messages to and from the selected user. | ||
|_inviteButton|'''[[Component:Button|Button]]'''|TypeAdv12=true| Invite the selected user to the currently focused session if possible. | |_inviteButton|'''[[Component:Button|Button]]'''|TypeAdv12=true| Invite the selected user to the currently focused session if possible. | ||
|_banAllButton|'''[[Component:Button|Button]]'''| | |_requestInviteButton|'''[[Component:Button|Button]]'''|TypeAdv13=true| | ||
|_banSessionButton|'''[[Component:Button|Button]]'''| | |_banAllButton|'''[[Component:Button|Button]]'''|TypeAdv14=true| Ban the selected user from all sessions that the current local user will host. | ||
|_unblockedButton|'''[[Component:Button|Button]]'''| | |_banSessionButton|'''[[Component:Button|Button]]'''|TypeAdv15=true| Ban the selected user from the current focused session. | ||
|_avatarBlockButton|'''[[Component:Button|Button]]'''| | |_unblockedButton|'''[[Component:Button|Button]]'''|TypeAdv16=true| The button to unblock the currently selected user. | ||
|_mutualBlockButton|'''[[Component:Button|Button]]'''| | |_avatarBlockButton|'''[[Component:Button|Button]]'''|TypeAdv17=true| The button to block the currently selected user's avatar. | ||
|_mutualBlockButton|'''[[Component:Button|Button]]'''|TypeAdv18=true| The button to do a mutual block with the currently selected user. | |||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|SearchTextChanged(TextEditor)|[[Type:Delegate|Delegate]]<[[Component:TextEditor|TextEditor]]: editor> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnRemoveContact(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnAddContact(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnBanFromAll(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnUnblock(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnAvatarBlock(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnMutualBlock(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnBanFromCurrent(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnIgnoreRequest(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnInviteContact(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnRequestInvite(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnSendMessage(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnStartRecordingVoiceMessage(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|OnStopRecordingVoiceMessage(IButton, ButtonEventData)|[[Type:Delegate|Delegate]]<[[Type:IButton|IButton]]: button, [[Type:ButtonEventData|ButtonEventData]]: eventData> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
|MessageSubmitPressed(TextEditor)|[[Type:Delegate|Delegate]]<[[Component:TextEditor|TextEditor]]: editor> -> [[Type:Void|Void]] : HIDDEN METHOD| | |||
}} | }} | ||
Revision as of 22:29, 16 March 2025
Component image File:ContactsDialogComponent.pngContacts Dialog component as seen in the Scene Inspector
The ContactsDialog component is used in the contacts screen of the Dash Menu to search, view, and talk to contacts.
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. |
_searchBar
|
TextField | The search bar to search for users. |
_listRoot
|
Slot | The list of contacts. |
_sessionsRoot
|
Slot | The slot where the list of sessions from the selected user will be. |
_messagesRoot
|
Slot | The slot where the list of messages from the selected user will be. |
_status
|
Image | The image icon being used for the selected user's status. |
_avatar
|
Image | The image icon being used for the selected user's avatar image. |
_username
|
Text | The text for the selected user's username. |
_userActionsRoot
|
Slot | The root slot to store buttons for performing actions on the selected user. |
_sendMessageButton
|
Button | The button for sending the currently typed message to the selected user. |
_sendVoiceMessageButton
|
Button | The button for sending a voice message to the currently selected user. |
_sendMessageTextField
|
TextField | The text field to type messages to send to users. |
_messagesScrollRect
|
ScrollRect | The scroll rectangle component for the scroll area for messages to and from the selected user. |
_inviteButton
|
Button | Invite the selected user to the currently focused session if possible. |
_requestInviteButton
|
Button | |
_banAllButton
|
Button | Ban the selected user from all sessions that the current local user will host. |
_banSessionButton
|
Button | Ban the selected user from the current focused session. |
_unblockedButton
|
Button | The button to unblock the currently selected user. |
_avatarBlockButton
|
Button | The button to block the currently selected user's avatar. |
_mutualBlockButton
|
Button | The button to do a mutual block with the currently selected user. |
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description |
|---|
Usage
Not used by the user. Exists as the dash's Contacts tab.
Examples
Contacts tab in the Dash Menu