protected bool OnRunAutonomy(StackTrace trace, StackFrame frame) { TypeStackFrame test = new TypeStackFrame(typeof(Autonomy), "Sims3.Gameplay.Interactions.InteractionInstance AssignProbabilitiesAndChooseInteraction()", null); mIgnore = true; foreach (StackFrame frame2 in trace.GetFrames()) { if (test.Test(frame2)) { return(false); } } mTestForActive = false; return(false); }
protected bool OnRunAutonomy(StackTrace trace, StackFrame frame) { TypeStackFrame test = new TypeStackFrame(typeof(Autonomy), "Sims3.Gameplay.Interactions.InteractionInstance AssignProbabilitiesAndChooseInteraction()", null); mIgnore = true; foreach (StackFrame frame2 in trace.GetFrames()) { if (test.Test(frame2)) { return false; } } mTestForActive = false; return false; }