コード例 #1
0
    static int set_iosKeyboardType(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            EditBox         obj  = (EditBox)o;
            IOSKeyboardType arg0 = (IOSKeyboardType)ToLua.CheckObject(L, 2, typeof(IOSKeyboardType));
            obj.iosKeyboardType = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index iosKeyboardType on a nil value" : e.Message));
        }
    }
コード例 #2
0
    static int get_iosKeyboardType(IntPtr L)
    {
        object o = null;

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