using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace RCUHost.Protocols { /// /// 房态变化 Packet服务器 -> RCU /// [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct RoomStatusChangedPacket { /// /// 房态: /// 待租 => 0x00, /// 已租 => 0x01, /// 已预定 => 0x02, /// 维修 => 0x03 /// public byte Status; /// /// CRC16校验 /// public ushort CRC; } }