/*! * 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());
/*! * 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());
/*! Copy Constructor */ public RefObject(RefObject src) { objectsInMemory++; }