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); }
public void OnClanInvitationResponseReceived(ClanInvitationResponseEventArgs e) { m_host.OnClanInvitationResponseReceived(e); }