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

ReqVirtuesGump

Sends a request to the server to open the Virtues gump for the current character.

On official shards, this also sets an internal flag indicating that the virtues gump was requested, which affects how the incoming gump packet is processed.

The gump appears asynchronously — use WaitGump or GetGumpsCount to wait for and interact with it.

Отправляет серверу запрос на открытие окна добродетелей (Virtues gump) для текущего персонажа.

На официальных шардах дополнительно устанавливается внутренний флаг запроса, который влияет на обработку входящего пакета гампа.

Гамп появляется асинхронно — используйте WaitGump или GetGumpsCount для ожидания и взаимодействия с ним.

Pascal

procedure ReqVirtuesGump;

Python

def ReqVirtuesGump() -> None: ...

Pascal Example

begin
  ReqVirtuesGump;
  Wait(2000);
  if GetGumpsCount > 0 then
    AddToSystemJournal('Virtues gump received')
  else
    AddToSystemJournal('No gump received');
end.

Python Example

ReqVirtuesGump()
Wait(2000)
if GetGumpsCount() > 0:
    AddToSystemJournal('Virtues gump received')
else:
    AddToSystemJournal('No gump received')

See Also

UseVirtue, GetGumpsCount, WaitGump