Repository navigation
Contexts
ZSolarDev edited this page Nov 12, 2026
·
5 revisions
Some hooks will pass in parameters, some giving you you ___Context objects (mod "hooks" are an exception, and come in the form of normal parameters). Properties will be inside of this ___Context object, and some of these may be pointers from Project DIVA or a result that needs to be passed back to Project DIVA. These parameters are wrapped because hxcpp can easily cause native type wrapping issues otherwise. If there are any pointers, they will be typed as Star<T>. Ensure not to accidentally dereference these.
-
game| A pointer to thePVGameArcadewhich contains the target. -
target| A pointer to the nextPvGameTargetin line to be hit. -
result| The resulting state of that hit. EitherNoneor an alternative state fromdiva.types.HitState.
-
data| A pointer to thePVGamePvDatawhich contains the data of the PV being loaded. -
entry| A pointer to thePvDBEntryfor thedata. -
difficulty| A pointer to thePvDBDifficultythat contains information on the PV's difficulty.
-
entry| A pointer to the entry currently being parsed. -
result| The result as aBool.
-
game| A pointer to thePVGameArcadebeing drawn.
-
game| A pointer to thePVGameArcadethat owns the targets being updated. -
dt| The deltatime as aFloat32.
-
game| A pointer to thePVGameTargetwhich has its kiseki*(trail)* being drawn. (I need to rename this totarget.)
-
result| The result as aBool.
-
selection| A pointer to thePVSelectorSwitchof the menu. -
result| The result as aBool.
-
selection| A pointer to thePVselPS4of the menu. -
result| The result as aBool.
-
selection| A pointer to thePVselPS4of the menu.