|
G1R AngelScript
Scripting reference for the Gothic 1 Remake
|
Public Member Functions | |
Functions | |
| float32 | GetRealTimeFromGameTime (FInGameTime GameTime) const |
| Returns RealTime equivalent of given GameTime in InGameTime. | |
| void | FreezeTime () |
| Set FreezeCurrentTime to true, preventing current Game Time from increasing. | |
| FClockTime | GetClockTimeFromRealTime (float32 RealTimeInput) const |
| Returns GameTime equivalent of given RealTime FClockTime. | |
| FClockTime | GetCurrentClockTime () const |
| EWeekDay | GetCurrentDayOfWeek () const |
| Returns the current day of the week. | |
| FInGameTime | GetCurrentGameTime () const |
| float32 | GetCurrentGameTimeInRealTime () const |
| Returns CurrentGameTime with GameTimeSpeed Multiplier (Real Time Equivalent). | |
| EDayTimeType | GetDayTimeType () const |
| Returns EDayTimeType Enum based on Current Game Time. | |
| FInGameTime | GetGameTimeFromRealTime (float32 RealTimeInput) const |
| Returns GameTime equivalent of given RealTime in FInGameTime. | |
| float32 | GetRealTimeFromClockTime (FClockTime ClockTimeInput) const |
| Returns RealTime equivalent of given GameTime in InGameTime. | |
| void | AdvanceToClockTime (FClockTime ClockTime) |
| Advances the clock until it reaches the given clock time. Might end up on the next day. | |
| float32 | GetRealTimeSince (float32 PastRealTime) const |
| Returns time between now and given time int he past. | |
| FInGameTime | GetTimeSince (FInGameTime PastTime) const |
| Returns time between now and given time int he past. | |
| FInGameTime | GetTimeUntil (FInGameTime FutureTime) const |
| Returns time between now and given time in the future. | |
| void | SetCurrentClockTime (int Hours, int Minutes, float32 Seconds) |
| Sets the clock time on the current day. May go back in time. | |
| void | SetCurrentGameTime (int Days, int Hours, int Minutes, float32 Seconds) |
| void | SkipTime (FInGameTime Duration) |
| Skips ahead for given time. | |
| void | UnfreezeTime () |
| Set FreezeCurrentTime to false, allowing current Game Time to increase again. | |
Static Public Member Functions | |
Static Functions | |
| static UClass | StaticClass () |
| static UGameTimeSubsystem | Get () |
| static UGameTimeSubsystem | GetGameTime () |
| Access to this worlds GameTime Subsystem. Note: Attention! Returns NULLPTR on clients while GameState is not replicated! | |
Public Attributes | |
Variables | |
| const EWeekDay | CurrentDayOfWeek |
| Returns the current day of the week. | |
| const FInGameTime | CurrentGameTime |
| InGame time passed since creating of the save file. | |
| const float32 | CurrentGameTimeInRealTime |
| Returns CurrentGameTime with GameTimeSpeed Multiplier (Real Time Equivalent). | |
| const EDayTimeType | DayTimeType |
| Returns EDayTimeType Enum based on Current Game Time. | |
| const FClockTime | CurrentClockTime |
| void AdvanceToClockTime | ( | FClockTime | ClockTime | ) |
Advances the clock until it reaches the given clock time. Might end up on the next day.
| void FreezeTime | ( | ) |
Set FreezeCurrentTime to true, preventing current Game Time from increasing.
|
static |
| FClockTime GetClockTimeFromRealTime | ( | float32 | RealTimeInput | ) | const |
Returns GameTime equivalent of given RealTime FClockTime.
| FClockTime GetCurrentClockTime | ( | ) | const |
| EWeekDay GetCurrentDayOfWeek | ( | ) | const |
Returns the current day of the week.
| FInGameTime GetCurrentGameTime | ( | ) | const |
| float32 GetCurrentGameTimeInRealTime | ( | ) | const |
Returns CurrentGameTime with GameTimeSpeed Multiplier (Real Time Equivalent).
| EDayTimeType GetDayTimeType | ( | ) | const |
Returns EDayTimeType Enum based on Current Game Time.
|
static |
Access to this worlds GameTime Subsystem. Note: Attention! Returns NULLPTR on clients while GameState is not replicated!
| FInGameTime GetGameTimeFromRealTime | ( | float32 | RealTimeInput | ) | const |
Returns GameTime equivalent of given RealTime in FInGameTime.
| float32 GetRealTimeFromClockTime | ( | FClockTime | ClockTimeInput | ) | const |
Returns RealTime equivalent of given GameTime in InGameTime.
| float32 GetRealTimeFromGameTime | ( | FInGameTime | GameTime | ) | const |
Returns RealTime equivalent of given GameTime in InGameTime.
| float32 GetRealTimeSince | ( | float32 | PastRealTime | ) | const |
Returns time between now and given time int he past.
| FInGameTime GetTimeSince | ( | FInGameTime | PastTime | ) | const |
Returns time between now and given time int he past.
| FInGameTime GetTimeUntil | ( | FInGameTime | FutureTime | ) | const |
Returns time between now and given time in the future.
| void SetCurrentClockTime | ( | int | Hours, |
| int | Minutes, | ||
| float32 | Seconds ) |
Sets the clock time on the current day. May go back in time.
| void SetCurrentGameTime | ( | int | Days, |
| int | Hours, | ||
| int | Minutes, | ||
| float32 | Seconds ) |
| void SkipTime | ( | FInGameTime | Duration | ) |
Skips ahead for given time.
|
static |
| void UnfreezeTime | ( | ) |
Set FreezeCurrentTime to false, allowing current Game Time to increase again.
| const FClockTime CurrentClockTime |
| const EWeekDay CurrentDayOfWeek |
Returns the current day of the week.
| const FInGameTime CurrentGameTime |
InGame time passed since creating of the save file.
| const float32 CurrentGameTimeInRealTime |
Returns CurrentGameTime with GameTimeSpeed Multiplier (Real Time Equivalent).
| const EDayTimeType DayTimeType |
Returns EDayTimeType Enum based on Current Game Time.