示例#1
0
        public bool WaitForExit = false;  //标记


        public FSPPlayer(uint playerId, FSPSession session, int timeOut, Action <FSPPlayer, FSPVKey> listener)
        {
            _id       = playerId;
            m_Session = session;
            m_Session.SetReceiveListener(OnReceive);
            m_Timeout = timeOut;

            m_ReceiveListener = listener;
            WaitForExit       = false;

            LOG_TAG = LOG_TAG + "[" + playerId + "]";
        }