コード例 #1
0
 public static bool Prefix(ZNetScene __instance)
 {
     Debug.LogWarning($"[Jam] ZNetScene_Awake_Patch");
     Jam.TryRegisterPrefabs(__instance);
     return(true);
 }
コード例 #2
0
 public static void Postfix()
 {
     Jam.TryRegisterItems();
     Jam.TryRegisterRecipes();
 }
コード例 #3
0
 public static void Postfix()
 {
     Debug.LogWarning($"[Jam] ObjectDB_CopyOtherDB_Patch ({ObjectDB.instance.m_items.Count})");
     Jam.TryRegisterItems();
     Jam.TryRegisterRecipes();
 }
コード例 #4
0
 public static bool Prefix(ZNetScene __instance)
 {
     Jam.TryRegisterPrefabs(__instance);
     return(true);
 }