| GetHour | ||
|---|---|---|
| Prototype | int GetHour(); | |
| Purpose | Returns the hour of the day | |
| Example of Usage | var iHour = GetHour(); | |
| GetMinute | ||
|---|---|---|
| Prototype | int GetMinute(); | |
| Purpose | Returns the minute of the day | |
| Example of Usage | var iMinute = GetMinute(); | |
| GetDay | ||
|---|---|---|
| Prototype | int GetDay(); | |
| Purpose | Returns the day number of the server (UO days since start) | |
| Example of Usage | var iDay = GetDay(); | |
| SecondsPerUOMinute | ||
|---|---|---|
| Prototype | int SecondsPerUOMinute( [numSecs] ); | |
| Purpose | Sets and Returns the number of real seconds which equal a UO minute | |
| Example of Usage | var iNumSecs = SecondsPerUOMinute(); SecondsPerUOMinute( newNumSecs ); | |
| GetCurrentClock | ||
|---|---|---|
| Prototype | int GetCurrentClock(); | |
| Purpose | Returns server's uiCurrentTime, or number of clock ticks elapsed since startup | |
| Example of Usage | var iTime = GetCurrentClock(); | |