C# Класс FOnline.Time

Наследование: ITime
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetDay ushort
GetFullSecond uint
GetHour ushort
GetMinute ushort
GetMonth ushort
GetSecond ushort
GetYear ushort
Global_GetFullSecond uint
Global_GetGameTime void

Открытые методы

Метод Описание
After ( uint seconds ) : uint
GameMinute ( uint minutes ) : uint
GetDaysInMonth ( ushort year, ushort month ) : uint
GetFullSecond ( ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second ) : uint
GetGameTime ( uint full_second, ushort &year, ushort &month, ushort &day, ushort &day_of_week, ushort &hour, ushort &minute, ushort &second ) : void
GetNearFullSecond ( ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second ) : uint
IsAfternoon ( ushort hour ) : bool
IsMorning ( ushort hour ) : bool
IsNight ( ushort hour ) : bool
RealMillisecond ( uint ms ) : uint
RealMinute ( uint minutes ) : uint
RealSecond ( uint seconds ) : uint

Приватные методы

Метод Описание
GetDay ( ) : ushort
GetFullSecond ( ) : uint
GetHour ( ) : ushort
GetMinute ( ) : ushort
GetMonth ( ) : ushort
GetSecond ( ) : ushort
GetYear ( ) : ushort
Global_GetFullSecond ( ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second ) : uint
Global_GetGameTime ( uint full_second, ushort &year, ushort &month, ushort &day, ushort &day_of_week, ushort &hour, ushort &minute, ushort &second ) : void

Описание методов

After() публичный статический Метод

public static After ( uint seconds ) : uint
seconds uint
Результат uint

GameMinute() публичный статический Метод

public static GameMinute ( uint minutes ) : uint
minutes uint
Результат uint

GetDaysInMonth() публичный статический Метод

public static GetDaysInMonth ( ushort year, ushort month ) : uint
year ushort
month ushort
Результат uint

GetFullSecond() публичный Метод

public GetFullSecond ( ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second ) : uint
year ushort
month ushort
day ushort
hour ushort
minute ushort
second ushort
Результат uint

GetGameTime() публичный Метод

public GetGameTime ( uint full_second, ushort &year, ushort &month, ushort &day, ushort &day_of_week, ushort &hour, ushort &minute, ushort &second ) : void
full_second uint
year ushort
month ushort
day ushort
day_of_week ushort
hour ushort
minute ushort
second ushort
Результат void

GetNearFullSecond() публичный статический Метод

public static GetNearFullSecond ( ushort year, ushort month, ushort day, ushort hour, ushort minute, ushort second ) : uint
year ushort
month ushort
day ushort
hour ushort
minute ushort
second ushort
Результат uint

IsAfternoon() публичный статический Метод

public static IsAfternoon ( ushort hour ) : bool
hour ushort
Результат bool

IsMorning() публичный статический Метод

public static IsMorning ( ushort hour ) : bool
hour ushort
Результат bool

IsNight() публичный статический Метод

public static IsNight ( ushort hour ) : bool
hour ushort
Результат bool

RealMillisecond() публичный статический Метод

public static RealMillisecond ( uint ms ) : uint
ms uint
Результат uint

RealMinute() публичный статический Метод

public static RealMinute ( uint minutes ) : uint
minutes uint
Результат uint

RealSecond() публичный статический Метод

public static RealSecond ( uint seconds ) : uint
seconds uint
Результат uint