Add more documentation for DateTime
This commit is contained in:
parent
bf3a1f9266
commit
47830cb926
1 changed files with 6 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue