Analyzer.Profiling.H_Storyteller.GetPatchMethods C# (CSharp) Метод

GetPatchMethods() публичный статический Метод

public static GetPatchMethods ( ) : IEnumerable
Результат IEnumerable
        public static IEnumerable<MethodInfo> GetPatchMethods()
        {
            foreach(var tm in Utility.GetTypeMethods(typeof(Storyteller), true))
                yield return tm;
            
            foreach(var meth in typeof(IncidentWorker).AllSubnBaseImplsOf((t) => AccessTools.Method(t, nameof(IncidentWorker.CanFireNowSub))))
                yield return meth;

            foreach(var meth in typeof(IncidentWorker).AllSubnBaseImplsOf((t) => AccessTools.Method(t, nameof(IncidentWorker.TryExecuteWorker))))
                yield return meth;

            yield return  AccessTools.Method(typeof(QuestUtility), nameof(QuestUtility.GenerateQuestAndMakeAvailable), new[] {typeof(QuestScriptDef), typeof(Slate)});
        }
    }
H_Storyteller