using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;

namespace RCUHost.Protocols
{
    /// <summary>
    /// 授权时间回复 Packet RCU -> 服务器
    /// </summary>
    [StructLayoutAttribute(LayoutKind.Sequential, Pack = 1)]
    public struct AuthorizationReply
    {
        /// <summary>
        /// 时间
        /// </summary>
        [MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 4, ArraySubType = UnmanagedType.U4)]
        public byte[] Time;

        /// <summary>
        /// CRC16
        /// </summary>
        public ushort CRC;
    }
}
