static int set_UIID(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            GameCore.UIEvent obj = (GameCore.UIEvent)o;
            int arg0             = (int)LuaDLL.luaL_checknumber(L, 2);
            obj.UIID = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index UIID on a nil value"));
        }
    }
    static int get_UIID(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            GameCore.UIEvent obj = (GameCore.UIEvent)o;
            int ret = obj.UIID;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index UIID on a nil value"));
        }
    }