Package io.pzstorm.storm.event.lua
Class OnPressRackButtonEvent
java.lang.Object
io.pzstorm.storm.event.lua.OnPressRackButtonEvent
- All Implemented Interfaces:
LuaEvent,ZomboidEvent
Triggered after the player presses the weapon rack button.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOnPressRackButtonEvent(zombie.characters.IsoPlayer player, zombie.inventory.types.HandWeapon weapon) -
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
-
player
public final zombie.characters.IsoPlayer playerThe player that is racking the weapon. -
weapon
public final zombie.inventory.types.HandWeapon weaponThe weapon that is being racked.
-
-
Constructor Details
-
OnPressRackButtonEvent
public OnPressRackButtonEvent(zombie.characters.IsoPlayer player, zombie.inventory.types.HandWeapon weapon)
-