Skip to content

H7Calendar

Class in MMH7Game · MMH7Game.H7Calendar · native

Object › H7Calendar

Implements: H7ICaster

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

Properties

NameTypeNotes
mAdventureControllerH7AdventureControllerprotected
mCalendarDayintprotected
mCalendarMonthintprotected
mCalendarWeekintprotected
mCalendarYearintprotected
mDaysPassedintprotected
Midintprotected
mMaxDaysPerWeekintprotected
mMaxMonthPerYearintprotected
mMaxWeeksPerMonthintprotected
mMontharray<H7Month>protected
mScriptingControllerH7ScriptingControllerprotected
mWeekManagerH7WeekManagerprotected

Functions

NameDeclaration
DataChangedfunction DataChanged(optional string cause)
DayPassedfunction DayPassed()
DayStartnative function DayStart()
GetAbilityManagernative function H7AbilityManager GetAbilityManager()
GetActionIDfunction H7StructsAndEnumsNative.ECommandTag GetActionID(H7BaseAbility Ability)
GetAttackevent int GetAttack()
GetBuffManagernative function H7BuffManager GetBuffManager()
GetCalendarDayfunction int GetCalendarDay()
GetCalendarMonthfunction int GetCalendarMonth()
GetCalendarWeekfunction int GetCalendarWeek()
GetCalendarYearfunction int GetCalendarYear()
GetCalendarYearForGUIfunction int GetCalendarYearForGUI()
GetCombatArmynative function H7CombatArmy GetCombatArmy()
GetCurrentMonthfunction H7Month GetCurrentMonth()
GetCurrentWeekfunction H7Week GetCurrentWeek()
GetDaysPassedfunction int GetDaysPassed()
GetEffectManagerfunction H7EffectManager GetEffectManager()
GetEntityTypenative function H7StructsAndEnumsNative.EUnitType GetEntityType()
GetEventManagernative function H7EventManager GetEventManager()
GetGridPositionnative function IntPoint GetGridPosition()
GetIDnative function int GetID()
GetLocationnative function Vector GetLocation()
GetLuckDestinynative function int GetLuckDestiny()
GetMagicevent int GetMagic()
GetMaximumDamageevent float GetMaximumDamage()
GetMinimumDamageevent float GetMinimumDamage()
GetNamefunction string GetName()
GetNextWeekfunction H7Week GetNextWeek()
GetOriginalnative function H7ICaster GetOriginal()
GetPlayernative function H7Player GetPlayer()
GetPreparedAbilityfunction H7BaseAbility GetPreparedAbility()
GetSchoolevent H7StructsAndEnumsNative.EAbilitySchool GetSchool()
GetStackSizefunction int GetStackSize()
GetStartYearfunction int GetStartYear()
GetTotalPlayTimeStringfunction string GetTotalPlayTimeString()
GetWeekManagerfunction H7WeekManager GetWeekManager()
GetWeeksPassedfunction int GetWeeksPassed()
Initfunction Init()
InitializeGameStartWeekfunction InitializeGameStartWeek()
IsDefaultAttackActivenative function bool IsDefaultAttackActive()
NextDayfunction NextDay()
NextMonthnative function NextMonth()
NextWeekfunction NextWeek()
NextYearnative function NextYear()
PrepareAbilityfunction PrepareAbility(H7BaseAbility Ability)
SetCalendarDayfunction SetCalendarDay(int Day)
SetCalendarMonthfunction SetCalendarMonth(int Month)
SetCalendarWeekfunction SetCalendarWeek(int week)
SetCalendarYearfunction SetCalendarYear(int Year)
TriggerEventsfunction TriggerEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool forecast, optional H7EventContainerStruct container)
UpdateWeekEventsnative function UpdateWeekEvents(H7StructsAndEnumsNative.ETrigger triggerEvent, bool simulate, optional H7EventContainerStruct container)
UsePreparedAbilityfunction UsePreparedAbility(H7IEffectTargetable Target)
WeekPassednative function WeekPassed()
WeekStartfunction WeekStart()

Default values

mCalendarYear=1
mCalendarMonth=1
mCalendarWeek=1
mCalendarDay=1

Inherited

FromMembers
Object13 properties, 308 functions