using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace RCUHost.Protocols
{
///
/// 搜索主机 Packet RCU -> 服务器
///
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = 1)]
public struct SearchHostPacketReplyV2
{
///
/// DNS:新主机才有
///
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 4)]
public byte[] DNS;
///
/// 房型编号:新主机才有
///
[MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 16)]
public string RoomTypeCode;
///
/// 房号:新主机才有
///
[MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 16)]
public string RoomNumber;
///
/// 房型ID:新主机才有
///
public int RoomTypeID;
///
/// 主机ID:新主机才有
///
public int HostID;
///
/// CRC16
///
public ushort CRC;
}
}