BUTR/Bannerlord.UIExtenderEx

View on GitHub
docs/articles/interface/Prefab.svg

Summary

Maintainability
Test Coverage
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1878" height="388" contentStyleType="text/css" preserveAspectRatio="none" style="width:1878px;height:388px;background:#fff" version="1.1" viewBox="0 0 1878 388" zoomAndPan="magnify"><g><g id="cluster_v2"><path fill="none" d="M8.5,106.5 L26.5,106.5 A3.75,3.75 0 0 1 29,109 L36,131.1211 L523.5,131.1211 A2.5,2.5 0 0 1 526,133.6211 L526,242 A2.5,2.5 0 0 1 523.5,244.5 L8.5,244.5 A2.5,2.5 0 0 1 6,242 L6,109 A2.5,2.5 0 0 1 8.5,106.5" style="stroke:#000;stroke-width:1.5"/><line style="stroke:#000;stroke-width:1.5" x1="6" x2="36" y1="131.121" y2="131.121"/><text x="10" y="123.607" fill="#000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="17">v2</text></g><g id="cluster_v1"><path fill="none" d="M552.5,97 L570.5,97 A3.75,3.75 0 0 1 573,99.5 L580,121.6211 L1868.5,121.6211 A2.5,2.5 0 0 1 1871,124.1211 L1871,378.5 A2.5,2.5 0 0 1 1868.5,381 L552.5,381 A2.5,2.5 0 0 1 550,378.5 L550,99.5 A2.5,2.5 0 0 1 552.5,97" style="stroke:#000;stroke-width:1.5"/><line style="stroke:#000;stroke-width:1.5" x1="550" x2="580" y1="121.621" y2="121.621"/><text x="554" y="114.107" fill="#000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacing" textLength="17">v1</text></g><g id="elem_PrefabExtensionInsertPatch"><rect id="PrefabExtensionInsertPatch" width="207" height="85.242" x="302.5" y="143.5" fill="#F1F1F1" codeLine="18" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="317.5" cy="159.5" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M319.6875,161.2656 L315.5469,161.2656 L315.125,162.2969 L315.5469,162.2969 Q316.1563,162.2969 316.4219,162.5313 Q316.6875,162.7656 316.6875,163.1563 Q316.6875,163.5313 316.4219,163.7656 Q316.1563,164 315.5469,164 L313.25,164 Q312.6406,164 312.3906,163.7656 Q312.125,163.5313 312.125,163.1406 Q312.125,162.7656 312.4063,162.5313 Q312.6719,162.2813 313.2969,162.2969 L315.9688,155.6406 L314.8594,155.6406 Q314.25,155.6406 313.9844,155.4063 Q313.7188,155.1719 313.7188,154.7813 Q313.7188,154.4063 313.9844,154.1719 Q314.25,153.9375 314.8594,153.9375 L318.5313,153.9375 L321.9219,162.2969 Q322.5156,162.2969 322.7031,162.4375 Q323.0938,162.7031 323.0938,163.1563 Q323.0938,163.5313 322.8281,163.7656 Q322.5781,164 321.9688,164 L319.6719,164 Q319.0625,164 318.7969,163.7656 Q318.5313,163.5313 318.5313,163.1406 Q318.5313,162.7656 318.7969,162.5313 Q319.0625,162.2969 319.6719,162.2969 L320.0938,162.2969 L319.6875,161.2656 Z M318.9688,159.5625 L317.6094,156.1875 L316.2344,159.5625 L318.9688,159.5625 Z"/><text x="331.5" y="165.297" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="175">PrefabExtensionInsertPatch</text><line style="stroke:#181818;stroke-width:.5" x1="303.5" x2="508.5" y1="175.5" y2="175.5"/><ellipse cx="313.5" cy="190.31" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="322.5" y="194.607" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="104">InsertType Type</text><ellipse cx="313.5" cy="208.932" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="322.5" y="213.228" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="53">int Index</text><line style="stroke:#181818;stroke-width:.5" x1="303.5" x2="508.5" y1="220.742" y2="220.742"/></g><g id="elem_PrefabExtensionSetAttributePatch"><rect id="PrefabExtensionSetAttributePatch" width="245" height="66.621" x="22.5" y="152.5" fill="#F1F1F1" codeLine="22" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="37.5" cy="168.5" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M39.6875,170.2656 L35.5469,170.2656 L35.125,171.2969 L35.5469,171.2969 Q36.1563,171.2969 36.4219,171.5313 Q36.6875,171.7656 36.6875,172.1563 Q36.6875,172.5313 36.4219,172.7656 Q36.1563,173 35.5469,173 L33.25,173 Q32.6406,173 32.3906,172.7656 Q32.125,172.5313 32.125,172.1406 Q32.125,171.7656 32.4063,171.5313 Q32.6719,171.2813 33.2969,171.2969 L35.9688,164.6406 L34.8594,164.6406 Q34.25,164.6406 33.9844,164.4063 Q33.7188,164.1719 33.7188,163.7813 Q33.7188,163.4063 33.9844,163.1719 Q34.25,162.9375 34.8594,162.9375 L38.5313,162.9375 L41.9219,171.2969 Q42.5156,171.2969 42.7031,171.4375 Q43.0938,171.7031 43.0938,172.1563 Q43.0938,172.5313 42.8281,172.7656 Q42.5781,173 41.9688,173 L39.6719,173 Q39.0625,173 38.7969,172.7656 Q38.5313,172.5313 38.5313,172.1406 Q38.5313,171.7656 38.7969,171.5313 Q39.0625,171.2969 39.6719,171.2969 L40.0938,171.2969 L39.6875,170.2656 Z M38.9688,168.5625 L37.6094,165.1875 L36.2344,168.5625 L38.9688,168.5625 Z"/><text x="51.5" y="174.297" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="213">PrefabExtensionSetAttributePatch</text><line style="stroke:#181818;stroke-width:.5" x1="23.5" x2="266.5" y1="184.5" y2="184.5"/><ellipse cx="33.5" cy="199.31" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="42.5" y="203.607" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="155">List&lt;Attribute&gt; Attributes</text><line style="stroke:#181818;stroke-width:.5" x1="23.5" x2="266.5" y1="211.121" y2="211.121"/></g><g id="elem_CustomPatch"><rect id="CustomPatch" width="132" height="85.242" x="1723" y="143.5" fill="#F1F1F1" codeLine="25" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="1740.25" cy="159.5" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M1742.4375,161.2656 L1738.2969,161.2656 L1737.875,162.2969 L1738.2969,162.2969 Q1738.9063,162.2969 1739.1719,162.5313 Q1739.4375,162.7656 1739.4375,163.1563 Q1739.4375,163.5313 1739.1719,163.7656 Q1738.9063,164 1738.2969,164 L1736,164 Q1735.3906,164 1735.1406,163.7656 Q1734.875,163.5313 1734.875,163.1406 Q1734.875,162.7656 1735.1563,162.5313 Q1735.4219,162.2813 1736.0469,162.2969 L1738.7188,155.6406 L1737.6094,155.6406 Q1737,155.6406 1736.7344,155.4063 Q1736.4688,155.1719 1736.4688,154.7813 Q1736.4688,154.4063 1736.7344,154.1719 Q1737,153.9375 1737.6094,153.9375 L1741.2813,153.9375 L1744.6719,162.2969 Q1745.2656,162.2969 1745.4531,162.4375 Q1745.8438,162.7031 1745.8438,163.1563 Q1745.8438,163.5313 1745.5781,163.7656 Q1745.3281,164 1744.7188,164 L1742.4219,164 Q1741.8125,164 1741.5469,163.7656 Q1741.2813,163.5313 1741.2813,163.1406 Q1741.2813,162.7656 1741.5469,162.5313 Q1741.8125,162.2969 1742.4219,162.2969 L1742.8438,162.2969 L1742.4375,161.2656 Z M1741.7188,159.5625 L1740.3594,156.1875 L1738.9844,159.5625 L1741.7188,159.5625 Z"/><text x="1754.75" y="165.297" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="84">CustomPatch</text><rect width="9" height="17.961" x="1849" fill="#FFF" style="stroke:#181818;stroke-width:1;stroke-dasharray:2,2" y="140.5"/><text x="1850" y="154.449" fill="#000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacing" textLength="7">T</text><line style="stroke:#181818;stroke-width:.5" x1="1724" x2="1854" y1="175.5" y2="175.5"/><ellipse cx="1734" cy="190.31" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1743" y="194.607" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="51">string Id</text><line style="stroke:#181818;stroke-width:.5" x1="1724" x2="1854" y1="202.121" y2="202.121"/><ellipse cx="1734" cy="216.932" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1743" y="221.228" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="106">void Apply(T obj)</text></g><g id="elem_InsertPatch"><rect id="InsertPatch" width="253" height="103.863" x="1434.5" y="134" fill="#F1F1F1" codeLine="29" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="1520.75" cy="150" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M1522.9375,151.7656 L1518.7969,151.7656 L1518.375,152.7969 L1518.7969,152.7969 Q1519.4063,152.7969 1519.6719,153.0313 Q1519.9375,153.2656 1519.9375,153.6563 Q1519.9375,154.0313 1519.6719,154.2656 Q1519.4063,154.5 1518.7969,154.5 L1516.5,154.5 Q1515.8906,154.5 1515.6406,154.2656 Q1515.375,154.0313 1515.375,153.6406 Q1515.375,153.2656 1515.6563,153.0313 Q1515.9219,152.7813 1516.5469,152.7969 L1519.2188,146.1406 L1518.1094,146.1406 Q1517.5,146.1406 1517.2344,145.9063 Q1516.9688,145.6719 1516.9688,145.2813 Q1516.9688,144.9063 1517.2344,144.6719 Q1517.5,144.4375 1518.1094,144.4375 L1521.7813,144.4375 L1525.1719,152.7969 Q1525.7656,152.7969 1525.9531,152.9375 Q1526.3438,153.2031 1526.3438,153.6563 Q1526.3438,154.0313 1526.0781,154.2656 Q1525.8281,154.5 1525.2188,154.5 L1522.9219,154.5 Q1522.3125,154.5 1522.0469,154.2656 Q1521.7813,154.0313 1521.7813,153.6406 Q1521.7813,153.2656 1522.0469,153.0313 Q1522.3125,152.7969 1522.9219,152.7969 L1523.3438,152.7969 L1522.9375,151.7656 Z M1522.2188,150.0625 L1520.8594,146.6875 L1519.4844,150.0625 L1522.2188,150.0625 Z"/><text x="1541.25" y="155.797" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="72">InsertPatch</text><line style="stroke:#181818;stroke-width:.5" x1="1435.5" x2="1686.5" y1="166" y2="166"/><ellipse cx="1445.5" cy="180.81" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1454.5" y="185.107" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="51">string Id</text><ellipse cx="1445.5" cy="199.432" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1454.5" y="203.728" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="69">int Position</text><line style="stroke:#181818;stroke-width:.5" x1="1435.5" x2="1686.5" y1="211.242" y2="211.242"/><ellipse cx="1445.5" cy="226.053" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1454.5" y="230.35" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="227">XmlDocument GetPrefabExtension()</text></g><g id="elem_PrefabExtensionInsertAsSiblingPatch"><rect id="PrefabExtensionInsertAsSiblingPatch" width="265" height="103.863" x="1134.5" y="134" fill="#F1F1F1" codeLine="34" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="1149.5" cy="150" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M1151.6875,151.7656 L1147.5469,151.7656 L1147.125,152.7969 L1147.5469,152.7969 Q1148.1563,152.7969 1148.4219,153.0313 Q1148.6875,153.2656 1148.6875,153.6563 Q1148.6875,154.0313 1148.4219,154.2656 Q1148.1563,154.5 1147.5469,154.5 L1145.25,154.5 Q1144.6406,154.5 1144.3906,154.2656 Q1144.125,154.0313 1144.125,153.6406 Q1144.125,153.2656 1144.4063,153.0313 Q1144.6719,152.7813 1145.2969,152.7969 L1147.9688,146.1406 L1146.8594,146.1406 Q1146.25,146.1406 1145.9844,145.9063 Q1145.7188,145.6719 1145.7188,145.2813 Q1145.7188,144.9063 1145.9844,144.6719 Q1146.25,144.4375 1146.8594,144.4375 L1150.5313,144.4375 L1153.9219,152.7969 Q1154.5156,152.7969 1154.7031,152.9375 Q1155.0938,153.2031 1155.0938,153.6563 Q1155.0938,154.0313 1154.8281,154.2656 Q1154.5781,154.5 1153.9688,154.5 L1151.6719,154.5 Q1151.0625,154.5 1150.7969,154.2656 Q1150.5313,154.0313 1150.5313,153.6406 Q1150.5313,153.2656 1150.7969,153.0313 Q1151.0625,152.7969 1151.6719,152.7969 L1152.0938,152.7969 L1151.6875,151.7656 Z M1150.9688,150.0625 L1149.6094,146.6875 L1148.2344,150.0625 L1150.9688,150.0625 Z"/><text x="1163.5" y="155.797" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="233">PrefabExtensionInsertAsSiblingPatch</text><line style="stroke:#181818;stroke-width:.5" x1="1135.5" x2="1398.5" y1="166" y2="166"/><ellipse cx="1145.5" cy="180.81" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1154.5" y="185.107" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="51">string Id</text><ellipse cx="1145.5" cy="199.432" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1154.5" y="203.728" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="104">InsertType Type</text><line style="stroke:#181818;stroke-width:.5" x1="1135.5" x2="1398.5" y1="211.242" y2="211.242"/><ellipse cx="1145.5" cy="226.053" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1154.5" y="230.35" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="227">XmlDocument GetPrefabExtension()</text></g><g id="elem_PrefabExtensionReplacePatch"><rect id="PrefabExtensionReplacePatch" width="253" height="85.242" x="846.5" y="143.5" fill="#F1F1F1" codeLine="39" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="875" cy="159.5" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M877.1875,161.2656 L873.0469,161.2656 L872.625,162.2969 L873.0469,162.2969 Q873.6563,162.2969 873.9219,162.5313 Q874.1875,162.7656 874.1875,163.1563 Q874.1875,163.5313 873.9219,163.7656 Q873.6563,164 873.0469,164 L870.75,164 Q870.1406,164 869.8906,163.7656 Q869.625,163.5313 869.625,163.1406 Q869.625,162.7656 869.9063,162.5313 Q870.1719,162.2813 870.7969,162.2969 L873.4688,155.6406 L872.3594,155.6406 Q871.75,155.6406 871.4844,155.4063 Q871.2188,155.1719 871.2188,154.7813 Q871.2188,154.4063 871.4844,154.1719 Q871.75,153.9375 872.3594,153.9375 L876.0313,153.9375 L879.4219,162.2969 Q880.0156,162.2969 880.2031,162.4375 Q880.5938,162.7031 880.5938,163.1563 Q880.5938,163.5313 880.3281,163.7656 Q880.0781,164 879.4688,164 L877.1719,164 Q876.5625,164 876.2969,163.7656 Q876.0313,163.5313 876.0313,163.1406 Q876.0313,162.7656 876.2969,162.5313 Q876.5625,162.2969 877.1719,162.2969 L877.5938,162.2969 L877.1875,161.2656 Z M876.4688,159.5625 L875.1094,156.1875 L873.7344,159.5625 L876.4688,159.5625 Z"/><text x="892" y="165.297" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="191">PrefabExtensionReplacePatch</text><line style="stroke:#181818;stroke-width:.5" x1="847.5" x2="1098.5" y1="175.5" y2="175.5"/><ellipse cx="857.5" cy="190.31" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="866.5" y="194.607" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="51">string Id</text><line style="stroke:#181818;stroke-width:.5" x1="847.5" x2="1098.5" y1="202.121" y2="202.121"/><ellipse cx="857.5" cy="216.932" fill="#84BE84" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="866.5" y="221.228" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="227">XmlDocument GetPrefabExtension()</text></g><g id="elem_PrefabExtensionSetAttributePatch"><rect id="PrefabExtensionSetAttributePatch" width="245" height="103.863" x="566.5" y="134" fill="#F1F1F1" codeLine="43" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="581.5" cy="150" fill="#A9DCDF" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M583.6875,151.7656 L579.5469,151.7656 L579.125,152.7969 L579.5469,152.7969 Q580.1563,152.7969 580.4219,153.0313 Q580.6875,153.2656 580.6875,153.6563 Q580.6875,154.0313 580.4219,154.2656 Q580.1563,154.5 579.5469,154.5 L577.25,154.5 Q576.6406,154.5 576.3906,154.2656 Q576.125,154.0313 576.125,153.6406 Q576.125,153.2656 576.4063,153.0313 Q576.6719,152.7813 577.2969,152.7969 L579.9688,146.1406 L578.8594,146.1406 Q578.25,146.1406 577.9844,145.9063 Q577.7188,145.6719 577.7188,145.2813 Q577.7188,144.9063 577.9844,144.6719 Q578.25,144.4375 578.8594,144.4375 L582.5313,144.4375 L585.9219,152.7969 Q586.5156,152.7969 586.7031,152.9375 Q587.0938,153.2031 587.0938,153.6563 Q587.0938,154.0313 586.8281,154.2656 Q586.5781,154.5 585.9688,154.5 L583.6719,154.5 Q583.0625,154.5 582.7969,154.2656 Q582.5313,154.0313 582.5313,153.6406 Q582.5313,153.2656 582.7969,153.0313 Q583.0625,152.7969 583.6719,152.7969 L584.0938,152.7969 L583.6875,151.7656 Z M582.9688,150.0625 L581.6094,146.6875 L580.2344,150.0625 L582.9688,150.0625 Z"/><text x="595.5" y="155.797" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="213">PrefabExtensionSetAttributePatch</text><line style="stroke:#181818;stroke-width:.5" x1="567.5" x2="810.5" y1="166" y2="166"/><ellipse cx="577.5" cy="180.81" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="586.5" y="185.107" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="51">string Id</text><ellipse cx="577.5" cy="199.432" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="586.5" y="203.728" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="92">string Attribute</text><ellipse cx="577.5" cy="218.053" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="586.5" y="222.35" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="75">string Value</text><line style="stroke:#181818;stroke-width:.5" x1="567.5" x2="810.5" y1="229.863" y2="229.863"/></g><g id="elem_IPrefabPatch"><rect id="IPrefabPatch" width="114" height="66.621" x="1210" y="298" fill="#F1F1F1" codeLine="48" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="1225" cy="314" fill="#B4A7E5" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M1225.9531,310.6406 L1225.9531,317.2969 L1227.6719,317.2969 Q1228.2813,317.2969 1228.5469,317.5313 Q1228.8125,317.7656 1228.8125,318.1563 Q1228.8125,318.5313 1228.5469,318.7656 Q1228.2813,319 1227.6719,319 L1222.5313,319 Q1221.9219,319 1221.6563,318.7656 Q1221.3906,318.5313 1221.3906,318.1406 Q1221.3906,317.7656 1221.6563,317.5313 Q1221.9219,317.2969 1222.5313,317.2969 L1224.25,317.2969 L1224.25,310.6406 L1222.5313,310.6406 Q1221.9219,310.6406 1221.6563,310.4063 Q1221.3906,310.1719 1221.3906,309.7813 Q1221.3906,309.4063 1221.6563,309.1719 Q1221.9219,308.9375 1222.5313,308.9375 L1227.6719,308.9375 Q1228.2813,308.9375 1228.5469,309.1719 Q1228.8125,309.4063 1228.8125,309.7813 Q1228.8125,310.1719 1228.5469,310.4063 Q1228.2813,310.6406 1227.6719,310.6406 L1225.9531,310.6406 Z"/><text x="1239" y="319.797" fill="#000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacing" textLength="82">IPrefabPatch</text><line style="stroke:#181818;stroke-width:.5" x1="1211" x2="1323" y1="330" y2="330"/><ellipse cx="1221" cy="344.81" fill="none" rx="3" ry="3" style="stroke:#038048;stroke-width:1"/><text x="1230" y="349.107" fill="#000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="50">string Id</text><line style="stroke:#181818;stroke-width:.5" x1="1211" x2="1323" y1="356.621" y2="356.621"/></g><g id="elem_MyPrefabComponent"><rect id="MyPrefabComponent" width="235" height="66.621" x="855.5" y="7" fill="#F1F1F1" codeLine="15" rx="2.5" ry="2.5" style="stroke:#181818;stroke-width:.5"/><ellipse cx="902.25" cy="23" fill="#ADD1B2" rx="11" ry="11" style="stroke:#181818;stroke-width:1"/><path fill="#000" d="M905.0156,18.875 Q905.1719,18.6563 905.3594,18.5469 Q905.5469,18.4375 905.7656,18.4375 Q906.1406,18.4375 906.375,18.7031 Q906.6094,18.9531 906.6094,19.5625 L906.6094,21.0156 Q906.6094,21.625 906.375,21.8906 Q906.1406,22.1563 905.7656,22.1563 Q905.4219,22.1563 905.2188,21.9531 Q905.0156,21.7656 904.9063,21.25 Q904.8594,20.8906 904.6719,20.7031 Q904.3438,20.3281 903.7344,20.1094 Q903.125,19.8906 902.5,19.8906 Q901.7344,19.8906 901.0938,20.2188 Q900.4688,20.5469 899.9688,21.2969 Q899.4844,22.0469 899.4844,23.0781 L899.4844,24.1719 Q899.4844,25.4063 900.375,26.2344 Q901.2656,27.0469 902.8594,27.0469 Q903.7969,27.0469 904.4531,26.7969 Q904.8438,26.6406 905.2656,26.2031 Q905.5313,25.9375 905.6719,25.8594 Q905.8281,25.7813 906.0313,25.7813 Q906.3594,25.7813 906.6094,26.0469 Q906.875,26.2969 906.875,26.6406 Q906.875,26.9844 906.5313,27.3906 Q906.0313,27.9688 905.2344,28.2969 Q904.1563,28.75 902.8594,28.75 Q901.3438,28.75 900.1406,28.125 Q899.1563,27.625 898.4688,26.5625 Q897.7813,25.4844 897.7813,24.2031 L897.7813,23.0469 Q897.7813,21.7188 898.3906,20.5781 Q899.0156,19.4219 900.1094,18.8125 Q901.2031,18.1875 902.4375,18.1875 Q903.1719,18.1875 903.8125,18.3594 Q904.4688,18.5156 905.0156,18.875 Z"/><text x="922.75" y="28.797" fill="#000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="133">MyPrefabComponent</text><line style="stroke:#181818;stroke-width:.5" x1="856.5" x2="1089.5" y1="39" y2="39"/><line style="stroke:#181818;stroke-width:.5" x1="856.5" x2="1089.5" y1="47" y2="47"/><text x="861.5" y="66.107" fill="#000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="223">[PrefabExtension(&quot;Movie&quot;, &quot;XPath&quot;)]</text></g><g id="link_MyPrefabComponent_PrefabExtensionInsertPatch"><path id="MyPrefabComponent-to-PrefabExtensionInsertPatch" fill="none" d="M855.34,48.48 C750.08,55.86 604.28,69.19 550,89 C515.85,101.46 491.3978,116.3737 464.9978,136.2437" codeLine="2" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="455.41 143.46 462.609 143.048 464.998 136.244 457.798 136.656 455.41 143.46" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_PrefabExtensionSetAttributePatch"><path id="MyPrefabComponent-to-PrefabExtensionSetAttributePatch" fill="none" d="M855.4,42.19 C687.22,44.43 387.05,53.47 285,89 C245.9,102.61 216.7723,122.5342 190.1323,144.6542" codeLine="3" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="180.9 152.32 188.071 151.565 190.132 144.654 182.961 145.41 180.9 152.32" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_CustomPatch"><path id="MyPrefabComponent-to-CustomPatch" fill="none" d="M1090.68,44.21 C1283.68,49.38 1651.47,62.58 1705,89 C1729.23,100.96 1742.4199,113.5876 1756.9399,133.7176" codeLine="4" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1763.96 143.45 1763.694 136.244 1756.94 133.718 1757.206 140.924 1763.96 143.45" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_InsertPatch"><path id="MyPrefabComponent-to-InsertPatch" fill="none" d="M1090.71,47.74 C1201.56,54.76 1359,68.01 1417,89 C1445.82,99.43 1464.7425,109.847 1488.8625,126.957" codeLine="5" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1498.65 133.9 1496.071 127.166 1488.862 126.957 1491.442 133.691 1498.65 133.9" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_PrefabExtensionInsertAsSiblingPatch"><path id="MyPrefabComponent-to-PrefabExtensionInsertAsSiblingPatch" fill="none" d="M1081.5,74.01 C1093.65,78.62 1105.71,83.63 1117,89 C1143.52,101.62 1160.9723,111.5292 1185.0623,127.2592" codeLine="6" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1195.11 133.82 1192.273 127.19 1185.062 127.259 1187.899 133.889 1195.11 133.82" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_PrefabExtensionReplacePatch"><path id="MyPrefabComponent-to-PrefabExtensionReplacePatch" fill="none" d="M973,74.06 C973,94.57 973,109.24 973,131.29" codeLine="7" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="973 143.29 977 137.29 973 131.29 969 137.29 973 143.29" style="stroke:#181818;stroke-width:1"/></g><g id="link_MyPrefabComponent_PrefabExtensionSetAttributePatch"><path id="MyPrefabComponent-to-PrefabExtensionSetAttributePatch-1" fill="none" d="M863.18,74.1 C851.45,78.65 839.85,83.63 829,89 C803.78,101.49 787.7122,111.1262 765.1722,126.9462" codeLine="8" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="755.35 133.84 762.559 133.667 765.172 126.946 757.963 127.119 755.35 133.84" style="stroke:#181818;stroke-width:1"/></g><g id="link_CustomPatch_IPrefabPatch"><path id="CustomPatch-to-IPrefabPatch" fill="none" d="M1743.64,228.77 C1731.78,237.82 1718.51,246.48 1705,252.5 C1576.95,309.57 1422.2964,324.3482 1336.1464,328.4582" codeLine="9" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1324.16 329.03 1330.344 332.74 1336.146 328.458 1329.963 324.749 1324.16 329.03" style="stroke:#181818;stroke-width:1"/></g><g id="link_InsertPatch_IPrefabPatch"><path id="InsertPatch-to-IPrefabPatch" fill="none" d="M1456.1,238.2 C1411.74,259.85 1372.5845,278.9674 1335.1645,297.2274" codeLine="10" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1324.38 302.49 1331.526 303.454 1335.165 297.227 1328.018 296.264 1324.38 302.49" style="stroke:#181818;stroke-width:1"/></g><g id="link_PrefabExtensionInsertAsSiblingPatch_IPrefabPatch"><path id="PrefabExtensionInsertAsSiblingPatch-to-IPrefabPatch" fill="none" d="M1267,238.4 C1267,258.19 1267,268.22 1267,285.77" codeLine="11" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1267 297.77 1271 291.77 1267 285.77 1263 291.77 1267 297.77" style="stroke:#181818;stroke-width:1"/></g><g id="link_PrefabExtensionReplacePatch_IPrefabPatch"><path id="PrefabExtensionReplacePatch-to-IPrefabPatch" fill="none" d="M1058.04,228.51 C1106.71,252.26 1155.6859,276.1667 1198.8159,297.2167" codeLine="12" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1209.6 302.48 1205.962 296.254 1198.816 297.217 1202.454 303.443 1209.6 302.48" style="stroke:#181818;stroke-width:1"/></g><g id="link_PrefabExtensionSetAttributePatch_IPrefabPatch"><path id="PrefabExtensionSetAttributePatch-to-IPrefabPatch" fill="none" d="M790.22,238.11 C803.08,243.48 816.21,248.45 829,252.5 C961.9,294.62 1113.2074,314.8496 1197.9274,323.8696" codeLine="13" style="stroke:#181818;stroke-width:1"/><polygon fill="#181818" points="1209.86 325.14 1204.317 320.527 1197.927 323.87 1203.47 328.482 1209.86 325.14" style="stroke:#181818;stroke-width:1"/></g></g></svg>