SetARStatus
Enables or disables automatic reconnection for the current character.
Value — True to enable auto-reconnect, False to disable it.
When enabled, Stealth will automatically attempt to reconnect after a disconnection using the profile’s reconnect timer (see ReconnectTime in the profile settings). Extended parameters can be configured via SetARExtParams.
Use GetARStatus to read the current state.
Does nothing if the character is not connected.
Включает или отключает автоматическое переподключение для текущего персонажа.
Value — True для включения, False для отключения.
При включении Stealth автоматически пытается переподключиться после отключения, используя таймер переподключения из профиля (параметр ReconnectTime в настройках профиля). Расширенные параметры настраиваются через SetARExtParams.
Используйте GetARStatus для чтения текущего состояния.
Не выполняет действий, если персонаж не подключён.
procedure SetARStatus(Value: Boolean);
def SetARStatus(Value: bool) -> None: ...
begin
SetARStatus(True);
AddToSystemJournal('Auto-reconnect: ' + BoolToStr(GetARStatus, True));
end.
SetARStatus(True)
AddToSystemJournal(f'Auto-reconnect: {GetARStatus()}')