Skip to content

Class 0xb5c28890

15.15

Inheritance 4 ancestors · 50 siblings

Class Documentation

Edit documentation

A bool driver that is true when at least one champion in the game passes a champion filter. The filter selects champions by their relation to the source and by the roles of their character data.

The driver checks every champion in the game. A champion passes when:

  • its relation to the source matches one of the flags in PlayersToInclude, and
  • its character data has one of the roles in 0x6f521854.

0xe67a27c8 uses the same filter and returns the display names of the champions that pass.

Caching. The driver does not run the filter on every evaluation. It stores the result on the driver object, and runs the filter again only after one of a few game events marks the result as stale. The events are not identified. The stored result is shared by every source: the relation to the source is computed for the source that evaluated the driver first after the event.

Properties

0x6f521854

List2<U32> = []
Edit documentation

The roles that pass. A champion passes when its character data has one of them.

Value Role
0 fighter
1 tank
2 assassin
3 mage
4 marksman
5 support

0x8f7bb6e

U32 = 0
15.24
Edit documentation

Selects which of two character records of the champion the roles are read from when the champion's own data is tested: one record when not 0, the other when 0.

0x9c5f0056

U8 = 0
15.24
Edit documentation

When not 0, a champion that currently shows another character's data is tested with its own character data. When 0, it is tested with the data that it shows.

PlayersToInclude

List2<U32> = []
Edit documentation

The relations that pass, as a list of flags. The driver combines the list into one mask.

Flag Champions that pass
1 champions on the team of the source
2 every champion
4 champions that pass a relation test whose meaning is not determined
8 champions on the neutral team (300)