Beispiel #1
0
 public static void Init()
 {
     FakePrefabHooks.Init();
     try
     {
         MethodBase method        = new StackFrame(1, false).GetMethod();
         Type       declaringType = method.DeclaringType;
         ResourceExtractor.SetAssembly(declaringType);
     }
     catch (Exception ex)
     {
         ETGModConsole.Log(ex.Message, false);
         ETGModConsole.Log(ex.StackTrace, false);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes hooks and grabs necessary assets for building items
 /// </summary>
 public static void Init()
 {
     FakePrefabHooks.Init();
     CompanionBuilder.Init();
     LoadShopTables();
 }
Beispiel #3
0
 /// <summary>
 /// Initializes hooks and grabs necessary assets for building items
 /// </summary>
 public static void Init()
 {
     FakePrefabHooks.Init();
     LoadShopTables();
 }