Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

GetGumpFullLines

Returns full gump information for the gump at index GumpIndex — includes all elements, text lines, buttons, and structural details.

Returns nothing if the gump index is out of range or the character is disconnected.

For partial info, see GetGumpShortLines (text + buttons only) or GetGumpButtonsDescription (buttons only).

Возвращает полную информацию о гампе с индексом GumpIndex — включает все элементы, текстовые строки, кнопки и структурные детали.

Не возвращает ничего, если индекс гампа вне диапазона или персонаж не подключён.

Для частичной информации см. GetGumpShortLines (текст + кнопки) или GetGumpButtonsDescription (только кнопки).

DWS

function GetGumpFullLines(GumpIndex: Word): TArray<String>;

DWS overload:

procedure GetGumpFullLines(GumpIndex: Word; var TL: TStringList);

Pascal Script

procedure GetGumpFullLines(GumpIndex: Word; var TL: TStringList);

Python

def GetGumpFullLines(GumpIndex: int) -> list[str]: ...

Pascal Example

DWS:

var
  Lines: TArray<String>;
  i: Integer;
begin
  Lines := GetGumpFullLines(0);
  for i := 0 to Length(Lines) - 1 do
    AddToSystemJournal(Lines[i]);
end.

Pascal Script:

var
  TL: TStringList;
  i: Integer;
begin
  TL := TStringList.Create;
  try
    GetGumpFullLines(0, TL);
    for i := 0 to TL.Count - 1 do
      AddToSystemJournal(TL[i]);
  finally
    if Assigned(TL) then
      TL.Free;
  end;
end.

Python Example

lines = GetGumpFullLines(0)
for line in lines:
    AddToSystemJournal(line)

See Also

GetGumpShortLines, GetGumpButtonsDescription, GetGumpTextLines, GetGumpInfo