CloseClientGump
Closes a gump with the specified ID on the connected client.
This sends a close command directly to the client. The gump is identified by its gump ID (not its index in the Stealth gump list).
Gumps shown by the script with SendGumpToClient are closed the same way. Stealth also forgets every such gump with this GumpID, so no answer, event or ClientGumpResponse comes for it afterwards.
Закрывает гамп с указанным ID на подключённом клиенте.
Команда закрытия отправляется непосредственно клиенту. Гамп идентифицируется по его gump ID (не по индексу в списке гампов Stealth).
Гампы, показанные скриптом через SendGumpToClient, закрываются так же. Stealth при этом забывает все такие гампы с этим GumpID, поэтому ни ответа, ни события, ни ClientGumpResponse по ним больше не будет.
procedure CloseClientGump(ID: Cardinal);
Parameters:
- ID — gump ID to close on the client.
def CloseClientGump(ID: int) -> None: ...
begin
// Close a specific gump on the client
CloseClientGump($12345678);
end.
CloseClientGump(0x12345678)
CloseSimpleGump, CloseClientUIWindow, GetGumpsCount, SendGumpToClient