コード例 #1
0
ファイル: BattleNetClient.Clan.cs プロジェクト: Mofsy/jinxbot
        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);
        }
コード例 #2
0
 public void OnClanInvitationResponseReceived(ClanInvitationResponseEventArgs e)
 {
     m_host.OnClanInvitationResponseReceived(e);
 }