From Stealth Client

Jump to: navigation, search

Date

DateTimeToStr

function DateTimeToStr(D: TDateTime): String

FloatToStrF

function FloatToStrF(Value: Extended; Format: TFloatFormat; Precision, Digits: Integer): string

GetTickCount

function GetTickCount : Cardinal;

MsToDateTime

function MsToDateTime(TimeMS : Word) : TDateTime

StrToDateTime

function StrToDateTime(const s: string): TDateTime

StrToTime

function StrToTime(const s: String): TDateTime

TimeToStr

function TimeToStr(D: TDateTime): String

Timer

function Timer: Cardinal

Outdated function, not recommended for usage.

This function is another name for function GetTickCount

Пример использования

    while (mana < 20) and (not dead) do
    begin
      if ((Timer > (MeditateTimer + (10 * 1000))) or (MeditateTimer = 0)) then
      begin
        UseSkill('Meditation')
        MeditateTimer :=Timer;
      end;
      wait(200);
    end;


Pages in category "Date"

The following 8 pages are in this category, out of 8 total.

D

D cont.

D cont.