pub struct GDLevelMeta {
pub kcek: KCEKValue,
pub level_order: i32,
pub level_folder: i32,
pub seconds_editing: i32,
pub seconds_editing_copies: i32,
pub level_size: i32,
pub capacity_001: i32,
pub capacity_002: i32,
pub capacity_003: i32,
pub capacity_004: i32,
pub capacity_string: Option<String>,
}Expand description
Miscellaneous metadata surrounding the level. Mostly internal or organizational fields.
Fields§
§kcek: KCEKValueThis value is always KCEKValue::GJGameLevel. For the level to re-encode correctly and be recognized by GD as a level, this value MUST remain KCEKValue::GJGameLevel.
Internal key: kCEK
level_order: i32Internal key: k83
level_folder: i32Internal key: k84
seconds_editing: i32Internal key: k80
seconds_editing_copies: i32Internal key: k81
level_size: i32Approximated as floor(this.level_string.length() * 0.152).
Internal key: k39
capacity_001: i32Internal key: k51
capacity_002: i32Internal key: k52
capacity_003: i32Internal key: k53
capacity_004: i32Internal key: k54
capacity_string: Option<String>Internal key: k67
Trait Implementations§
Source§impl Clone for GDLevelMeta
impl Clone for GDLevelMeta
Source§fn clone(&self) -> GDLevelMeta
fn clone(&self) -> GDLevelMeta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GDLevelMeta
impl Debug for GDLevelMeta
Auto Trait Implementations§
impl Freeze for GDLevelMeta
impl RefUnwindSafe for GDLevelMeta
impl Send for GDLevelMeta
impl Sync for GDLevelMeta
impl Unpin for GDLevelMeta
impl UnsafeUnpin for GDLevelMeta
impl UnwindSafe for GDLevelMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more