Files
Protocol/src/main/java/org/openautonomousconnection/protocol/ProtocolSettings.java

33 lines
696 B
Java
Raw Normal View History

2025-09-24 22:02:10 +02:00
package org.openautonomousconnection.protocol;
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
import dev.unlegitdqrk.unlegitlibrary.network.system.packets.PacketHandler;
import dev.unlegitdqrk.unlegitlibrary.utils.DefaultMethodsOverrider;
2025-09-29 17:46:30 +02:00
/**
* Settings for the protocol connection.
*/
2025-09-29 17:56:51 +02:00
public final class ProtocolSettings extends DefaultMethodsOverrider {
2025-09-24 22:02:10 +02:00
2025-09-29 17:46:30 +02:00
/**
* The host to connect to.
*/
2025-09-24 22:02:10 +02:00
public String host;
2025-09-29 17:46:30 +02:00
/**
* The port to connect to.
*/
2025-09-24 22:02:10 +02:00
public int port;
2025-09-29 17:46:30 +02:00
/**
* The protocol version to use.
*/
2025-09-24 22:02:10 +02:00
public PacketHandler packetHandler;
2025-09-29 17:46:30 +02:00
/**
* The event manager to use.
*/
2025-09-24 22:02:10 +02:00
public EventManager eventManager;
}