Пример #1
0
        public override int FindRecordRow(NFGUID self, string strRecordName, int nCol, NFGUID nValue)
        {
            if (mhtObject.ContainsKey(self))
            {
                NFIObject        xGameObject = (NFIObject)mhtObject[self];
                NFrame.NFIRecord xRecord     = xGameObject.GetRecordManager().GetRecord(strRecordName);
                if (null != xRecord)
                {
                    return(xRecord.FindObject(nCol, nValue));
                }
            }

            return(-1);
        }
Пример #2
0
        public override int FindRecordRow(NFGUID self, string strRecordName, int nCol, double fValue, ref NFDataList xDatalist)
        {
            if (mhtObject.ContainsKey(self))
            {
                NFIObject        xGameObject = (NFIObject)mhtObject[self];
                NFrame.NFIRecord xRecord     = xGameObject.GetRecordManager().GetRecord(strRecordName);
                if (null != xRecord)
                {
                    return(xRecord.FindFloat(nCol, fValue, ref xDatalist));
                }
            }

            return(-1);
        }