C# Class FOnline.Time

Inheritance: ITime
ファイルを表示 Open project: wladimiiir/vault112

Private Properties

Property Type Description
GetDay ushort
GetFullSecond uint
GetHour ushort
GetMinute ushort
GetMonth ushort
GetSecond ushort
GetYear ushort
Global_GetFullSecond uint
Global_GetGameTime void

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

After() public static method

public static After ( uint seconds ) : uint
seconds uint
return uint

GameMinute() public static method

public static GameMinute ( uint minutes ) : uint
minutes uint
return uint

GetDaysInMonth() public static method

public static GetDaysInMonth ( ushort year, ushort month ) : uint
year ushort
month ushort
return uint

GetFullSecond() public method

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
return uint

GetGameTime() public method

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
return void

GetNearFullSecond() public static method

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
return uint

IsAfternoon() public static method

public static IsAfternoon ( ushort hour ) : bool
hour ushort
return bool

IsMorning() public static method

public static IsMorning ( ushort hour ) : bool
hour ushort
return bool

IsNight() public static method

public static IsNight ( ushort hour ) : bool
hour ushort
return bool

RealMillisecond() public static method

public static RealMillisecond ( uint ms ) : uint
ms uint
return uint

RealMinute() public static method

public static RealMinute ( uint minutes ) : uint
minutes uint
return uint

RealSecond() public static method

public static RealSecond ( uint seconds ) : uint
seconds uint
return uint