diff --git a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua b/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua index b725a61d3b..507231d015 100644 --- a/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua +++ b/cocos/scripting/lua-bindings/auto/api/ParticleSystemQuad.lua @@ -19,9 +19,11 @@ -- -- overload function: create() -- +-- overload function: create(map_table) +-- -- @function [parent=#ParticleSystemQuad] create -- @param self --- @param #string str +-- @param #map_table map -- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad) -------------------------------- diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index 386e6619a3..86552d17fb 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -52364,7 +52364,20 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + do + { + if (argc == 1) + { + cocos2d::ValueMap arg0; + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + if (!ok) { break; } + cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::create(arg0); + object_to_luaval(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret); + return 1; + } + } while (0); + ok = true; + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: