Struct ArenaRatingSource
Where the arena former reads a candidate's rating from.
public readonly struct ArenaRatingSource
- Inherited Members
Remarks
Unranked matches band and balance on the lifetime PvP Rank attribute, so the former needs the attribute's template id. Ranked matches use the season rating table, so it needs the season. Either may be left at zero to read every candidate as rating 0, which disables banding and makes balancing a no-op.
Constructors
ArenaRatingSource(long, int, int)
public ArenaRatingSource(long seasonID, int attributeTemplateID, int defaultRating)
Parameters
Fields
AttributeTemplateID
Template id of the character attribute that supplies the rating when SeasonID is 0, or 0.
public readonly int AttributeTemplateID
Field Value
DefaultRating
Rating assumed for a character with no rating row. 1500 for ranked, 0 for the attribute.
public readonly int DefaultRating
Field Value
None
public static readonly ArenaRatingSource None
Field Value
SeasonID
Season whose arena_rating rows supply the rating, or 0.
public readonly long SeasonID
Field Value
Methods
FromAttribute(int)
public static ArenaRatingSource FromAttribute(int attributeTemplateId)
Parameters
attributeTemplateIdint
Returns
FromSeason(long, int)
public static ArenaRatingSource FromSeason(long seasonId, int defaultRating = 1500)