internal static async Task <string> AddOrReplacePrivateChannelGroupNameAsync(this ConnectionUser connectionUser, IGroupManager grops, int channelId) { return (await connectionUser.AddOrReplaceGroupAsync(grops, channelId, HubGroupTypes.Channel, "", HubGroupPrefix.Private)); }
internal static async Task <string> AddOrReplaceGroupChannelGroupNameAsync(this ConnectionUser connectionUser, IGroupManager grops, int channelId, string channelNativeName) { return (await connectionUser.AddOrReplaceGroupAsync(grops, channelId, HubGroupTypes.Channel, channelNativeName, HubGroupPrefix.Group)); }
internal static async Task <string> AddOrReplaceAllianceRecrutManagerGroupAsync( this ConnectionUser connectionUser, IGroupManager grops) { return(await connectionUser.AddOrReplaceGroupAsync(grops, connectionUser.AllianceId, HubGroupTypes.Alliance, connectionUser.AllianceName, HubGroupPrefix.RecrutManager)); }