public SSessionBase SendAsync(SWorldCurrentDataResponse value) => SendAsync(ClientOpcode.CurrentDate, (PacketWriter writer) => { writer.Write(value.UnixTimeSeconds); writer.Write(value.Year); writer.Write(value.Month); writer.Write(value.Day); writer.Write(value.Hour); writer.Write(value.Minute); writer.Write(value.Second); writer.Write(value.IsDaylightSavingTime); });
public SSessionBase SendDeferred(SWorldCurrentDataResponse value) => SendDeferred(SCCategory.World, SCWorld.CurDate, (SPacketWriter writer) => { writer.Write(value.UnixTimeSeconds); writer.Write(value.Year); writer.Write(value.Month); writer.Write(value.Day); writer.Write(value.Hour); writer.Write(value.Minute); writer.Write(value.Second); writer.Write(value.IsDaylightSavingTime); });