Example #1
0
    public bool OnKeyPressed(SWIGTYPE_p_OIS__KeyEvent evt)
    {
        bool ret = testPINVOKE.CLuaConsole_OnKeyPressed(swigCPtr, SWIGTYPE_p_OIS__KeyEvent.getCPtr(evt));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #2
0
    public virtual bool keyReleased(SWIGTYPE_p_OIS__KeyEvent e)
    {
        bool ret = testPINVOKE.CMenuState_keyReleased(swigCPtr, SWIGTYPE_p_OIS__KeyEvent.getCPtr(e));

        if (testPINVOKE.SWIGPendingException.Pending)
        {
            throw testPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }