/// <summary> /// Constructor. /// </summary> /// <param name="pName">the name of the object class /// </param> /// <param name="pHandle">the handle of the object class /// </param> /// <param name="pParentDescriptors">the descriptors of the object class's parents /// </param>es public ObjectClassDescriptor(XmlElement objClassElement, IObjectClassHandle pHandle, List <ObjectClassDescriptor> pParentDescriptors) { objectDescription = new Sxta.Rti1516.Reflection.HLAObjectClass(objClassElement); //nativeName = Assembly.GetExecutingAssembly().GetType(objectDescription.Name); handle = pHandle; parentDescriptors = pParentDescriptors; }
/// <summary> /// Constructor. /// </summary> /// <param name="pName">the name of the object class /// </param> /// <param name="pHandle">the handle of the object class /// </param> /// <param name="pParentDescriptors">the descriptors of the object class's parents /// </param>es public ObjectClassDescriptor(XmlElement objClassElement, IObjectClassHandle pHandle, List<ObjectClassDescriptor> pParentDescriptors) { objectDescription = new Sxta.Rti1516.Reflection.HLAObjectClass(objClassElement); //nativeName = Assembly.GetExecutingAssembly().GetType(objectDescription.Name); handle = pHandle; parentDescriptors = pParentDescriptors; }
/// <summary> /// Constructor. /// </summary> /// <param name="objClass">the object class description /// </param> /// <param name="pHandle">the handle of the object class /// </param> /// <param name="pParentDescriptors">the descriptors of the object class's parents /// </param> public ObjectClassDescriptor(Sxta.Rti1516.Reflection.HLAObjectClass objClass, IObjectClassHandle pHandle, List <ObjectClassDescriptor> pParentDescriptors) { objectDescription = objClass; handle = pHandle; parentDescriptors = pParentDescriptors; }
/// <summary> /// Constructor. /// </summary> /// <param name="objClass">the object class description /// </param> /// <param name="pHandle">the handle of the object class /// </param> /// <param name="pParentDescriptors">the descriptors of the object class's parents /// </param> public ObjectClassDescriptor(Sxta.Rti1516.Reflection.HLAObjectClass objClass, IObjectClassHandle pHandle, List<ObjectClassDescriptor> pParentDescriptors) { objectDescription = objClass; handle = pHandle; parentDescriptors = pParentDescriptors; }