</div><h4class="tsd-returns-title">Returns <ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L1054">src/data/trainer-config.ts:1054</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="getDerivedType"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>get<wbr/>Derived<wbr/>Type</span><ahref="#getDerivedType"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="getDerivedType.getDerivedType-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">get<wbr/>Derived<wbr/>Type</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">trainerTypeToDeriveFrom</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a><ahref="#getDerivedType.getDerivedType-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Returns the derived trainer type for a given trainer type.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerTypeToDeriveFrom</span>: <spanclass="tsd-signature-type">null</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a><spanclass="tsd-signature-symbol"> = null</span></span><divclass="tsd-comment tsd-typography"><p>The trainer type to derive from. (If null, the this.trainerType property will be used.)</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerSlot</span>: <ahref="../enums/data_trainer_config.TrainerSlot.html"class="tsd-signature-type tsd-kind-enum">TrainerSlot</a><spanclass="tsd-signature-symbol"> = TrainerSlot.NONE</span></span><divclass="tsd-comment tsd-typography"><p>The slot to determine which title to use. Defaults to TrainerSlot.NONE.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">variant</span>: <ahref="../enums/field_trainer.TrainerVariant.html"class="tsd-signature-type tsd-kind-enum">TrainerVariant</a></span><divclass="tsd-comment tsd-typography"><p>The variant of the trainer to determine the specific title.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Champion.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Champion is Male or Female (for localization of the title).</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L897">src/data/trainer-config.ts:897</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForEliteFour"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Elite<wbr/>Four</span><ahref="#initForEliteFour"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForEliteFour.initForEliteFour-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Elite<wbr/>Four</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-kind-parameter">isMale</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForEliteFour.initForEliteFour-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for an Elite Four member.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Elite Four member.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Elite Four Member is Male or Female (for localization of the title).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the Elite Four member.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L842">src/data/trainer-config.ts:842</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForEvilTeamAdmin"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Admin</span><ahref="#initForEvilTeamAdmin"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForEvilTeamAdmin.initForEvilTeamAdmin-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Evil<wbr/>Team<wbr/>Admin</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">title</span>, <spanclass="tsd-kind-parameter">poolName</span>, <spanclass="tsd-kind-parameter">signatureSpecies</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForEvilTeamAdmin.initForEvilTeamAdmin-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for an evil team admin.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">title</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The title of the evil team admin.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">poolName</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The evil team the admin belongs to.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the evil team leader.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">title</span>: <spanclass="tsd-signature-type">string</span></span></li><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the evil team leader.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">rematch</span>: <spanclass="tsd-signature-type">boolean</span><spanclass="tsd-signature-symbol"> = false</span></span></li><li><span><codeclass="tsd-tag">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the evil team Leader.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Gym Leader.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Gym Leader is Male or Not (for localization of the title).</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L785">src/data/trainer-config.ts:785</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="initForStatTrainer"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>init<wbr/>For<wbr/>Stat<wbr/>Trainer</span><ahref="#initForStatTrainer"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="initForStatTrainer.initForStatTrainer-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">init<wbr/>For<wbr/>Stat<wbr/>Trainer</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">signatureSpecies</span>, <spanclass="tsd-kind-parameter">isMale</span>, <spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#initForStatTrainer.initForStatTrainer-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Initializes the trainer configuration for a Stat Trainer, as part of the Trainer's Test Mystery Encounter.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">signatureSpecies</span>: <spanclass="tsd-signature-symbol">(</span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_species.Species.html"class="tsd-signature-type tsd-kind-enum">Species</a><spanclass="tsd-signature-symbol">[]</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The signature species for the Elite Four member.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><spanclass="tsd-kind-parameter">isMale</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>Whether the Elite Four Member is Male or Female (for localization of the title).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Rest</code><spanclass="tsd-signature-symbol">...</span><spanclass="tsd-kind-parameter">specialtyTypes</span>: <ahref="../enums/data_type.Type.html"class="tsd-signature-type tsd-kind-enum">Type</a><spanclass="tsd-signature-symbol">[]</span></span><divclass="tsd-comment tsd-typography"><p>The specialty types for the Stat Trainer.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">nameDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the pair (e.g. "red_blue_double").</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">titleDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The key for the title in the i18n file. (e.g., "champion_double").</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">trainerTypeDouble</span>: <ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The TrainerType of the partner in a double battle.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">nameDouble</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the double trainer (e.g., "Ace Duo" for Trainer Class Doubles or "red_blue_double" for NAMED trainer doubles).</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">doubleEncounterBgm</span>: <spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The encounter BGM for the double trainer, which can be a TrainerType or a string.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L404">src/data/trainer-config.ts:404</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="setHasGenders"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Genders</span><ahref="#setHasGenders"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="setHasGenders.setHasGenders-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Has<wbr/>Genders</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">nameFemale</span><spanclass="tsd-signature-symbol">?</span>, <spanclass="tsd-kind-parameter">femaleEncounterBgm</span><spanclass="tsd-signature-symbol">?</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#setHasGenders.setHasGenders-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets the configuration for trainers with genders, including the female name and encounter background music (BGM).</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">nameFemale</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the female trainer. If 'Ivy', a localized name will be assigned.</p>
</div><divclass="tsd-comment tsd-typography"></div></li><li><span><codeclass="tsd-tag">Optional</code><spanclass="tsd-kind-parameter">femaleEncounterBgm</span>: <spanclass="tsd-signature-type">string</span><spanclass="tsd-signature-symbol"> | </span><ahref="../enums/enums_trainer_type.TrainerType.html"class="tsd-signature-type tsd-kind-enum">TrainerType</a></span><divclass="tsd-comment tsd-typography"><p>The encounter BGM for the female trainer, which can be a TrainerType or a string.</p>
<divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L367">src/data/trainer-config.ts:367</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="setHasVoucher"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Has<wbr/>Voucher</span><ahref="#setHasVoucher"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="setHasVoucher.setHasVoucher-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Has<wbr/>Voucher</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">hasVoucher</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><spanclass="tsd-signature-type">void</span><ahref="#setHasVoucher.setHasVoucher-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets if a boss trainer will have a voucher or not.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">hasVoucher</span>: <spanclass="tsd-signature-type">boolean</span></span><divclass="tsd-comment tsd-typography"><p>If the boss trainer will have a voucher.</p>
</div><divclass="tsd-comment tsd-typography"></div></li></ul></div><h4class="tsd-returns-title">Returns <spanclass="tsd-signature-type">void</span></h4><divclass="tsd-comment tsd-typography"></div><asideclass="tsd-sources"><ul><li>Defined in <ahref="https://github.com/pagefaultgames/pokerogue/blob/b1194cdfb62a42409343e6dcdd959c88fcca1590/src/data/trainer-config.ts#L268">src/data/trainer-config.ts:268</a></li></ul></aside></li></ul></section><sectionclass="tsd-panel tsd-member"><aid="setLocalizedName"class="tsd-anchor"></a><h3class="tsd-anchor-link"><span>set<wbr/>Localized<wbr/>Name</span><ahref="#setLocalizedName"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ulclass="tsd-signatures"><liclass="tsd-signature tsd-anchor-link"><aid="setLocalizedName.setLocalizedName-1"class="tsd-anchor"></a><spanclass="tsd-kind-call-signature">set<wbr/>Localized<wbr/>Name</span><spanclass="tsd-signature-symbol">(</span><spanclass="tsd-kind-parameter">name</span><spanclass="tsd-signature-symbol">)</span><spanclass="tsd-signature-symbol">: </span><ahref="data_trainer_config.TrainerConfig.html"class="tsd-signature-type tsd-kind-class">TrainerConfig</a><ahref="#setLocalizedName.setLocalizedName-1"aria-label="Permalink"class="tsd-anchor-icon"><svgviewBox="0 0 24 24"><usehref="../assets/icons.svg#icon-anchor"></use></svg></a></li><liclass="tsd-description"><divclass="tsd-comment tsd-typography"><p>Sets a localized name for the trainer. This should only be used for trainers that dont use a "initFor" function and are considered "named" trainers</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">name</span>: <spanclass="tsd-signature-type">string</span></span><divclass="tsd-comment tsd-typography"><p>The name of the trainer.</p>
</div><divclass="tsd-parameters"><h4class="tsd-parameters-title">Parameters</h4><ulclass="tsd-parameter-list"><li><span><spanclass="tsd-kind-parameter">team</span>: <spanclass="tsd-signature-type">any</span></span><divclass="tsd-comment tsd-typography"><p>The evil team the admin belongs to.</p>