Verse Library verse

01 Snippet

Provides structs and classes to handle current time, dates, time spans, and timezone conversions for real-time game events.

extracted-snippets/community/snippets/ly4a/fortnite-real-time-api-beta/01-snippet.verse

# Source URL: https://dev.epicgames.com/community/snippets/ly4a/fortnite-real-time-api-beta
# Local doc:  epic-docs/community/snippets/ly4a/fortnite-real-time-api-beta.md
  # Credit: JPN: @GorosukeSan, EN: @GorosukeEN
  # A follow on X (Twitter) or credit within the map would be greatly appreciated (optional)
  # If you have any bug reports or feature requests, please contact the account mentioned above.
  using { /Verse.org/Simulation }
  ProjectTimeZone<public>:time_zone = time_zone_gmt{}
  time_date<public> := struct<concrete>:
  @editable
  Year:int = 0
  @editable
  Month:int = 0
  @editable
  Day:int = 0
  @editable
  Hour:int = 0
  @editable
  Minute:int = 0
  @editable
  Second:int = 0
  @editable
  Millisecond:int = 0
  time_span<public> := struct<concrete>:
  @editable
  Years:int = 0
  @editable
  Months:int = 0
  @editable
  Days:int = 0
  @editable

Sign in free to read the full source 🌴

This Verse Library file is members-only. Create a free account to view the complete source and download the .verse file.

Sign in with Discord

Comments

    Sign in to vote, comment, or suggest an edit. Sign in