public void SendUserSetting() { //是否允许旁观设置 NPacket packet = NPacketPool.GetEnablePacket(); packet.CreateHead(MainCommand.MDM_GF_FRAME, SubCommand.SUB_GF_INFO); packet.Addbyte(0); packet.AddUInt(0); packet.AddUInt(0); Send(packet); }