16 lines
549 B
Go
16 lines
549 B
Go
|
|
package org.nieo.seerproject.common.net.info.misc;
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
import org.nieo.seerproject.common.annotations.OutboundMessageType;
|
||
|
|
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
||
|
|
import org.nieo.seerproject.common.net.MessageCommandIDRegistry;
|
||
|
|
import org.nieo.seerproject.common.net.OutboundMessage;
|
||
|
|
|
||
|
|
import java.time.Instant;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@OutboundMessageType(MessageCommandIDRegistry.System_Time)
|
||
|
|
public class SystemTimeOutboundInfo implements OutboundMessage {
|
||
|
|
private @UInt long systemTime = Instant.now().getEpochSecond();
|
||
|
|
}
|