Class PrefabExtensionInsertPatch.PrefabExtensionSingleContentAttribute
- Namespace
- Bannerlord.UIExtenderEx.Prefabs2
- Assembly
- Bannerlord.UIExtenderEx.dll
protected abstract class PrefabExtensionInsertPatch.PrefabExtensionSingleContentAttribute : PrefabExtensionInsertPatch.PrefabExtensionContentAttribute
- Inheritance
-
PrefabExtensionInsertPatch.PrefabExtensionSingleContentAttribute
- Derived
- Inherited Members
Constructors
PrefabExtensionSingleContentAttribute(bool)
Used on a single Property or Method in PrefabExtensionInsertPatch to flag it as containing the patch information.
Supported Types:
- stringRepresents either the name of a file (use PrefabExtensionInsertPatch.PrefabExtensionFileNameAttribute), or xml (use PrefabExtensionInsertPatch.PrefabExtensionTextAttribute).
- XmlDocumentUse PrefabExtensionInsertPatch.PrefabExtensionXmlDocumentAttribute. The root node of the document and all of its children will be inserted at the target location.
- XmlNodeUse PrefabExtensionInsertPatch.PrefabExtensionXmlNodeAttribute. The node and all of its children will be inserted at the target location.
- IEnumerable<T> of type XmlNodeUse PrefabExtensionInsertPatch.PrefabExtensionXmlNodesAttribute. Nodes will be inserted in the same order that they appear in this list at the target location.
protected PrefabExtensionSingleContentAttribute(bool removeRootNode)
Parameters
removeRootNode
boolIf set to true, the root node of will be removed.
This is useful when you wish to insert multiple nodes at the same level (as siblings) from a single patch.
Properties
RemoveRootNode
If set to true, the root node of Content will be removed.
This is useful when you wish to insert multiple nodes at the same level (as siblings) from a single patch.
public bool RemoveRootNode { get; }
Property Value
This page was last modified at 01/07/2024 15:42:12 +02:00 (UTC).
Commit Message
Author: Vitalii Mikhailov
Commit: 8e7791fbf43426d6f22c8d8e79438b8b61407146
new UIExtender replcaed with UIExtender.Create
Added the ability to disable specific Prefabs and Mixins
Added the ability to deregister UIExtender
Added the ability to get another mods UIExtender
Updated PUML diagrams