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

SetARStatus

Enables or disables automatic reconnection for the current character.

ValueTrue 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.

Включает или отключает автоматическое переподключение для текущего персонажа.

ValueTrue для включения, False для отключения.

При включении Stealth автоматически пытается переподключиться после отключения, используя таймер переподключения из профиля (параметр ReconnectTime в настройках профиля). Расширенные параметры настраиваются через SetARExtParams.

Используйте GetARStatus для чтения текущего состояния.

Не выполняет действий, если персонаж не подключён.

Pascal

procedure SetARStatus(Value: Boolean);

Python

def SetARStatus(Value: bool) -> None: ...

Pascal Example

begin
  SetARStatus(True);
  AddToSystemJournal('Auto-reconnect: ' + BoolToStr(GetARStatus, True));
end.

Python Example

SetARStatus(True)
AddToSystemJournal(f'Auto-reconnect: {GetARStatus()}')

See Also

GetARStatus, SetARExtParams, Connect