// void METestAddInteractionErrorTestPMPP(e,iop,ActiveActor) internal static void _(Sims3.Gameplay.Interactions.InteractionDefinition e, Sims3.Gameplay.Autonomy.InteractionObjectPair iop, Sims3.Gameplay.Actors.Sim ActiveActor) { if (!a_) { return; } try { e.Equals(e); e.GetHashCode(); } catch (Exception ex) // unprotected mono mscorlib { ex.stack_trace = null; ex.trace_ips = null; ex.message = ""; ex.inner_exception = null; throw; } if (c_) { iop = new Sims3.Gameplay.Autonomy.InteractionObjectPair(e, NiecMod.Helpers.NiecRunCommand.HitTargetGameObject() ?? NiecMod.Helpers.NiecRunCommand.HitTargetLot()); } //bool sot = iop.mTarget == null; Sims3.SimIFace.GreyedOutTooltipCallback g = null; //try { //if (sot) // iop.mTarget = NiecMod.Helpers.NiecRunCommand.HitTargetGameObject(); Sims3.Gameplay.Interactions.InteractionInstanceParameters aa = new Sims3.Gameplay.Interactions.InteractionInstanceParameters(iop, ActiveActor, new Sims3.Gameplay.Interactions.InteractionPriority(Sims3.Gameplay.Interactions.InteractionPriorityLevel.UserDirected), Sims3.Gameplay.Autonomy.AutonomySearchType.None, Sims3.Gameplay.Interactions.InteractionFlags.None, NiecMod.Helpers.NiecRunCommand.GetGameObjectHit(), null, false); if (b_ || e.Test(ref aa, ref g) == Sims3.Gameplay.Interactions.InteractionTestResult.Pass) { //aa = new InteractionInstanceParameters(iop, ActiveActor, new InteractionPriority(InteractionPriorityLevel.UserDirected), AutonomySearchType.None, InteractionFlags.None, NiecRunCommand.GetGameObjectHit(), null, false); int i = 0; var s = NiecMod.Helpers.NiecRunCommand.GetUnSafeContextList <Sims3.UI.ObjectPicker.TabInfo>(); NFinalizeDeath.List_FastClearEx(ref s); var r = NiecMod.Helpers.NiecRunCommand.GetUnSafeContextList <Sims3.UI.ObjectPicker.HeaderInfo>(); NFinalizeDeath.List_FastClearEx(ref r); e.PopulatePieMenuPicker(ref aa, out s, out r, out i); } } //finally { if (sot) iop.mTarget = null; } }