Component image File:InviteRequestItemComponent.pngInvite Request Item component as seen in the Scene Inspector
The Invite Request Item component is used to handle the visual and behavior of invite requests received in chats from other users.
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. |
ContactDialog
|
ContactsDialog | The dialog component that this is under. |
HeaderText
|
Text | The text field that makes up the header for this request in the chat. |
InviteButton
|
Button | The button to invite the user or forward the invite to the next in command. |
AddContactButton
|
Button | The button to add the user who is asking for an invite as a contact. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SendDirectInvite:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles sending a direct invite to the asking user. |
ForwardInviteRequestToHost:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles forwarding the invite request to the host. |
GrantInvite:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles accepting the invite request. |
AddAsContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles adding the asking user as a contact. |
AddHostAsContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles adding the host who is receiving the invite as a contact. |
AddAsHeadlessContact:ButtonEventHandler
|
ButtonEventHandler | ✓ | Handles adding the headless host who is receiving the invite as a contact. |
Usage
Not used directly by the user, but is used in the contacts screen.
Examples
Invite requests and messages.