NQualityOfLife.XML.Surround - Niilo007/RimWorld-NQoL GitHub Wiki

Surround

Related:

XML

<Operation Class="NQualityOfLife.XML.Surround">
    <xpath>string</xpath>
    <at>string</at>
    <atCustom>string</atCustom>
    <with>

    </with>
</Operation>

Usage

Errors

Examples

Used In Example:

<Operation Class="NQualityOfLife.XML.Surround">
    <xpath>Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children/li[debugLabel="Head"]</xpath>
    <atCustom>Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children/li[debugLabel="NQoL_Head"]/children/li</atCustom>
    <with>
        <li>
            <debugLabel>NQoL_Head</debugLabel>
            <nodeClass>PawnRenderNode</nodeClass>
            <workerClass>NQualityOfLife.Weapons.SuppressionSystem.Suppression_PawnRenderNodeWorker_Head</workerClass>
            <tagDef>Head</tagDef>
            <skipFlag>Head</skipFlag>
            <useGraphic>false</useGraphic>
            <children>
                <li>

                </li>
            </children>
        </li>
    </with>
</Operation>

Used In Example:

<Operation Class="NQualityOfLife.XML.Surround">
    <xpath>Defs/PawnRenderTreeDef[defName="Humanlike"]/root/children</xpath>
    <at>li[debugLabel="NQoL_Body"]/children</at>
    <with>
        <children>
            <li>
                <debugLabel>NQoL_Body</debugLabel>
                <nodeClass>PawnRenderNode</nodeClass>
                <workerClass>NQualityOfLife.Weapons.SuppressionSystem.Suppression_PawnRenderNodeWorker</workerClass>
                <tagDef>Body</tagDef>
                <skipFlag>Body</skipFlag>
                <useGraphic>false</useGraphic>
                <children>
					
                </children>
            </li>
        </children>
    </with>
</Operation>
⚠️ **GitHub.com Fallback** ⚠️