GameBase.Network.GamePack.GetData C# (CSharp) Method

GetData() public method

public GetData ( ) : byte[]
return byte[]
        public byte[] GetData()
        {
            //lock (this)
            //{
                if (m_ListData.Count > 0)
                {
                    byte[] ret =  m_ListData[0];
                    m_ListData.RemoveAt(0);
                    return ret;
                }
            //}
            return null;
        }