Skip to content

Documentation / @sw-file-lib/xml / ComponentDefinitionSchemas / RewardPropertiesImmutable

Interface: RewardPropertiesImmutable ​

ts
interface RewardPropertiesImmutable {
  readonly tier?: number;
  readonly number_rewarded?: number;
}

Defined in: packages/xml/src/schemas/generated/component-definition-immutable.ts:202

Represents <reward_properties> element in Stormworks component definition data.

XML location: <definition> / <reward_properties>

Parent: ComponentDefinitionImmutable

This is the recommended type for function parameters when it does not need to modify the value. Use RewardProperties instead if mutation is required.

See ​

Properties ​

PropertyModifierType

tier?

readonly

number

number_rewarded?

readonly

number