All Implemented Interfaces:
EventSupplier<ListingAddEvent>

public class WsListingAddEvent extends WsListingEvent<ListingAddEvent>
A websocket listings add event.
  • Constructor Details

    • WsListingAddEvent

      public WsListingAddEvent(Item item, World world, List<ListingView> listings)
      Create a new websocket listing add event
      Parameters:
      item - item
      world - world
      listings - listings
  • Method Details

    • toEvent

      public ListingAddEvent toEvent()
      Description copied from interface: EventSupplier
      Converts the websocket event into an internal event
      Returns:
      event