public bool IsMember(RigidBody body) { IntPtr pFunc = PropertyFunc.ExGetFunc(base.m_pItem, 3); PropertyFunc.ExSetFuncArgObject(pFunc, 0, body.GetPtr()); bool flag = PropertyFunc.ExFuncInvokeBool(pFunc) != 0; PropertyFunc.ExFuncRelease(pFunc); return(flag); }
public bool IsMember(CollisionBody part) { IntPtr pFunc = PropertyFunc.ExGetFunc(base.m_pItem, 3); PropertyFunc.ExSetFuncArgObject(pFunc, 0, part.GetPtr()); bool flag = PropertyFunc.ExFuncInvokeBool(pFunc) != 0; PropertyFunc.ExFuncRelease(pFunc); return(flag); }