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

Connected

Returns the connection status: True if the character is connected to the UO server, False if not.

Возвращает статус подключения: True, если персонаж подключён к серверу UO, False, если нет.

Pascal

function Connected: Boolean;

Python

def Connected() -> bool: ...

Pascal Example

begin
  if not Connected then
  begin
    Connect;
    Wait(10000);
  end;
end.

Python Example

if not Connected():
    Connect()
    Wait(10000)

See Also

Connect, Disconnect, ConnectedTime, DisconnectedTime