12 lines
381 B
Kotlin
12 lines
381 B
Kotlin
package net.shadowfacts.phycon.network.packet
|
|
|
|
import net.shadowfacts.phycon.api.util.MACAddress
|
|
import net.shadowfacts.phycon.network.DeviceBlockEntity
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
class DeviceRemovedPacket(source: MACAddress, destination: MACAddress = MACAddress.BROADCAST): BasePacket(source, destination) {
|
|
constructor(device: DeviceBlockEntity): this(device.macAddress)
|
|
}
|