亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? icqclient.pas

?? 本程序是轉載的
?? PAS
?? 第 1 頁 / 共 5 頁
字號:

{Adds UIN to contact list after logon(when you are online), UIN automaticly
added to ContactList TStrings. After adding the UIN you will receive status
notifications. Returns True when UIN is added to the list(it wasn't there before).}
function TICQClient.AddContact(UIN: LongWord): Boolean;
var
  pkt: TRawPkt;
begin
  Result := False;
  if FContactLst.IndexOf(IntToStr(UIN)) < 0 then
  begin
    FContactLst.Add(IntToStr(UIN));
    Result := True;
  end else
    Exit;
  if not LoggedIn then Exit;
  CreateCLI_ADDCONTACT(@pkt, IntToStr(UIN), FSeq);           {SNAC(x03/x04)}
  FSock.SendData(pkt, pkt.Len);
end;

{Adds list of UINs to contact list after logon(when you are online), UIN automaticly
added to ContactList TStrings. After adding the UINs you will receive status
notifications. Returns True when UINs are added to the list(it wasn't there before).}
function TICQClient.AddContactMulti(UINlist: array of LongWord): Boolean;
var
pkt: TRawPkt;
temp : integer;
begin
  for temp := Low(UINList) to High(UINList) do
    FContactlst.Add(inttostr(uinlist[temp]));
  CreateCLI_ADDCONTACT_multi(@pkt, uinlist, FSeq); {SNAC(x03/x04)}
  FSock.SendData(pkt, pkt.Len);
  Result := True;
end;

{Addes UIN to the visible list. Use while you are online.
Returns True when UIN is added to the list(it wasn't there before).}
Function TICQClient.AddContactVisible(UIN: LongWord):Boolean;
var
  idx: Integer;
  pkt: TRawPkt;
  SL:TSTringList;
begin
  Result := False;
  idx := FVisibleLst.IndexOf(IntToStr(UIN));
  if idx > -1 then
    Exit;  // Already in list
  FVisibleLst.Add(IntToStr(UIN));
  Result := True;
  if not LoggedIn then Exit;
  if StatusToStr (FStatus)='Invisible' // *yegor
     then begin
          SL := TStringList.Create;
          Try
            SL.Add(IntToStr(UIN));
            CreateCLI_ADDVISIBLE(@pkt, SL, FSeq);
          Finally
            SL.Free;
          End;
          FSock.SendData(pkt, pkt.Len);
     end; // **yegor
end;

{Addes UIN to the invisible list. Use while you are online.
Returns True when UIN is added to the list(it wasn't there before).}
Function TICQClient.AddContactInvisible(UIN: LongWord):Boolean;
var
  idx: Integer;
  pkt: TRawPkt;
  SL:TSTringList;
begin
  Result := False;
  idx := FInVisibleLst.IndexOf(IntToStr(UIN));
  if idx > -1 then
    Exit;  // Already in list
  FInVisibleLst.Add(IntToStr(UIN));
  Result := True;
  if not LoggedIn then Exit;
  if StatusToStr (Status)<>'Invisible' // *yegor
     then begin
          SL := TStringList.Create;
          Try
            SL.Add(IntToStr(UIN));
            CreateCLI_ADDINVISIBLE(@pkt, SL, FSeq);
          Finally
            SL.Free;
          End;
          FSock.SendData(pkt, pkt.Len);
     end; // **yegor
end;

{Removes UIN from contact list. Use while you are online.}
procedure TICQClient.RemoveContact(UIN: LongWord);
var
  idx: Integer;
  pkt: TRawPkt;
begin
  idx := FContactLst.IndexOf(IntToStr(UIN));
  if idx > -1 then
    FContactLst.Delete(idx);
  if not LoggedIn then Exit;
  CreateCLI_REMOVECONTACT(@pkt, UIN, FSeq);
  FSock.SendData(pkt, pkt.Len);
end;

{Removes UIN from the visible list. Use while you are online.}
procedure TICQClient.RemoveContactVisible(UIN: LongWord);
var
  idx: Integer;
  pkt: TRawPkt;
begin
  idx := FVisibleLst.IndexOf(IntToStr(UIN));
  if idx > -1 then
    FVisibleLst.Delete(idx);
  if not LoggedIn then Exit;
  if StatusToStr (FStatus)='Invisible' // *yegor
     then begin
          CreateCLI_REMVISIBLE(@pkt, UIN, FSeq);
          FSock.SendData(pkt, pkt.Len);
     end; // **yegor
end;

{Removes UIN from the invisible list. Use while you are online.}
procedure TICQClient.RemoveContactInvisible(UIN: LongWord);
var
  idx: Integer;
  pkt: TRawPkt;
begin
  idx := FInvisibleLst.IndexOf(IntToStr(UIN));
  if idx > -1 then
    FInvisibleLst.Delete(idx);
  if not LoggedIn then Exit;
  if StatusToStr (FStatus)<>'Invisible' // *yegor
     then begin
          CreateCLI_REMINVISIBLE(@pkt, UIN, FSeq);
          FSock.SendData(pkt, pkt.Len);
     end; // **yegor
end;

{Query info about UIN. As answer you will recieve theese events: OnUserWorkInfo,
OnUserInfoMore, OnUserInfoAbout, OnUserInfoInterests, OnUserInfoMoreEmails,
OnUserFound.}
procedure TICQClient.RequestInfo(UIN: LongWord);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  FInfoChain.Values[IntToStr(FSeq2)] := IntToStr(UIN);
  CreateCLI_METAREQINFO(@pkt, FLUIN, UIN, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Request short info(nick, first, last, email) of UIN.}
procedure TICQClient.RequestInfoShort(UIN: LongWord);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  FSInfoChain.Values[IntToStr(FSeq2)] := IntToStr(UIN);
  CreateCLI_METAREQINFO_SHORT(@pkt, FLUIN, UIN, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Searches user by Mail}
procedure TICQClient.SearchByMail(const Email: String);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_SEARCHBYMAIL(@pkt, FLUIN, Email, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Searches user by UIN}
procedure TICQClient.SearchByUIN(UIN: LongWord);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_SEARCHBYUIN(@pkt, FLUIN, UIN, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Searches user by Name and other data}
procedure TICQClient.SearchByName(const FirstName, LastName, NickName, Email: String);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_SEARCHBYNAME(@pkt, FLUIN, FirstName, LastName, NickName, Email, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Searches random user from Group, where Group id could be found in RandGroups:
array[1..11]...(ICQWorks.pas) constant. As answer you will receive OnUserFound
notification, only one user will be found.}
procedure TICQClient.SearchRandom(Group: Word);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_SEARCHRANDOM(@pkt, FLUIN, Group, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Searches user in 'White Pages'. As answer you will receive OnUserFound notification
when at least one user found or OnUserNotFound if such user does not exist.}
procedure TICQClient.SearchWhitePages(const FirstName, LastName, NickName, Email: String; MinAge, MaxAge: Word;
  Gender: Byte; const Language, City, Country, Company, Department, Position, Occupation,
  Organization, OrganKeyWords, PastAffiliation, AffiKeyWords, KeyWord: String; Online: Boolean);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_SEARCHWP(@pkt, FLUIN, FirstName, LastName, NickName, Email,
    MinAge, MaxAge,
    Gender,
    StrToLanguageI(Language),
    City, StrToCountryI(Country),
    Company,
    Department,
    Position,
    StrToOccupationI(Occupation),
    StrToOrganizationI(Organization),
    OrganKeyWords,
    StrToPastI(PastAffiliation),
    AffiKeyWords,
    KeyWord,
    Ord(Online),
    FSeq,
    FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Set general info about yourself. You can skip some parameters (eg. use '' -
empty strings) to unspecify some info. }
procedure TICQClient.SetSelfInfoGeneral(NickName, FirstName, LastName, Email, City, State, Phone, Fax, Street, Cellular, Zip, Country: String; TimeZone: Byte; PublishEmail: Boolean);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  //Truncate state if more then 3 chars
  if Length(State) > 3 then
    State := Copy(State, 0, 3);
  CreateCLI_METASETGENERAL(@pkt, FLUIN, NickName, FirstName, LastName, Email, City, State, Phone, Fax, Street, Cellular, Zip, StrToCountryI(Country), TimeZone, PublishEmail, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Set more info about yourself.}
procedure TICQClient.SetSelfInfoMore(Age: Word; Gender: Byte; const HomePage: String; BirthYear: Word; BirthMonth, BirthDay: Byte; Language1, Language2, Language3: String);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_METASETMORE(@pkt, FLUIN, Age, Gender, HomePage, BirthYear, BirthMonth, BirthDay, StrToLanguageI(Language1), StrToLanguageI(Language2), StrToLanguageI(Language3), FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Set info about yourself.}
procedure TICQClient.SetSelfInfoAbout(const About: String);
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_METASETABOUT(@pkt, FLUIN, About, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Requests server side contact list. For more info look at OnServerListRecv event.}
procedure TICQClient.RequestContactList;
var
  pkt: TRawPkt;
begin
  if not LoggedIn then Exit;
  CreateCLI_REQROSTER(@pkt, FSeq);
  FSock.SendData(pkt, pkt.Len);
end;

{Releases memory used while parsing the server side contact list.}
procedure TICQClient.DestroyUINList(var List: TList);
var
  i: Word;
begin
  if List = nil then Exit;
  if List.Count > 0 then
    for i := 0 to List.Count - 1 do
      FreeMem(List.Items[i], SizeOf(TUINEntry)); //Free allocated memory for TUINEntry
  List.Free;
  List := nil;
end;

{Sends sms message to Destination with Text.}
procedure TICQClient.SendSMS(const Destination, Text: String);
var
  pkt: TRawPkt;
begin
  if (Length(Text) = 0) or (not LoggedIn) then Exit;
  CreateCLI_SENDSMS(@pkt, FLUIN, Destination, Text, GetACP, GetSMSTime, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Sends Msg to UIN with advanced options, after UIN has got your message you will
receive confirmation. ID - randomly generated value, may be used for packet acknowledgements
(see OnAdvancedMsgAck event). If your Msg is in the RTF(RichText Format), then RTFFormat
parameter should be True, otherwise - False. Beware of using the RTF Format, some clients
(old versions of ICQ, linux & windows clones) don't support it.}
procedure TICQClient.SendMessageAdvanced(UIN: LongWord; const Msg: String; ID: Word; RTFFormat: Boolean);
var
  pkt: TRawPkt;
begin
  if (Length(Msg) = 0) or (not LoggedIn) then Exit;
  CreateCLI_SENDMSG_ADVANCED(@pkt, 0, ID, UIN, Msg, RTFFormat, FSeq);
  FSock.SendData(pkt, pkt.Len);
end;

{Send message to client dirrectly when it's possible}
function TICQClient.SendMessageDirect(UIN: LongWord; const Msg: String; RTFFormat: Boolean): Word;
var
  lpkt: TRawPkt;
begin
  Result := 0;
  if FDirect = nil then Exit;
  if (FDSeq = 0) then Inc(FSeq);
  Result := CreatePEER_MSG(@lpkt, Msg, RTFFormat, FDSeq);
  if not FDirect.SendData(UIN, @lpkt) then
    Result := 0;
end;

{Request an away messages, set when user changes status.}
procedure TICQClient.RequestAwayMsg(UIN: LongWord; ID: Word; ReqStatus: Byte);
var
  pkt: TRawPkt;
begin
  if (not LoggedIn) then Exit;
  CreateCLI_REQAWAYMSG(@pkt, 0, ID, UIN, ReqStatus, FSeq);
  FSock.SendData(pkt, pkt.Len);
end;

{Unregister an UIN number.}
procedure TICQClient.UnregisterUIN(const Password: String);
var
  pkt: TRawPkt;
begin
  if (not LoggedIn) then Exit;
  CreateCLI_UNREGUIN(@pkt, FLUIN, Password, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Change current password to NewPassword.}
procedure TICQClient.ChangePassword(const NewPassword: String);
var
  pkt: TRawPkt;
begin
  if (not LoggedIn) then Exit;
  CreateCLI_METASETPASS(@pkt, FLUIN, NewPassword, nil, 0, FSeq, FSeq2);
  FSock.SendData(pkt, pkt.Len);
end;

{Change current password to Buffer's value.}
procedure TICQClient.ChangePasswordPtr(Buffer: Pointer; BufLen: Word);
var
  pkt: TRawPkt;
begin

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美激情插 | 在线看国产一区| 欧美日韩色一区| 亚洲国产成人在线| 日本不卡视频在线观看| 92精品国产成人观看免费| 欧美本精品男人aⅴ天堂| 亚洲激情图片一区| 懂色av一区二区三区蜜臀| 91精品国产高清一区二区三区 | 日韩一区二区三区在线观看| 国产精品乱码人人做人人爱| 精品影视av免费| 91精品国产入口| 亚洲一二三区在线观看| 99久久久精品| 国产精品女人毛片| 国产在线精品一区在线观看麻豆| 精品视频1区2区3区| 亚洲欧美视频在线观看视频| 国产91精品一区二区麻豆亚洲| 欧美成人在线直播| 蜜臀va亚洲va欧美va天堂| 欧美日韩精品专区| 香蕉成人啪国产精品视频综合网 | 大胆欧美人体老妇| 久久久另类综合| 久久精品国产第一区二区三区| 欧美精品在线一区二区| 五月综合激情网| 7777精品伊人久久久大香线蕉超级流畅| 亚洲乱码国产乱码精品精的特点| 成人av在线资源网| 国产精品盗摄一区二区三区| 成人91在线观看| 中文字幕亚洲一区二区va在线| 国产·精品毛片| 国产精品国产三级国产三级人妇| 成人精品鲁一区一区二区| 中文一区在线播放| 一本一本大道香蕉久在线精品| 亚洲欧美日韩一区二区三区在线观看| 99精品欧美一区二区三区小说| 日本美女视频一区二区| 国产福利精品一区二区| 免费高清成人在线| 久久网站热最新地址| 91精品在线免费| 久久久久久久精| 色88888久久久久久影院野外| 国产精品99久久久| 91精品国产综合久久婷婷香蕉 | 蜜桃视频一区二区三区| 亚洲精品一区二区在线观看| 国内精品不卡在线| 亚洲视频在线一区| 在线成人av影院| 国产毛片一区二区| 亚洲啪啪综合av一区二区三区| 欧美专区日韩专区| 精品一区二区三区久久久| 国产日韩精品一区| 在线观看不卡一区| 国产在线精品免费| 亚洲综合一区二区| 精品欧美乱码久久久久久1区2区| 成人激情动漫在线观看| 亚洲图片自拍偷拍| 国产欧美日韩一区二区三区在线观看| 一本大道久久a久久精二百| 免费一区二区视频| 国产精品麻豆99久久久久久| 欧美人伦禁忌dvd放荡欲情| 国产麻豆9l精品三级站| 亚洲午夜久久久久中文字幕久| 精品蜜桃在线看| 在线观看欧美日本| 国产成人av电影在线播放| 午夜精品久久久久久久久| 日本一区二区三区四区在线视频| 欧美三级一区二区| 在线播放91灌醉迷j高跟美女| 国产精品原创巨作av| 亚洲高清免费观看高清完整版在线观看| 26uuu久久天堂性欧美| 欧美色欧美亚洲另类二区| 成人午夜碰碰视频| 美腿丝袜一区二区三区| 亚洲综合色婷婷| 国产精品成人在线观看| 欧美电影免费提供在线观看| 在线观看亚洲精品视频| 成人美女视频在线观看| 加勒比av一区二区| 视频一区二区国产| 亚洲丰满少妇videoshd| 成人欧美一区二区三区小说| 久久精品水蜜桃av综合天堂| 日韩一级片网站| 欧美日韩国产经典色站一区二区三区 | 韩日精品视频一区| 日本视频免费一区| 亚洲国产精品久久人人爱蜜臀| 国产精品免费视频观看| 精品国产乱码久久久久久蜜臀| 欧美日韩精品高清| 欧美四级电影网| 欧美自拍偷拍午夜视频| 91国在线观看| 欧洲一区二区三区免费视频| 色视频成人在线观看免| 成人黄色大片在线观看| a级高清视频欧美日韩| 成人免费看黄yyy456| 国产不卡视频一区二区三区| 国产精品白丝jk黑袜喷水| 国产在线精品免费| 国产精品中文字幕欧美| 国内精品久久久久影院色| 国产一区二区不卡老阿姨| 韩国一区二区在线观看| 精品亚洲国内自在自线福利| 成人少妇影院yyyy| 日本道在线观看一区二区| 欧美一级二级在线观看| 91精品免费在线| 8v天堂国产在线一区二区| 欧美一区二区精品久久911| 91精品在线一区二区| 日韩欧美亚洲一区二区| 精品不卡在线视频| 国产蜜臀97一区二区三区| 中文字幕亚洲欧美在线不卡| 日韩理论在线观看| 亚洲香蕉伊在人在线观| 日韩高清不卡一区二区三区| 日本 国产 欧美色综合| 黄色精品一二区| 波多野结衣在线aⅴ中文字幕不卡| 91亚洲国产成人精品一区二三 | 经典一区二区三区| 国产成人一区二区精品非洲| 成人免费视频网站在线观看| 欧美mv和日韩mv国产网站| 亚洲大型综合色站| 色丁香久综合在线久综合在线观看| 国产91精品露脸国语对白| 亚洲综合色成人| 热久久国产精品| 国产mv日韩mv欧美| 欧美日韩精品一二三区| 26uuu国产日韩综合| 一区二区久久久久久| 久久狠狠亚洲综合| proumb性欧美在线观看| 欧美日韩精品是欧美日韩精品| 久久综合色8888| 亚洲最新在线观看| 粉嫩高潮美女一区二区三区| 欧美日韩一区久久| 国产精品无圣光一区二区| 性欧美疯狂xxxxbbbb| 成人高清av在线| 欧美久久高跟鞋激| 亚洲欧美电影一区二区| 国产一区二区在线免费观看| 欧美性受xxxx黑人xyx| 国产人久久人人人人爽| 日韩高清在线不卡| 色狠狠综合天天综合综合| 久久精品亚洲一区二区三区浴池| 亚洲国产欧美日韩另类综合| 国产成a人亚洲精品| 日韩午夜激情av| 亚洲成人av一区二区| 成人动漫在线一区| 欧美精品一区二区久久久| 午夜国产不卡在线观看视频| a在线欧美一区| 久久久久一区二区三区四区| 美女久久久精品| 3751色影院一区二区三区| 亚洲激情一二三区| 色婷婷久久久久swag精品| 亚洲国产成人午夜在线一区| 精品一区二区三区免费观看| 日韩一区二区三区视频| 亚洲成人自拍偷拍| 欧美亚洲禁片免费| 亚洲一区在线看| 在线免费精品视频| 亚洲激情五月婷婷| 色婷婷综合久久久中文一区二区| 国产婷婷一区二区| 国产成人午夜精品影院观看视频| 26uuu国产电影一区二区| 久久超碰97中文字幕| 精品久久久久久久人人人人传媒| 91在线免费播放| 自拍偷拍欧美精品|