Wolfringo Wolfringo
Wolfringo Wolfringo
Wolfringo (c) 2020 TehGM
DocFX, DiscordFX theme.
Search Results for

    Class WolfGroupMembersHelper

    Utility class designed for handling WOLF protocol bug where group might not have members.

    Inheritance
    System.Object
    WolfGroupMembersHelper
    Namespace: TehGM.Wolfringo.Utilities.Internal
    Assembly: Wolfringo.Core.dll
    Syntax
    public static class WolfGroupMembersHelper

    Methods

    | Improve this Doc View Source

    RevalidateGroupMembersAsync(IWolfClient, WolfGroup, CancellationToken)

    Checks if group members are downloaded. If not, it'll attempt to repopulate it.

    Declaration
    public static async Task<bool> RevalidateGroupMembersAsync(this IWolfClient client, WolfGroup group, CancellationToken cancellationToken = default(CancellationToken))
    Parameters
    Type Name Description
    IWolfClient client

    Client to request group members with.

    WolfGroup group

    Group to validate members of.

    System.Threading.CancellationToken cancellationToken

    Token to cancel the task.

    Returns
    Type Description
    System.Threading.Tasks.Task<System.Boolean>

    True if members list is valid after the operation; otherwise false.