private void HandleChannelInvitation_NotifyReceivedInvitationAdded(RPCContext context) { base.ApiLog.LogDebug("HandleChannelInvitation_NotifyReceivedInvitationAdded"); InvitationAddedNotification invitationAddedNotification = InvitationAddedNotification.ParseFrom(context.Payload); if (invitationAddedNotification.Invitation.HasChannelInvitation) { ChannelInvitation channelInvitation = invitationAddedNotification.Invitation.ChannelInvitation; ChannelAPI.InvitationServiceType serviceType = (ChannelAPI.InvitationServiceType)channelInvitation.ServiceType; List <ChannelAPI.ReceivedInvite> list; if (!this.m_receivedInvitations.TryGetValue(serviceType, out list)) { list = new List <ChannelAPI.ReceivedInvite>(); this.m_receivedInvitations[serviceType] = list; } list.Add(new ChannelAPI.ReceivedInvite(channelInvitation, invitationAddedNotification.Invitation)); if (serviceType == ChannelAPI.InvitationServiceType.INVITATION_SERVICE_TYPE_PARTY) { this.m_battleNet.Party.ReceivedInvitationAdded(invitationAddedNotification, channelInvitation); } } }
public override void NotifyReceivedInvitationAdded(Google.ProtocolBuffers.IRpcController controller, InvitationAddedNotification request, Action <bnet.protocol.NO_RESPONSE> done) { throw new NotImplementedException(); }
public override void NotifyReceivedInvitationAdded(Google.ProtocolBuffers.IRpcController controller, InvitationAddedNotification request, Action<bnet.protocol.NO_RESPONSE> done) { throw new NotImplementedException(); }