Class SubNetworkDisconnectEvent

java.lang.Object
net.ME1312.Galaxi.Event.Event
net.ME1312.SubServers.Host.Event.SubNetworkDisconnectEvent

public class SubNetworkDisconnectEvent extends Event
SubData Network Disconnect Event
  • Constructor Details

    • SubNetworkDisconnectEvent

      public SubNetworkDisconnectEvent(DataClient network, DisconnectReason reason)
      SubData Network Disconnect Event
  • Method Details

    • getNetwork

      public DataClient getNetwork()
      Get the SubData network
      Returns:
      SubData Network
    • getReason

      public DisconnectReason getReason()
      Get the reason the client disconnected
      Returns:
      Disconnect Reason