Files
Web_CRICS_Server_VS2010_Prod/RCUHost/Protocols/SearchHostPacketReplyV2.cs
2025-12-11 09:17:16 +08:00

49 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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, CharSet = CharSet.Ansi, Pack = 1)]
public struct SearchHostPacketReplyV2
{
/// <summary>
/// DNS新主机才有
/// </summary>
[MarshalAsAttribute(UnmanagedType.ByValArray, SizeConst = 4)]
public byte[] DNS;
/// <summary>
/// 房型编号:新主机才有
/// </summary>
[MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 16)]
public string RoomTypeCode;
/// <summary>
/// 房号:新主机才有
/// </summary>
[MarshalAsAttribute(UnmanagedType.ByValTStr, SizeConst = 16)]
public string RoomNumber;
/// <summary>
/// 房型ID新主机才有
/// </summary>
public int RoomTypeID;
/// <summary>
/// 主机ID新主机才有
/// </summary>
public int HostID;
/// <summary>
/// CRC16
/// </summary>
public ushort CRC;
}
}