Ejemplo n.º 1
0
 /*!
  * Used to determine whether this object is exactly the same type as another object.
  * \return True if this object is exactly the same type as the given object.  False otherwise.
  */
 public bool IsSameType(RefObject obj) => GetType().IsSameType(obj.GetType());
Ejemplo n.º 2
0
 /*!
  * Used to determine whether this object is a derived type of another object.  For example, all NIF objects are derived types of NiObject, and a NiNode is also a derived type of NiObjectNET and NiAVObject.
  * \return True if this object is derived from the type of of the given object.  False otherwise.
  */
 public bool IsDerivedType(RefObject obj) => GetType().IsDerivedType(obj.GetType());
Ejemplo n.º 3
0
 /*! Copy Constructor */
 public RefObject(RefObject src)
 {
     objectsInMemory++;
 }