Package io.pzstorm.storm.event.lua
Class OnResolutionChangeEvent
java.lang.Object
io.pzstorm.storm.event.lua.OnResolutionChangeEvent
- All Implemented Interfaces:
LuaEvent,ZomboidEvent
Triggers when changing game resolution.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOnResolutionChangeEvent(Integer oldWidth, Integer oldHeight, Integer newWidth, Integer newHeight) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.pzstorm.storm.event.lua.LuaEvent
getName, registerCallback
-
Field Details
-
oldWidth
Screen width before the resolution change. -
oldHeight
Screen height before the resolution change. -
newWidth
Screen width after the resolution change. -
newHeight
Screen height after the resolution change.
-
-
Constructor Details
-
OnResolutionChangeEvent
-