Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TimerComponent Struct Reference

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void restartTimer (::Actor &actor)

Public Attributes

::ll::TypedStorage< 4, 4, int > mTime
::ll::TypedStorage< 8, 8, uint64 > mTimeStamp
::ll::TypedStorage< 1, 1, bool > mHasExecuted
::ll::TypedStorage< 1, 1, bool > mLooping
::ll::TypedStorage< 4, 4, int > mStartTime
::ll::TypedStorage< 1, 1, bool > mRandomInterval
::ll::TypedStorage< 4, 4, int > mMinTime
::ll::TypedStorage< 4, 4, int > mMaxTime
::ll::TypedStorage< 8, 24, ::WeightedChoices< float > > mTimeChoices

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void TimerComponent::addAdditionalSaveData ( ::CompoundTag & tag) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ readAdditionalSaveData()

MCAPI void TimerComponent::readAdditionalSaveData ( ::Actor & ,
::CompoundTag const & tag,
::DataLoadHelper &  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ restartTimer()

MCAPI void TimerComponent::restartTimer ( ::Actor & actor)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this struct was generated from the following file: