Skip to content
Version 2.11.0
↓ Get the launcher

ModulePart record

A single attribute contribution from a module. A module typically has 1–3 parts (see lua/ui/model/mod_define.lua: ModEffectMaxCount = 3).

public record ModulePart
name description
ModulePart(…) A single attribute contribution from a module. A module typically has 1–3 parts (see lua/ui/model/mod_define.lua: ModEffectMaxCount = 3).
AttrId { get; set; } EAttrType integer code — same namespace as IPlayerStats subscriptions and IGameDataCombat.GetAttributeProfile.
Name { get; set; } Localized attribute name (resolved via IGameDataCombat.GetAttribute or GetAttributeProfile).
Value { get; set; } Raw integer value — units depend on attribute (see Phase 6 percent-scale handling).