Skip to content

Commit 4c8fdc7

Browse files
committed
Merge pull request cocos2d#14684 from CocosRobot/update_lua_bindings_1450153784
[ci skip][AUTO]: updating luabinding & jsbinding automatically
2 parents 6e20c3c + 8cb2ec6 commit 4c8fdc7

17 files changed

+1327
-147
lines changed

cocos/scripting/js-bindings/auto/api/jsb_cocos2dx_auto_api.js

Lines changed: 76 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -12011,6 +12011,16 @@ float
1201112011
{
1201212012
},
1201312013

12014+
/**
12015+
* @method getWidth
12016+
* @return {float}
12017+
*/
12018+
getWidth : function (
12019+
)
12020+
{
12021+
return 0;
12022+
},
12023+
1201412024
/**
1201512025
* @method getString
1201612026
* @return {String}
@@ -12081,6 +12091,16 @@ float
1208112091
{
1208212092
},
1208312093

12094+
/**
12095+
* @method getAdditionalKerning
12096+
* @return {float}
12097+
*/
12098+
getAdditionalKerning : function (
12099+
)
12100+
{
12101+
return 0;
12102+
},
12103+
1208412104
/**
1208512105
* @method getBMFontSize
1208612106
* @return {float}
@@ -12111,6 +12131,16 @@ getHorizontalAlignment : function (
1211112131
return 0;
1211212132
},
1211312133

12134+
/**
12135+
* @method getShadowOffset
12136+
* @return {size_object}
12137+
*/
12138+
getShadowOffset : function (
12139+
)
12140+
{
12141+
return cc.Size;
12142+
},
12143+
1211412144
/**
1211512145
* @method setClipMarginEnabled
1211612146
* @param {bool} arg0
@@ -12141,6 +12171,16 @@ str
1214112171
{
1214212172
},
1214312173

12174+
/**
12175+
* @method getOutlineSize
12176+
* @return {int}
12177+
*/
12178+
getOutlineSize : function (
12179+
)
12180+
{
12181+
return 0;
12182+
},
12183+
1214412184
/**
1214512185
* @method setBMFontFilePath
1214612186
* @param {String} arg0
@@ -12270,15 +12310,25 @@ int
1227012310
},
1227112311

1227212312
/**
12273-
* @method getAdditionalKerning
12313+
* @method getShadowBlurRadius
1227412314
* @return {float}
1227512315
*/
12276-
getAdditionalKerning : function (
12316+
getShadowBlurRadius : function (
1227712317
)
1227812318
{
1227912319
return 0;
1228012320
},
1228112321

12322+
/**
12323+
* @method getEffectColor
12324+
* @return {color4f_object}
12325+
*/
12326+
getEffectColor : function (
12327+
)
12328+
{
12329+
return cc.Color4F;
12330+
},
12331+
1228212332
/**
1228312333
* @method removeAllChildrenWithCleanup
1228412334
* @param {bool} arg0
@@ -12367,6 +12417,16 @@ getLineHeight : function (
1236712417
return 0;
1236812418
},
1236912419

12420+
/**
12421+
* @method getShadowColor
12422+
* @return {color4f_object}
12423+
*/
12424+
getShadowColor : function (
12425+
)
12426+
{
12427+
return cc.Color4F;
12428+
},
12429+
1237012430
/**
1237112431
* @method getTTFConfig
1237212432
* @return {cc._ttfConfig}
@@ -12420,13 +12480,13 @@ float
1242012480
},
1242112481

1242212482
/**
12423-
* @method getWidth
12424-
* @return {float}
12483+
* @method isShadowEnabled
12484+
* @return {bool}
1242512485
*/
12426-
getWidth : function (
12486+
isShadowEnabled : function (
1242712487
)
1242812488
{
12429-
return 0;
12489+
return false;
1243012490
},
1243112491

1243212492
/**
@@ -12519,6 +12579,16 @@ isWrapEnabled : function (
1251912579
return false;
1252012580
},
1252112581

12582+
/**
12583+
* @method getLabelEffectType
12584+
* @return {cc.LabelEffect}
12585+
*/
12586+
getLabelEffectType : function (
12587+
)
12588+
{
12589+
return 0;
12590+
},
12591+
1252212592
/**
1252312593
* @method setAlignment
1252412594
* @param {cc.TextHAlignment|cc.TextHAlignment} texthalignment
@@ -23463,27 +23533,4 @@ getInstance : function (
2346323533
*/
2346423534
cc.ComponentJS = {
2346523535

23466-
/**
23467-
* @method create
23468-
* @param {String} arg0
23469-
* @return {cc.ComponentJS}
23470-
*/
23471-
create : function (
23472-
str
23473-
)
23474-
{
23475-
return cc.ComponentJS;
23476-
},
23477-
23478-
/**
23479-
* @method ComponentJS
23480-
* @constructor
23481-
* @param {String} arg0
23482-
*/
23483-
ComponentJS : function (
23484-
str
23485-
)
23486-
{
23487-
},
23488-
2348923536
};

cocos/scripting/js-bindings/auto/api/jsb_cocos2dx_extension_auto_api.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,13 @@ getCurrentTitle : function(
548548
* @method initWithLabelAndBackgroundSprite
549549
* @param {cc.Node} arg0
550550
* @param {ccui.Scale9Sprite} arg1
551+
* @param {bool} arg2
551552
* @return {bool}
552553
*/
553554
initWithLabelAndBackgroundSprite : function (
554555
node,
555-
scale9sprite
556+
scale9sprite,
557+
bool
556558
)
557559
{
558560
return false;
@@ -582,15 +584,15 @@ state
582584

583585
/**
584586
* @method create
585-
* @param {ccui.Scale9Sprite|cc.Node|String} scale9sprite
586-
* @param {ccui.Scale9Sprite|String} scale9sprite
587-
* @param {float} float
588-
* @return {cc.ControlButton|cc.ControlButton|cc.ControlButton|cc.ControlButton}
587+
* @param {ccui.Scale9Sprite|cc.Node|String|cc.Node} scale9sprite
588+
* @param {ccui.Scale9Sprite|String|ccui.Scale9Sprite} scale9sprite
589+
* @param {float|bool} float
590+
* @return {cc.ControlButton|cc.ControlButton|cc.ControlButton|cc.ControlButton|cc.ControlButton}
589591
*/
590592
create : function(
591-
str,
592-
str,
593-
float
593+
node,
594+
scale9sprite,
595+
bool
594596
)
595597
{
596598
return cc.ControlButton;

cocos/scripting/js-bindings/auto/api/jsb_cocos2dx_ui_auto_api.js

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,6 +2383,16 @@ labeleffect
23832383
{
23842384
},
23852385

2386+
/**
2387+
* @method getLabelEffectType
2388+
* @return {cc.LabelEffect}
2389+
*/
2390+
getLabelEffectType : function (
2391+
)
2392+
{
2393+
return 0;
2394+
},
2395+
23862396
/**
23872397
* @method getTextColor
23882398
* @return {color4b_object}
@@ -2423,6 +2433,16 @@ bool
24232433
{
24242434
},
24252435

2436+
/**
2437+
* @method getShadowOffset
2438+
* @return {size_object}
2439+
*/
2440+
getShadowOffset : function (
2441+
)
2442+
{
2443+
return cc.Size;
2444+
},
2445+
24262446
/**
24272447
* @method setString
24282448
* @param {String} arg0
@@ -2433,6 +2453,16 @@ str
24332453
{
24342454
},
24352455

2456+
/**
2457+
* @method getOutlineSize
2458+
* @return {int}
2459+
*/
2460+
getOutlineSize : function (
2461+
)
2462+
{
2463+
return 0;
2464+
},
2465+
24362466
/**
24372467
* @method init
24382468
* @param {String} arg0
@@ -2449,6 +2479,16 @@ float
24492479
return false;
24502480
},
24512481

2482+
/**
2483+
* @method getShadowBlurRadius
2484+
* @return {float}
2485+
*/
2486+
getShadowBlurRadius : function (
2487+
)
2488+
{
2489+
return 0;
2490+
},
2491+
24522492
/**
24532493
* @method isTouchScaleChangeEnabled
24542494
* @return {bool}
@@ -2511,6 +2551,16 @@ int
25112551
{
25122552
},
25132553

2554+
/**
2555+
* @method getEffectColor
2556+
* @return {color4b_object}
2557+
*/
2558+
getEffectColor : function (
2559+
)
2560+
{
2561+
return cc.Color4B;
2562+
},
2563+
25142564
/**
25152565
* @method getType
25162566
* @return {ccui.Text::Type}
@@ -2531,6 +2581,16 @@ getTextHorizontalAlignment : function (
25312581
return 0;
25322582
},
25332583

2584+
/**
2585+
* @method isShadowEnabled
2586+
* @return {bool}
2587+
*/
2588+
isShadowEnabled : function (
2589+
)
2590+
{
2591+
return false;
2592+
},
2593+
25342594
/**
25352595
* @method setFontSize
25362596
* @param {float} arg0
@@ -2541,6 +2601,16 @@ float
25412601
{
25422602
},
25432603

2604+
/**
2605+
* @method getShadowColor
2606+
* @return {color4b_object}
2607+
*/
2608+
getShadowColor : function (
2609+
)
2610+
{
2611+
return cc.Color4B;
2612+
},
2613+
25442614
/**
25452615
* @method setTextColor
25462616
* @param {color4b_object} arg0

0 commit comments

Comments
 (0)