Add more documentation for DateTime

This commit is contained in:
Joshua Goins 2025-03-02 17:39:41 -05:00
parent bf3a1f9266
commit 47830cb926

View file

@ -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 {