Helpers to convert game time units to a TimeSpan.
More...
|
| static TimeSpan | FromHours (int hours) |
| | Returns a TimeSpan equal to the specified amount of game hours.
|
| |
| static TimeSpan | FromRounds (int rounds) |
| | Returns a TimeSpan equal to the specified amount of rounds.
|
| |
| static TimeSpan | FromTurns (int turns) |
| | Returns a TimeSpan equal to specified amount of turns.
|
| |
Helpers to convert game time units to a TimeSpan.
◆ FromHours()
| static TimeSpan Anvil.API.NwTimeSpan.FromHours |
( |
int | hours | ) |
|
|
inlinestatic |
Returns a TimeSpan equal to the specified amount of game hours.
- Parameters
-
| hours | The number of rounds. |
◆ FromRounds()
| static TimeSpan Anvil.API.NwTimeSpan.FromRounds |
( |
int | rounds | ) |
|
|
inlinestatic |
Returns a TimeSpan equal to the specified amount of rounds.
- Parameters
-
| rounds | The number of rounds. |
◆ FromTurns()
| static TimeSpan Anvil.API.NwTimeSpan.FromTurns |
( |
int | turns | ) |
|
|
inlinestatic |
Returns a TimeSpan equal to specified amount of turns.
- Parameters
-
| turns | The number of turns. |
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Time/NwTimeSpan.cs