Skip to content

StatisticsTracker

Examples

Example

<StatisticsTracker>
  <UnitClasses>
    Infantry Civilian
  </UnitClasses>
  <StructureClasses>
    House Wonder
  </StructureClasses>
</StatisticsTracker>

XML Elements

The following elements can be used within this component:

StatisticsTracker

UnitClasses

The tracker records trained, lost, killed and captured units of entities that match any of these Identity classes.

Type: text

Path: StatisticsTracker/UnitClasses

StructureClasses

The tracker records constructed, lost, destroyed and captured structures of entities that match any of these Identity classes.

Type: text

Path: StatisticsTracker/StructureClasses

RELAX NG Grammar

<define name="component.StatisticsTracker">
  <element name="StatisticsTracker">
    <interleave>
      <element name="UnitClasses">
        <attribute name="datatype">
          <value>
          </value>
        </attribute>
        <text/>
      </element>
      <element name="StructureClasses">
        <attribute name="datatype">
          <value>
          </value>
        </attribute>
        <text/>
      </element>
    </interleave>
  </element>
</define>