989onan bot (talk | contribs) Automated: update SyncDelegates |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
| Line 30: | Line 30: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|SearchTextChanged[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| | |SearchTextChanged:[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| | ||
|OnRemoveContact[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnRemoveContact:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnAddContact[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnAddContact:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnBanFromAll[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnBanFromAll:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnUnblock[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnUnblock:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnAvatarBlock[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnAvatarBlock:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnMutualBlock[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnMutualBlock:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnBanFromCurrent[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnBanFromCurrent:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnIgnoreRequest[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnIgnoreRequest:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnInviteContact[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnInviteContact:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnRequestInvite[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnRequestInvite:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnSendMessage[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnSendMessage:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnStartRecordingVoiceMessage[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnStartRecordingVoiceMessage:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OnStopRecordingVoiceMessage[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnStopRecordingVoiceMessage:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|MessageSubmitPressed[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| | |MessageSubmitPressed:[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|[[Type:Action`1|Action`1]]<[[Component:TextEditor|TextEditor]]>|true| | ||
}} | }} | ||
Revision as of 06:30, 17 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 |
|---|---|---|---|
SearchTextChanged:Action`1<TextEditor>
|
Action`1<TextEditor> | ✓ | |
OnRemoveContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnAddContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnBanFromAll:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnUnblock:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnAvatarBlock:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnMutualBlock:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnBanFromCurrent:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnIgnoreRequest:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnInviteContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnRequestInvite:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnSendMessage:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnStartRecordingVoiceMessage:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OnStopRecordingVoiceMessage:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
MessageSubmitPressed:Action`1<TextEditor>
|
Action`1<TextEditor> | ✓ |
Usage
Not used by the user. Exists as the dash's Contacts tab.
Examples
Contacts tab in the Dash Menu