Class PrefabExtensionInsertPatch.PrefabExtensionTextAttribute
- Namespace
- Bannerlord.UIExtenderEx.Prefabs2
- Assembly
- Bannerlord.UIExtenderEx.dll
Use when the property or return of your method is of type string and is xml.
The xml must be properly formatted with a single root node.
If RemoveRootNode is set to false, the root node of the document,
as well as all of its children, will be inserted at the target location.
If RemoveRootNode is set to true, the root node of the document
will be ignored, and all of the root node's children will be placed at the target location instead.
See PrefabExtensionInsertPatch.PrefabExtensionContentAttribute for more info.
protected sealed class PrefabExtensionInsertPatch.PrefabExtensionTextAttribute : PrefabExtensionInsertPatch.PrefabExtensionSingleContentAttribute
- Inheritance
-
PrefabExtensionInsertPatch.PrefabExtensionTextAttribute
- Inherited Members
Constructors
PrefabExtensionTextAttribute(bool)
Use when the property or return of your method is of type string and is xml.
The xml must be properly formatted with a single root node.
If RemoveRootNode is set to false, the root node of the document,
as well as all of its children, will be inserted at the target location.
If RemoveRootNode is set to true, the root node of the document
will be ignored, and all of the root node's children will be placed at the target location instead.
See PrefabExtensionInsertPatch.PrefabExtensionContentAttribute for more info.
public PrefabExtensionTextAttribute(bool removeRootNode = false)
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.
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