Class PlayerNpcEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.PlayerNpcEvent
- Direct Known Subclasses:
PlayerDismountNpcEvent
,PlayerHitNpcEvent
,PlayerMountNpcEvent
,PlayerNpcInteractionEvent
,PlayerNpcInventoryAccessEvent
Base class for all player - npc related events.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Constructor Details
-
PlayerNpcEvent
protected PlayerNpcEvent(long pointer)
-
-
Method Details
-
getNpc
Gets the npc.- Returns:
- the npc.
-