Exemplo n.º 1
0
    static int set_onEndEdit(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UIInputFieldSubmit             obj  = (UIInputFieldSubmit)o;
            UIInputFieldSubmit.SubmitEvent arg0 = (UIInputFieldSubmit.SubmitEvent)ToLua.CheckObject(L, 2, typeof(UIInputFieldSubmit.SubmitEvent));
            obj.onEndEdit = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onEndEdit on a nil value" : e.Message));
        }
    }
Exemplo n.º 2
0
    static int get_onEndEdit(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            UIInputFieldSubmit             obj = (UIInputFieldSubmit)o;
            UIInputFieldSubmit.SubmitEvent ret = obj.onEndEdit;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index onEndEdit on a nil value" : e.Message));
        }
    }