Packet constructor
Packet(
- String name,
- PacketData data,
- String id
Implementation
Packet(String name, PacketData data, String id) {
this.name = name;
this.data = data;
this.id = id;
failed = false;
sending = false;
}