Component image File:MigrationDialogComponent.pngMigration Dialog component as seen in the Scene Inspector
The MigrationDialog component is used to collect information on what migration action should be done for transfering content from other platforms or other Resonite accounts.
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
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. |
_usernameField
|
TextField | The username of the account to transfer from. |
_passwordField
|
TextField | The password of the account to transfer from. |
_migrateFavorites
|
Bool | Whether to migrate favorites from the account or not. |
_overwriteFavorites
|
Bool | Whether to replace the favorites on the currently logged in account with the transfering from account. |
_preserveOldHome
|
Bool | Whether to keep the home world setting from the other account or create a new default home. |
_migrateContacts
|
Bool | Whether to migrate contacts from the account or not. |
_migrateMessageHistory
|
Bool | Whether to migrate message history from the account or not. |
_migrateRecords
|
Bool | Whether to migrate items, worlds, avatars, message items, or other objects/data from the account or not. |
_migrateCloudVariables
|
Bool | Whether to migrate cloud variables made by the account or not. |
_migratedCloudVariableDefinitions
|
Bool | Whether to migrate values defined for other user's variables from the account or not. |
_migrateGroups
|
Bool | Whether to migrate groups from the account or not. |
_groupsRoot
|
Slot | The root of the groups section. |
_groupsMessage
|
Text | The text element for groups dialog. |
_loadGroupsButton
|
Button | The button for loading groups in. |
CurrentState
|
MigrationDialog.State | The current state of the migration dialog visual. |
_swapRegion
|
SlideSwapRegion | Thw region used for animation when switching between different screens in the migration dialog |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
SetOverwrite:ButtonEventHandler`1<Bool>
|
ButtonEventHandler`1<Bool> | ✓ | Called when the overwrite button is touched. |
SetPreserveHome:ButtonEventHandler`1<Bool>
|
ButtonEventHandler`1<Bool> | ✓ | Called when the preserve home button is touched. |
ChooseAllData:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the choose all data button is touched. |
ChangeStep:ButtonEventHandler`1<MigrationDialog.State>
|
ButtonEventHandler`1<MigrationDialog.State> | ✓ | Called when the change step button is touched. |
SaveGroupSelectionAndChange:ButtonEventHandler`1<MigrationDialog.State>
|
ButtonEventHandler`1<MigrationDialog.State> | ✓ | Called when the save group selection and change button is touched. |
CheckLoginAndNext:ButtonEventHandler`1<MigrationDialog.State>
|
ButtonEventHandler`1<MigrationDialog.State> | ✓ | Called when the Check login and next button is touched. |
LoadGroupsPressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the load groups button is touched. |
OnSourceSelected:ButtonEventHandler`1<String>
|
ButtonEventHandler`1<String> | ✓ | Called when the source button is touched. |
StartMigrationPressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the start migration button is touched. |
CancelPressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | Called when the cancel button is touched. |
State
Name | Value | Description |
---|---|---|
Source
|
0 | The user is choosing the source like resonite or older platforms. |
Account
|
1 | The user is specifying the account details of the account to transfer from. |
MigrationType
|
2 | The user is choosing the migration type. |
ChooseData
|
3 | The user is choosing what data to move. |
ChooseGroups
|
4 | The user is choosing what groups to move. |
ChooseOverwrite
|
5 | The user is choosing any overwriting options. |
ChooseHome
|
6 | The user is picking Whether to transfer the source account's home world or generate a new one from default. |
ConfirmStart
|
7 | The user is on the screen to confirm to start the migration. |
Usage
Use internally, do not use.
Examples
Migration screen.