Exemple #1
0
        public static void Bind()
        {
            LuaEnv L = Terraria.Main.instance.L;

            _OnEnterWorld = L.Global.Get <OnEnterWorld>("OnEnterWorld");
            _OnNpcSpawn   = L.Global.Get <OnNpcSpawn>("OnNpcSpawn");
        }
 public void FireEvent_OnEnterWorld(object source, NetworkEnterWorldEventArgs args) =>
 OnEnterWorld?.Invoke(source, args);