Beispiel #1
0
 static private void AddResearchDefs(GreatLibrary greatLibrary)
 {
     foreach (GreatLibrary.ResearchDef researchDef in researchDefs)
     {
         greatLibrary.researchDefs.Add(researchDef);
     }
 }
Beispiel #2
0
                static void Postfix(Building __instance)
                {
                    GreatLibrary greatLibrary = __instance.GetComponent <GreatLibrary>();

                    if (greatLibrary != null)
                    {
                        AddResearchDefs(greatLibrary);
                    }
                    ;
                }
Beispiel #3
0
 static void Postfix(GreatLibrary s)
 {
     AddResearchDefs(s);
 }