protected override void Triggered(NativeWrapper.NativeEnvironment env)
            {
                var pVM = env.GetRegister(Register.EAX);
                SquirrelVM = pVM;

                SquirrelFunctions.pushroottable(pVM);
                SquirrelFunctions.pushstring(pVM, "MY_TEST_NUMBER", -1);
                SquirrelFunctions.pushinteger(pVM, 123);
                SquirrelFunctions.newslot(pVM, -3, 0);
                SquirrelFunctions.pop(pVM, 1);

                //var list = new Dictionary<string, SquirrelFuncDelegate>(UnregisteredFunction);
                //UnregisteredFunction.Clear();
                //foreach (var entry in list)
                //{
                //    SquirrelHelper.RegisterGlobalFunction(entry.Key, entry.Value);
                //}

                if (OnSquirrelCreated != null)
                {
                    OnSquirrelCreated(pVM);
                    OnSquirrelCreated = null;
                }
            }