Пример #1
0
 public static CEntInfoV2 FromV1(CEntInfoV1 v1)
 {
     var ret = new CEntInfoV2();
     ret.m_pEntity = v1.m_pEntity;
     ret.m_SerialNumber = v1.m_SerialNumber;
     ret.m_pPrev = v1.m_pPrev;
     ret.m_pNext = v1.m_pNext;
     return ret;
 }
Пример #2
0
        public static CEntInfoV2 FromV1(CEntInfoV1 v1)
        {
            var ret = new CEntInfoV2();

            ret.m_pEntity      = v1.m_pEntity;
            ret.m_SerialNumber = v1.m_SerialNumber;
            ret.m_pPrev        = v1.m_pPrev;
            ret.m_pNext        = v1.m_pNext;
            return(ret);
        }