Method GetMailCarriers
- Namespace
- GuildWars2.Hero.Equipment.MailCarriers
- Assembly
- GW2SDK.dll
GetMailCarriers(Language?, MissingMemberBehavior, CancellationToken)
Retrieves all mail carriers.
public Task<(HashSet<MailCarrier> Value, MessageContext Context)> GetMailCarriers(Language? language = null, MissingMemberBehavior missingMemberBehavior = MissingMemberBehavior.Error, CancellationToken cancellationToken = default)
Parameters
language
LanguageThe language to use for descriptions.
missingMemberBehavior
MissingMemberBehaviorThe desired behavior when JSON contains unexpected members.
cancellationToken
CancellationTokenA token to cancel the request.
Returns
- Task<(HashSet<MailCarrier> Value, MessageContext Context)>
A task that represents the API request.