|
90 | 90 | #include "rive/animation/transition_viewmodel_condition.hpp" |
91 | 91 | #include "rive/artboard.hpp" |
92 | 92 | #include "rive/artboard_component_list.hpp" |
| 93 | +#include "rive/artboard_list_map_rule.hpp" |
93 | 94 | #include "rive/assets/asset.hpp" |
94 | 95 | #include "rive/assets/audio_asset.hpp" |
95 | 96 | #include "rive/assets/drawable_asset.hpp" |
@@ -805,6 +806,8 @@ class CoreRegistry |
805 | 806 | return new Text(); |
806 | 807 | case TextValueRunBase::typeKey: |
807 | 808 | return new TextValueRun(); |
| 809 | + case ArtboardListMapRuleBase::typeKey: |
| 810 | + return new ArtboardListMapRule(); |
808 | 811 | case CustomPropertyEnumBase::typeKey: |
809 | 812 | return new CustomPropertyEnum(); |
810 | 813 | case FolderBase::typeKey: |
@@ -1530,6 +1533,12 @@ class CoreRegistry |
1530 | 1533 | case TextValueRunBase::styleIdPropertyKey: |
1531 | 1534 | object->as<TextValueRunBase>()->styleId(value); |
1532 | 1535 | break; |
| 1536 | + case ArtboardListMapRuleBase::artboardIdPropertyKey: |
| 1537 | + object->as<ArtboardListMapRuleBase>()->artboardId(value); |
| 1538 | + break; |
| 1539 | + case ArtboardListMapRuleBase::viewModelIdPropertyKey: |
| 1540 | + object->as<ArtboardListMapRuleBase>()->viewModelId(value); |
| 1541 | + break; |
1533 | 1542 | case CustomPropertyEnumBase::propertyValuePropertyKey: |
1534 | 1543 | object->as<CustomPropertyEnumBase>()->propertyValue(value); |
1535 | 1544 | break; |
@@ -2982,6 +2991,10 @@ class CoreRegistry |
2982 | 2991 | return object->as<TextBase>()->textRunListSource(); |
2983 | 2992 | case TextValueRunBase::styleIdPropertyKey: |
2984 | 2993 | return object->as<TextValueRunBase>()->styleId(); |
| 2994 | + case ArtboardListMapRuleBase::artboardIdPropertyKey: |
| 2995 | + return object->as<ArtboardListMapRuleBase>()->artboardId(); |
| 2996 | + case ArtboardListMapRuleBase::viewModelIdPropertyKey: |
| 2997 | + return object->as<ArtboardListMapRuleBase>()->viewModelId(); |
2985 | 2998 | case CustomPropertyEnumBase::propertyValuePropertyKey: |
2986 | 2999 | return object->as<CustomPropertyEnumBase>()->propertyValue(); |
2987 | 3000 | case CustomPropertyEnumBase::enumIdPropertyKey: |
@@ -3857,6 +3870,8 @@ class CoreRegistry |
3857 | 3870 | case TextBase::verticalAlignValuePropertyKey: |
3858 | 3871 | case TextBase::textRunListSourcePropertyKey: |
3859 | 3872 | case TextValueRunBase::styleIdPropertyKey: |
| 3873 | + case ArtboardListMapRuleBase::artboardIdPropertyKey: |
| 3874 | + case ArtboardListMapRuleBase::viewModelIdPropertyKey: |
3860 | 3875 | case CustomPropertyEnumBase::propertyValuePropertyKey: |
3861 | 3876 | case CustomPropertyEnumBase::enumIdPropertyKey: |
3862 | 3877 | case FileAssetBase::assetIdPropertyKey: |
@@ -4619,6 +4634,10 @@ class CoreRegistry |
4619 | 4634 | return object->is<TextBase>(); |
4620 | 4635 | case TextValueRunBase::styleIdPropertyKey: |
4621 | 4636 | return object->is<TextValueRunBase>(); |
| 4637 | + case ArtboardListMapRuleBase::artboardIdPropertyKey: |
| 4638 | + return object->is<ArtboardListMapRuleBase>(); |
| 4639 | + case ArtboardListMapRuleBase::viewModelIdPropertyKey: |
| 4640 | + return object->is<ArtboardListMapRuleBase>(); |
4622 | 4641 | case CustomPropertyEnumBase::propertyValuePropertyKey: |
4623 | 4642 | return object->is<CustomPropertyEnumBase>(); |
4624 | 4643 | case CustomPropertyEnumBase::enumIdPropertyKey: |
|
0 commit comments