Class OnResolutionChangeEvent

java.lang.Object
io.pzstorm.storm.event.lua.OnResolutionChangeEvent
All Implemented Interfaces:
LuaEvent, ZomboidEvent

public class OnResolutionChangeEvent extends Object implements LuaEvent
Triggers when changing game resolution.
  • Field Details

    • oldWidth

      public final Integer oldWidth
      Screen width before the resolution change.
    • oldHeight

      public final Integer oldHeight
      Screen height before the resolution change.
    • newWidth

      public final Integer newWidth
      Screen width after the resolution change.
    • newHeight

      public final Integer newHeight
      Screen height after the resolution change.
  • Constructor Details