From 47830cb926e5c6effbf2745b1379937515ff89c7 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sun, 2 Mar 2025 17:39:41 -0500 Subject: [PATCH] Add more documentation for DateTime --- src/structure/datetime.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/structure/datetime.rs b/src/structure/datetime.rs index 7ee2cf3..0764e94 100644 --- a/src/structure/datetime.rs +++ b/src/structure/datetime.rs @@ -2,10 +2,15 @@ use binrw::binrw; use crate::property::PropertyBase; +/// A date and time. +/// +/// See [the Unreal Engine documentation](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Runtime/Core/Misc/FDateTime?application_version=4.27). #[binrw] #[derive(Debug)] pub struct DateTimeStruct { - pub unk: [u8; 8], + /// Number of ticks. + /// The ticks are 0.1 microseconds (= 100 nanoseconds) since January 1, 0001. + pub ticks: i64, } impl PropertyBase for DateTimeStruct {