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 (только кнопки).
function GetGumpFullLines(GumpIndex: Word): TArray<String>;
DWS overload:
procedure GetGumpFullLines(GumpIndex: Word; var TL: TStringList);
procedure GetGumpFullLines(GumpIndex: Word; var TL: TStringList);
def GetGumpFullLines(GumpIndex: int) -> list[str]: ...
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.
lines = GetGumpFullLines(0)
for line in lines:
AddToSystemJournal(line)
GetGumpShortLines, GetGumpButtonsDescription, GetGumpTextLines, GetGumpInfo