コード例 #1
0
            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);
            }
コード例 #2
0
ファイル: GoHomeEx.cs プロジェクト: Chain-Reaction/NRaas
            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;
            }