示例#1
0
 /// <summary>
 /// Initializes hooks and grabs necessary assets for building items
 /// </summary>
 public static void Init()
 {
     FakePrefabHooks.Init();
     CompanionBuilder.Init();
     EnemyBuilder.Init();
     LoadShopTables();
 }
示例#2
0
 // Token: 0x06000020 RID: 32 RVA: 0x00002DFF File Offset: 0x00000FFF
 public static void Init()
 {
     FakePrefabHooks.Init();
     CompanionBuilder.Init();
     Tools.Init();
     ItemBuilder.LoadShopTables();
 }
示例#3
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);
     }
 }
示例#4
0
 /// <summary>
 /// Initializes hooks and grabs necessary assets for building items
 /// </summary>
 public static void Init()
 {
     FakePrefabHooks.Init();
     LoadShopTables();
 }