AlpacaLibary  1.63
A closed source C++ bot for OSRS
Time.hpp File Reference
#include <cstdint>
#include <functional>

Go to the source code of this file.

Functions

void Wait (std::int64_t Duration)
 
std::uint64_t CurrentTimeMillis ()
 
std::uint64_t CurrentTimeNanos ()
 
bool WaitFunc (std::uint32_t Duration, std::uint32_t Step, std::function< bool()> Func)
 
bool WaitFunc (std::uint32_t Duration, std::uint32_t Step, std::function< bool()> Func, bool Result)
 
std::string MillisToHumanShort (std::int64_t Millseconds)
 
std::string MillisToHumanMedium (std::int64_t Milliseconds)
 
std::string MillisToHumanLong (std::int64_t Millseconds)
 

Function Documentation

◆ CurrentTimeMillis()

std::uint64_t CurrentTimeMillis ( )

◆ CurrentTimeNanos()

std::uint64_t CurrentTimeNanos ( )

◆ MillisToHumanLong()

std::string MillisToHumanLong ( std::int64_t  Millseconds)

◆ MillisToHumanMedium()

std::string MillisToHumanMedium ( std::int64_t  Milliseconds)

◆ MillisToHumanShort()

std::string MillisToHumanShort ( std::int64_t  Millseconds)

◆ Wait()

void Wait ( std::int64_t  Duration)

◆ WaitFunc() [1/2]

bool WaitFunc ( std::uint32_t  Duration,
std::uint32_t  Step,
std::function< bool()>  Func 
)

◆ WaitFunc() [2/2]

bool WaitFunc ( std::uint32_t  Duration,
std::uint32_t  Step,
std::function< bool()>  Func,
bool  Result 
)