public override double QueryRecordDouble(AFIDENTID self, string strRecordName, int nRow, int nCol) { if (mhtObject.ContainsKey(self)) { AFIObject xGameObject = (AFIObject)mhtObject[self]; return(xGameObject.QueryRecordDouble(strRecordName, nRow, nCol)); } return(0.0); }