@@ -3161,6 +3161,40 @@ int lua_ax_spine_SkeletonAnimation_setUpdateOnlyIfVisible(lua_State* tolua_S)
3161
3161
3162
3162
return 0 ;
3163
3163
}
3164
+ int lua_ax_spine_SkeletonAnimation_create (lua_State* tolua_S)
3165
+ {
3166
+ int argc = 0 ;
3167
+ bool ok = true ;
3168
+
3169
+ #if _AX_DEBUG >= 1
3170
+ tolua_Error tolua_err;
3171
+ #endif
3172
+
3173
+ #if _AX_DEBUG >= 1
3174
+ if (!tolua_isusertable (tolua_S,1 ," sp.SkeletonAnimation" ,0 ,&tolua_err)) goto tolua_lerror;
3175
+ #endif
3176
+
3177
+ argc = lua_gettop (tolua_S) - 1 ;
3178
+
3179
+ if (argc == 0 )
3180
+ {
3181
+ if (!ok)
3182
+ {
3183
+ tolua_error (tolua_S," invalid arguments in function 'lua_ax_spine_SkeletonAnimation_create'" , nullptr );
3184
+ return 0 ;
3185
+ }
3186
+ auto && ret = spine::SkeletonAnimation::create ();
3187
+ object_to_luaval<spine::SkeletonAnimation>(tolua_S, " sp.SkeletonAnimation" ,(spine::SkeletonAnimation*)ret);
3188
+ return 1 ;
3189
+ }
3190
+ luaL_error (tolua_S, " %s has wrong number of arguments: %d, was expecting %d\n " , " sp.SkeletonAnimation:create" ,argc, 0 );
3191
+ return 0 ;
3192
+ #if _AX_DEBUG >= 1
3193
+ tolua_lerror:
3194
+ tolua_error (tolua_S," #ferror in function 'lua_ax_spine_SkeletonAnimation_create'." ,&tolua_err);
3195
+ #endif
3196
+ return 0 ;
3197
+ }
3164
3198
int lua_ax_spine_SkeletonAnimation_createWithJsonFile (lua_State* tolua_S)
3165
3199
{
3166
3200
int argc = 0 ;
@@ -3379,6 +3413,7 @@ int lua_register_ax_spine_SkeletonAnimation(lua_State* tolua_S)
3379
3413
tolua_function (tolua_S," setTrackCompleteListener" ,lua_ax_spine_SkeletonAnimation_setTrackCompleteListener);
3380
3414
tolua_function (tolua_S," setTrackEventListener" ,lua_ax_spine_SkeletonAnimation_setTrackEventListener);
3381
3415
tolua_function (tolua_S," setUpdateOnlyIfVisible" ,lua_ax_spine_SkeletonAnimation_setUpdateOnlyIfVisible);
3416
+ tolua_function (tolua_S," create" , lua_ax_spine_SkeletonAnimation_create);
3382
3417
tolua_function (tolua_S," createWithJsonFile" , lua_ax_spine_SkeletonAnimation_createWithJsonFile);
3383
3418
tolua_function (tolua_S," createWithBinaryFile" , lua_ax_spine_SkeletonAnimation_createWithBinaryFile);
3384
3419
tolua_endmodule (tolua_S);
0 commit comments