Skip to content

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

Interface: RewardProperties ​

ts
interface RewardProperties {
  tier?: number;
  number_rewarded?: number;
}

Defined in: packages/xml/src/schemas/component-definition.ts:186

Represents <reward_properties> element in Stormworks component definition data.

XML location: <definition> / <reward_properties>

Parent: ComponentDefinition

If your function only reads the value and does not mutate it, prefer RewardPropertiesImmutable for its parameter type.

See ​

Properties ​

PropertyType

tier?

number

number_rewarded?

number