private void HandleClanInvitation(ParseData pd)
        {
            DataReader             dr       = new DataReader(pd.Data);
            int                    cookie   = dr.ReadInt32();
            ClanInvitationResponse response = (ClanInvitationResponse)dr.ReadByte();

            ClanInvitationResponseEventArgs args = new ClanInvitationResponseEventArgs(cookie, response)
            {
                EventData = pd
            };

            OnClanInvitationResponseReceived(args);
        }
 /// <summary>
 /// Creates a new <see>ClanInvitationResponseEventArgs</see>.
 /// </summary>
 /// <param name="requestID">The ID of the request assigned by the invitation.</param>
 /// <param name="response">The response from Battle.net.</param>
 public ClanInvitationResponseEventArgs(int requestID, ClanInvitationResponse response)
 {
     m_reqID = requestID;
     m_response = response;
 }
 /// <summary>
 /// Creates a new <see>ClanInvitationResponseEventArgs</see>.
 /// </summary>
 /// <param name="requestID">The ID of the request assigned by the invitation.</param>
 /// <param name="response">The response from Battle.net.</param>
 public ClanInvitationResponseEventArgs(int requestID, ClanInvitationResponse response)
 {
     m_reqID    = requestID;
     m_response = response;
 }