diff --git a/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua b/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua index c14785267e..36954f071d 100644 --- a/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua +++ b/cocos/scripting/lua-bindings/auto/api/VideoPlayer.lua @@ -58,7 +58,7 @@ -------------------------------- -- @function [parent=#VideoPlayer] onPlayEvent -- @param self --- @param #cc.experimental::ui::VideoPlayer::EventType eventtype +-- @param #int int -------------------------------- -- @function [parent=#VideoPlayer] isFullScreenEnabled diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp index 5db0e85f9d..e62111ffaf 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp @@ -522,7 +522,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_onPlayEvent(lua_State* tolua_S) argc = lua_gettop(tolua_S)-1; if (argc == 1) { - cocos2d::experimental::ui::VideoPlayer::EventType arg0; + int arg0; ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); if(!ok)