2021-02-28 18:48:39 +00:00
|
|
|
package net.shadowfacts.phycon.packet
|
2019-10-28 21:48:10 +00:00
|
|
|
|
2021-02-13 23:24:36 +00:00
|
|
|
import net.shadowfacts.phycon.api.util.IPAddress
|
2021-02-28 18:48:39 +00:00
|
|
|
import net.shadowfacts.phycon.block.DeviceBlockEntity
|
2019-10-28 21:48:10 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author shadowfacts
|
|
|
|
*/
|
2021-02-13 23:24:36 +00:00
|
|
|
class DeviceRemovedPacket(source: IPAddress, destination: IPAddress = IPAddress.BROADCAST): BasePacket(source, destination) {
|
|
|
|
constructor(device: DeviceBlockEntity): this(device.ipAddress)
|
2019-10-28 21:48:10 +00:00
|
|
|
}
|