Timers cs CZ - Reetus/ClassicAssist GitHub Wiki

Seznam příkazů ClassicAssist

Generováno na 16.08.2026 2:17:28
Verze: 5.0.5+5852c74137fdcbe6c5d9c398da781fe3b59d85ac
PoodyCZ(Dorchaide)

Časovače

CreateTimer

Podpis metody:

Void CreateTimer(System.String)

Parametry

  • name: Název časovače.

Popis:

Vytvoří nový pojmenovaný časovač.

Příklad:

CreateTimer("shmoo")  

RemoveTimer

Podpis metody:

Void RemoveTimer(System.String)

Parametry

  • name: Název časovače.

Popis:

Smaže časovač.

Příklad:

RemoveTimer("shmoo")  

SetTimer

Podpis metody:

Void SetTimer(System.String, Int32)

Parametry

  • name: Serial entinty jako číslo nebo hex, nebo alias jako např. "self".
  • milliseconds: Číslo - viz popisek. (Volitelný)

Popis:

Nastaví časovač na hodnotu, pokud neexistuje, založí nový.

Příklad:

SetTimer("shmoo", 0)  

Timer

Podpis metody:

Int64 Timer(System.String)

Parametry

  • name: Název časovače.

Popis:

Zjistí hodnotu časovače.

Příklad:

if Timer("shmoo") > 10000:  

TimerExists

Podpis metody:

Boolean TimerExists(System.String)

Parametry

  • name: Název časovače.

Popis:

Vrátí True pokud časovač existuje.

Příklad:

if TimerExists("shmoo"):  

TimerMsg

Podpis metody:

Void TimerMsg(System.String)

Parametry

  • name: Název časovače.

Popis:

Vypíše uběhnutou dobu časovače jako systémovou zprávu

Příklad:

TimerMsg("shmoo")