public bool IsInverted(string device, string action) { if (IsDead()) { throw new Exceptions.SimObjectPointerInvalidException(); } return(InternalUnsafeMethods.ActionMapIsInverted(ObjectPtr->ObjPtr, device, action)); }