#[repr(C)]pub struct TLSData {
pub unk000: [u8; 16],
pub stateCounter: u32,
pub pad014: u32,
pub cachedExtraDataList: *mut ExtraDataList,
pub cachedExtraData: [*mut BSExtraData; 182],
pub unk5D0: [u8; 48],
pub consoleMode: bool,
pub unk601: [u8; 359],
pub taskFlag: u32,
}
Fields§
§unk000: [u8; 16]
§stateCounter: u32
- on GetExtraData(), this gets checked against the GlobalStateCounter, which is incremented every time extra data is changed or removed:if they’re not equal, then the following cached extra data is zeroed-out and reached
pad014: u32
§cachedExtraDataList: *mut ExtraDataList
§cachedExtraData: [*mut BSExtraData; 182]
- ExtraData types up to ResourcesPreload (0xB5) are cached
unk5D0: [u8; 48]
§consoleMode: bool
§unk601: [u8; 359]
§taskFlag: u32
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TLSData
impl RefUnwindSafe for TLSData
impl !Send for TLSData
impl !Sync for TLSData
impl Unpin for TLSData
impl UnwindSafe for TLSData
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