Beispiel #1
0
 internal static async Task <string> AddOrReplacePrivateChannelGroupNameAsync(this ConnectionUser connectionUser,
                                                                              IGroupManager grops, int channelId)
 {
     return
         (await
          connectionUser.AddOrReplaceGroupAsync(grops, channelId, HubGroupTypes.Channel, "",
                                                HubGroupPrefix.Private));
 }
Beispiel #2
0
 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));
 }
Beispiel #3
0
 internal static async Task <string> AddOrReplaceAllianceRecrutManagerGroupAsync(
     this ConnectionUser connectionUser, IGroupManager grops)
 {
     return(await connectionUser.AddOrReplaceGroupAsync(grops, connectionUser.AllianceId, HubGroupTypes.Alliance,
                                                        connectionUser.AllianceName, HubGroupPrefix.RecrutManager));
 }