Skip to content

H7WeekManager

Class in MMH7Game · MMH7Game.H7WeekManager · native

Object › H7WeekManager

Using it from Lua
h7.find_all("H7WeekManager")            -- live instances
h7.find_class("MMH7Game.H7WeekManager")   -- the class
h7.hook("MMH7Game.H7WeekManager.GetCurrentWeek", fn)

Properties

NameTypeNotes
mAvailableWeeksarrayprotected
mCurrentWeekH7Weekprotected
mCurrentWeekRefstringprotected
mDefaultWeekH7Weekprotected
mDefaultWeekRefstringprotected
mDelayintprotected
mPreviousWeeksarrayprotected
mUpcomingWeekH7Weekprotected
mUpcomingWeekRefstringprotected

Functions

NameDeclaration
GetCurrentWeekfunction H7Week GetCurrentWeek()
GetNextWeekfunction string GetNextWeek()
GetOverrideWeekListfunction GetOverrideWeekList(out array weekList)
GetUpcomingWeekfunction H7Week GetUpcomingWeek()
Initfunction Init(array availableWeeks, string defaultStartingWeek)
NextWeekfunction NextWeek()
OverrideNextWeekfunction OverrideNextWeek(string weekArchetypeName)
PickNewWeekfunction H7Week PickNewWeek(optional bool isDefaultWeek = false, optional string defaultWeekClass)
PostSerializeevent PostSerialize()
UpdatePreviousWeeksfunction UpdatePreviousWeeks()
UpdateWeekEventsnative function UpdateWeekEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool simulate, optional H7EventContainerStruct container)

Inherited

FromMembers
Object13 properties, 308 functions