예제 #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));
 }
예제 #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));
 }
예제 #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));
 }