33 lines
690 B
Java
33 lines
690 B
Java
package org.openautonomousconnection.protocol;
|
|
|
|
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
|
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.PacketHandler;
|
|
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
|
|
|
|
/**
|
|
* Settings for the protocol connection.
|
|
*/
|
|
public class ProtocolSettings extends DefaultMethodsOverrider {
|
|
|
|
/**
|
|
* The host to connect to.
|
|
*/
|
|
public String host;
|
|
|
|
/**
|
|
* The port to connect to.
|
|
*/
|
|
public int port;
|
|
|
|
/**
|
|
* The protocol version to use.
|
|
*/
|
|
public PacketHandler packetHandler;
|
|
|
|
/**
|
|
* The event manager to use.
|
|
*/
|
|
public EventManager eventManager;
|
|
|
|
}
|