// Return the value, looking up any indirect ref. public void GetValue(MHObjectRef reference, MHEngine engine) { if (m_fIsDirect) { reference.Copy(m_ObjRef); } else { MHUnion result = new MHUnion(); MHRoot pBase = engine.FindObject(m_Indirect); pBase.GetVariableValue(result, engine); result.CheckType(MHUnion.U_ObjRef); reference.Copy(result.ObjRef); } }
public MHUnion(MHObjectRef objVal) { m_Type = U_ObjRef; m_ObjRefVal = new MHObjectRef(); m_ObjRefVal.Copy(objVal); }
public void Copy(MHFontBody fb) { m_DirFont.Copy(fb.m_DirFont); m_IndirFont.Copy(fb.m_IndirFont); }