Exemple #1
0
 public WhoisCompleteEventArgs(Core.WhoisType Type, HoNUserInfoInGameArgs InGameArgs, HoNUserInfoNoExistArgs NoExistArgs, HoNUserInfoOfflineArgs OfflineArgs, HoNUserInfoOnlineArgs OnlineArgs)
 {
     this._type = Type;
     this._ingameargs = InGameArgs;
     this._noexistargs = NoExistArgs;
     this._offlineargs = OfflineArgs;
     this._onlineargs = OnlineArgs;
 }
Exemple #2
0
        private void HandleUserInfoOnline(string Username, UInt32 ChannelCount)
        {
            HoNUserInfoOnlineArgs huic = new HoNUserInfoOnlineArgs(Username, ChannelCount);
            string[] strChannels = new string[ChannelCount];
            for (int i = 0; i < ChannelCount; i++)
            {
                strChannels[i] = HoNRecv.ExtractString();
                huic.AddChannel(i, strChannels[i]);
            }
            string channels = String.Join("', '", strChannels);

            if (onUserInfoOnline != null)
            {
                onUserInfoOnline(this, huic);
            }
        }
Exemple #3
0
 void hon_onUserInfoOnline(object sender, HoNUserInfoOnlineArgs e)
 {
     WhoisType Type = WhoisType.USER_INFO_ONLINE;
     if (onWhoisComplete != null) onWhoisComplete(this, new WhoisCompleteEventArgs(Type, null, null, null, e));
 }