Class BusinessViewEvent
java.lang.Object
org.bukkit.event.Event
us.teaminceptus.novaconomy.api.events.business.BusinessEvent
us.teaminceptus.novaconomy.api.events.business.BusinessViewEvent
Called when a Business is Viewed by a player that does not own the Business.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBusinessViewEvent(Player viewer, Business business) Constructs a new BusinessViewEvent. -
Method Summary
Methods inherited from class us.teaminceptus.novaconomy.api.events.business.BusinessEvent
getBusiness, getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
BusinessViewEvent
Constructs a new BusinessViewEvent.- Parameters:
viewer- Player viewing the businessbusiness- Business being viewed
-
-
Method Details
-
getViewer
Fetches the viewer of the business.- Returns:
- Player viewing the business.
-