Class WsListingAddEvent
java.lang.Object
de.chojo.universalis.websocket.events.WsEvent<T>
de.chojo.universalis.websocket.events.concrete.listing.WsListingEvent<ListingAddEvent>
de.chojo.universalis.websocket.events.concrete.listing.impl.WsListingAddEvent
- All Implemented Interfaces:
EventSupplier<ListingAddEvent>
A websocket listings add event.
-
Constructor Summary
ConstructorsConstructorDescriptionWsListingAddEvent
(Item item, World world, List<ListingView> listings) Create a new websocket listing add event -
Method Summary
Methods inherited from class de.chojo.universalis.websocket.events.concrete.listing.WsListingEvent
asListing, listings
-
Constructor Details
-
WsListingAddEvent
Create a new websocket listing add event- Parameters:
item
- itemworld
- worldlistings
- listings
-
-
Method Details
-
toEvent
Description copied from interface:EventSupplier
Converts the websocket event into an internal event- Returns:
- event
-