public void ServerQueue()
    {
        MatchingPacket setData = new MatchingPacket("Monjon", TribeSetManager.PData.TribeName, TribeSetManager.PData.Spell, 0);//마지막 파라미터는 teamflag 그냥 0 으로 보냄

        ClientNetworkManager.Send("OnMatchingRequest", setData);
    }
        //수신콜백함수
        private static void ReceiveCallBack(IAsyncResult ar)
        {
            try
            {
                //var tempSocket = (Socket)ar.AsyncState;
               // int readSize = tempSocket.EndReceive(ar);//버퍼 사이즈 받아옴
               
                var receiveJson = new UTF8Encoding().GetString(_buffer);
                
                var receiveData = JsonConvert.DeserializeObject<Packet>(receiveJson);
                ReceiveMsg = receiveData.MsgName;
                Debug.Log("test : " + receiveData.Data);

                switch (ReceiveMsg)
                {
                    case "OnSucceedMatching":
                        PacketData = JsonConvert.DeserializeObject<MatchingPacket>(receiveData.Data);
                        break;
                    case "InGame":
                        break;
                }

                if (_serverSocket.Connected == true)
                {
                    Receive();
                }
                    
            }
            catch (SocketException e)
            {
                Debug.Log("Socket error : " + e);
                //데이저 수신 에러
            }
            catch (Exception e)
            {
                Debug.Log("exeption 에러 : "+e);
            }

            var matchingPakcet = new MatchingPacket("id","tribe",0,1);

            var packetwrapper = new Packet()
            {
                MsgName = "MatchingPacket",
                Data = JsonConvert.SerializeObject(matchingPakcet)
            };
        }
    void Start()
    {
        //_setPaneldata = ClientNetworkManager.PacketData;

        if (ClientNetworkManager.PacketData != null)
        {
            _enemydata = ClientNetworkManager.PacketData;
            Debug.Log(_enemydata.Id);
        }
        MatchingDataViewIns();
        StartCoroutine(gameStartCounter());
    }