internal void SendWaitCheck(byte[] data) { UC_CONNECT_WAIT_CHECK_REQ iPkt = new UC_CONNECT_WAIT_CHECK_REQ(); iPkt.SetData(data); SysCons.LogInfo("UC_CONNECT_WAIT_CHECK_REQ ServerChannelIndex({0})", iPkt.byServerChannelIndex); CU_CONNECT_WAIT_CHECK_RES oPkt = new CU_CONNECT_WAIT_CHECK_RES(); oPkt.BuildPacket(); this.Client.Send(oPkt.Data); CU_CONNECT_WAIT_COUNT_NFY o2Pkt = new CU_CONNECT_WAIT_COUNT_NFY(); o2Pkt.BuildPacket(); this.Client.Send(o2Pkt.Data); }
public void SendConnectWaitCheckResult(byte[] data) { var iPkt = new UC_CONNECT_WAIT_CHECK_REQ(); iPkt.SetData(data); SysCons.LogInfo("UC_CONNECT_WAIT_CHECK_REQ ChannelID({0})", iPkt.ChannelID); ChannelID = iPkt.ChannelID; using (var oPkt = new CU_CONNECT_WAIT_CHECK_RES()) { oPkt.ResultCode = (ushort)ResultCodes.CHARACTER_SUCCESS; oPkt.BuildPacket(); Client.Send(oPkt.Data); } }