Cocos2d Lua API

来源:互联网 发布:试卷软件 编辑:程序博客网 时间:2024/05/22 18:17
tolua_usertype(tolua_S,"cc.Animation3D");tolua_usertype(tolua_S,"cc.Animate3D");tolua_usertype(tolua_S,"cc.TextureCube");tolua_usertype(tolua_S,"cc.AttachNode");tolua_usertype(tolua_S,"cc.BillBoard");tolua_usertype(tolua_S,"cc.Mesh");tolua_usertype(tolua_S,"cc.Skeleton3D");tolua_usertype(tolua_S,"cc.Skybox");tolua_usertype(tolua_S,"cc.Sprite3D");tolua_usertype(tolua_S,"cc.Sprite3DCache");tolua_usertype(tolua_S,"cc.Sprite3DMaterial");tolua_usertype(tolua_S,"cc.Terrain");tolua_usertype(tolua_S,"cc.Bundle3D");tolua_usertype(tolua_S,"ccexp.AudioProfile");tolua_usertype(tolua_S,"ccexp.AudioEngine");tolua_usertype(tolua_S,"cc.Ref");tolua_usertype(tolua_S,"cc.Console");tolua_usertype(tolua_S,"cc.Texture2D");tolua_usertype(tolua_S,"cc.Touch");tolua_usertype(tolua_S,"cc.Event");tolua_usertype(tolua_S,"cc.EventTouch");tolua_usertype(tolua_S,"cc.EventKeyboard");tolua_usertype(tolua_S,"cc.Component");tolua_usertype(tolua_S,"cc.Node");tolua_usertype(tolua_S,"cc.Scene");tolua_usertype(tolua_S,"cc.GLView");tolua_usertype(tolua_S,"cc.Director");tolua_usertype(tolua_S,"cc.Timer");tolua_usertype(tolua_S,"cc.Scheduler");tolua_usertype(tolua_S,"cc.AsyncTaskPool");tolua_usertype(tolua_S,"cc.Action");tolua_usertype(tolua_S,"cc.FiniteTimeAction");tolua_usertype(tolua_S,"cc.Speed");tolua_usertype(tolua_S,"cc.Follow");tolua_usertype(tolua_S,"cc.Image");tolua_usertype(tolua_S,"cc.GLProgramState");tolua_usertype(tolua_S,"cc.PolygonInfo");tolua_usertype(tolua_S,"cc.AutoPolygon");tolua_usertype(tolua_S,"cc.SpriteFrame");tolua_usertype(tolua_S,"cc.AnimationFrame");tolua_usertype(tolua_S,"cc.Animation");tolua_usertype(tolua_S,"cc.ActionInterval");tolua_usertype(tolua_S,"cc.Sequence");tolua_usertype(tolua_S,"cc.Repeat");tolua_usertype(tolua_S,"cc.RepeatForever");tolua_usertype(tolua_S,"cc.Spawn");tolua_usertype(tolua_S,"cc.RotateTo");tolua_usertype(tolua_S,"cc.RotateBy");tolua_usertype(tolua_S,"cc.MoveBy");tolua_usertype(tolua_S,"cc.MoveTo");tolua_usertype(tolua_S,"cc.SkewTo");tolua_usertype(tolua_S,"cc.SkewBy");tolua_usertype(tolua_S,"cc.JumpBy");tolua_usertype(tolua_S,"cc.JumpTo");tolua_usertype(tolua_S,"cc.BezierBy");tolua_usertype(tolua_S,"cc.BezierTo");tolua_usertype(tolua_S,"cc.ScaleTo");tolua_usertype(tolua_S,"cc.ScaleBy");tolua_usertype(tolua_S,"cc.Blink");tolua_usertype(tolua_S,"cc.FadeTo");tolua_usertype(tolua_S,"cc.FadeIn");tolua_usertype(tolua_S,"cc.FadeOut");tolua_usertype(tolua_S,"cc.TintTo");tolua_usertype(tolua_S,"cc.TintBy");tolua_usertype(tolua_S,"cc.DelayTime");tolua_usertype(tolua_S,"cc.Animate");tolua_usertype(tolua_S,"cc.TargetedAction");tolua_usertype(tolua_S,"cc.ActionFloat");tolua_usertype(tolua_S,"cc.Properties");tolua_usertype(tolua_S,"cc.UserDefault");tolua_usertype(tolua_S,"cc.FileUtils");tolua_usertype(tolua_S,"cc.EventAcceleration");tolua_usertype(tolua_S,"cc.EventCustom");tolua_usertype(tolua_S,"cc.EventListener");tolua_usertype(tolua_S,"cc.EventDispatcher");tolua_usertype(tolua_S,"cc.EventFocus");tolua_usertype(tolua_S,"cc.EventListenerAcceleration");tolua_usertype(tolua_S,"cc.EventListenerCustom");tolua_usertype(tolua_S,"cc.EventListenerFocus");tolua_usertype(tolua_S,"cc.EventListenerKeyboard");tolua_usertype(tolua_S,"cc.EventMouse");tolua_usertype(tolua_S,"cc.EventListenerMouse");tolua_usertype(tolua_S,"cc.EventListenerTouchOneByOne");tolua_usertype(tolua_S,"cc.EventListenerTouchAllAtOnce");tolua_usertype(tolua_S,"cc.ActionCamera");tolua_usertype(tolua_S,"cc.OrbitCamera");tolua_usertype(tolua_S,"cc.CardinalSplineTo");tolua_usertype(tolua_S,"cc.CardinalSplineBy");tolua_usertype(tolua_S,"cc.CatmullRomTo");tolua_usertype(tolua_S,"cc.CatmullRomBy");tolua_usertype(tolua_S,"cc.ActionEase");tolua_usertype(tolua_S,"cc.EaseRateAction");tolua_usertype(tolua_S,"cc.EaseExponentialIn");tolua_usertype(tolua_S,"cc.EaseExponentialOut");tolua_usertype(tolua_S,"cc.EaseExponentialInOut");tolua_usertype(tolua_S,"cc.EaseSineIn");tolua_usertype(tolua_S,"cc.EaseSineOut");tolua_usertype(tolua_S,"cc.EaseSineInOut");tolua_usertype(tolua_S,"cc.EaseBounce");tolua_usertype(tolua_S,"cc.EaseBounceIn");tolua_usertype(tolua_S,"cc.EaseBounceOut");tolua_usertype(tolua_S,"cc.EaseBounceInOut");tolua_usertype(tolua_S,"cc.EaseBackIn");tolua_usertype(tolua_S,"cc.EaseBackOut");tolua_usertype(tolua_S,"cc.EaseBackInOut");tolua_usertype(tolua_S,"cc.EaseQuadraticActionIn");tolua_usertype(tolua_S,"cc.EaseQuadraticActionOut");tolua_usertype(tolua_S,"cc.EaseQuadraticActionInOut");tolua_usertype(tolua_S,"cc.EaseQuarticActionIn");tolua_usertype(tolua_S,"cc.EaseQuarticActionOut");tolua_usertype(tolua_S,"cc.EaseQuarticActionInOut");tolua_usertype(tolua_S,"cc.EaseQuinticActionIn");tolua_usertype(tolua_S,"cc.EaseQuinticActionOut");tolua_usertype(tolua_S,"cc.EaseQuinticActionInOut");tolua_usertype(tolua_S,"cc.EaseCircleActionIn");tolua_usertype(tolua_S,"cc.EaseCircleActionOut");tolua_usertype(tolua_S,"cc.EaseCircleActionInOut");tolua_usertype(tolua_S,"cc.EaseCubicActionIn");tolua_usertype(tolua_S,"cc.EaseCubicActionOut");tolua_usertype(tolua_S,"cc.EaseCubicActionInOut");tolua_usertype(tolua_S,"cc.EaseIn");tolua_usertype(tolua_S,"cc.EaseOut");tolua_usertype(tolua_S,"cc.EaseInOut");tolua_usertype(tolua_S,"cc.EaseElastic");tolua_usertype(tolua_S,"cc.EaseElasticIn");tolua_usertype(tolua_S,"cc.EaseElasticOut");tolua_usertype(tolua_S,"cc.EaseElasticInOut");tolua_usertype(tolua_S,"cc.EaseBezierAction");tolua_usertype(tolua_S,"cc.ActionInstant");tolua_usertype(tolua_S,"cc.Show");tolua_usertype(tolua_S,"cc.Hide");tolua_usertype(tolua_S,"cc.ToggleVisibility");tolua_usertype(tolua_S,"cc.RemoveSelf");tolua_usertype(tolua_S,"cc.FlipX");tolua_usertype(tolua_S,"cc.FlipY");tolua_usertype(tolua_S,"cc.Place");tolua_usertype(tolua_S,"cc.CallFunc");tolua_usertype(tolua_S,"cc.GridAction");tolua_usertype(tolua_S,"cc.Grid3DAction");tolua_usertype(tolua_S,"cc.TiledGrid3DAction");tolua_usertype(tolua_S,"cc.StopGrid");tolua_usertype(tolua_S,"cc.ReuseGrid");tolua_usertype(tolua_S,"cc.Waves3D");tolua_usertype(tolua_S,"cc.FlipX3D");tolua_usertype(tolua_S,"cc.FlipY3D");tolua_usertype(tolua_S,"cc.Lens3D");tolua_usertype(tolua_S,"cc.Ripple3D");tolua_usertype(tolua_S,"cc.Shaky3D");tolua_usertype(tolua_S,"cc.Liquid");tolua_usertype(tolua_S,"cc.Waves");tolua_usertype(tolua_S,"cc.Twirl");tolua_usertype(tolua_S,"cc.ActionManager");tolua_usertype(tolua_S,"cc.PageTurn3D");tolua_usertype(tolua_S,"cc.ProgressTo");tolua_usertype(tolua_S,"cc.ProgressFromTo");tolua_usertype(tolua_S,"cc.ShakyTiles3D");tolua_usertype(tolua_S,"cc.ShatteredTiles3D");tolua_usertype(tolua_S,"cc.ShuffleTiles");tolua_usertype(tolua_S,"cc.FadeOutTRTiles");tolua_usertype(tolua_S,"cc.FadeOutBLTiles");tolua_usertype(tolua_S,"cc.FadeOutUpTiles");tolua_usertype(tolua_S,"cc.FadeOutDownTiles");tolua_usertype(tolua_S,"cc.TurnOffTiles");tolua_usertype(tolua_S,"cc.WavesTiles3D");tolua_usertype(tolua_S,"cc.JumpTiles3D");tolua_usertype(tolua_S,"cc.SplitRows");tolua_usertype(tolua_S,"cc.SplitCols");tolua_usertype(tolua_S,"cc.ActionTween");tolua_usertype(tolua_S,"cc.AtlasNode");tolua_usertype(tolua_S,"cc.ClippingNode");tolua_usertype(tolua_S,"cc.ClippingRectangleNode");tolua_usertype(tolua_S,"cc.DrawNode");tolua_usertype(tolua_S,"cc.Label");tolua_usertype(tolua_S,"cc.LabelAtlas");tolua_usertype(tolua_S,"cc.Layer");tolua_usertype(tolua_S,"cc.LayerColor");tolua_usertype(tolua_S,"cc.LayerGradient");tolua_usertype(tolua_S,"cc.LayerMultiplex");tolua_usertype(tolua_S,"cc.MenuItem");tolua_usertype(tolua_S,"cc.MenuItemLabel");tolua_usertype(tolua_S,"cc.MenuItemAtlasFont");tolua_usertype(tolua_S,"cc.MenuItemFont");tolua_usertype(tolua_S,"cc.MenuItemSprite");tolua_usertype(tolua_S,"cc.MenuItemImage");tolua_usertype(tolua_S,"cc.MenuItemToggle");tolua_usertype(tolua_S,"cc.Menu");tolua_usertype(tolua_S,"cc.MotionStreak");tolua_usertype(tolua_S,"cc.NodeGrid");tolua_usertype(tolua_S,"cc.ParticleBatchNode");tolua_usertype(tolua_S,"cc.ParticleData");tolua_usertype(tolua_S,"cc.ParticleSystem");tolua_usertype(tolua_S,"cc.ParticleSystemQuad");tolua_usertype(tolua_S,"cc.ParticleFire");tolua_usertype(tolua_S,"cc.ParticleFireworks");tolua_usertype(tolua_S,"cc.ParticleSun");tolua_usertype(tolua_S,"cc.ParticleGalaxy");tolua_usertype(tolua_S,"cc.ParticleFlower");tolua_usertype(tolua_S,"cc.ParticleMeteor");tolua_usertype(tolua_S,"cc.ParticleSpiral");tolua_usertype(tolua_S,"cc.ParticleExplosion");tolua_usertype(tolua_S,"cc.ParticleSmoke");tolua_usertype(tolua_S,"cc.ParticleSnow");tolua_usertype(tolua_S,"cc.ParticleRain");tolua_usertype(tolua_S,"cc.ProgressTimer");tolua_usertype(tolua_S,"cc.ProtectedNode");tolua_usertype(tolua_S,"cc.Sprite");tolua_usertype(tolua_S,"cc.RenderTexture");tolua_usertype(tolua_S,"cc.TransitionEaseScene");tolua_usertype(tolua_S,"cc.TransitionScene");tolua_usertype(tolua_S,"cc.TransitionSceneOriented");tolua_usertype(tolua_S,"cc.TransitionRotoZoom");tolua_usertype(tolua_S,"cc.TransitionJumpZoom");tolua_usertype(tolua_S,"cc.TransitionMoveInL");tolua_usertype(tolua_S,"cc.TransitionMoveInR");tolua_usertype(tolua_S,"cc.TransitionMoveInT");tolua_usertype(tolua_S,"cc.TransitionMoveInB");tolua_usertype(tolua_S,"cc.TransitionSlideInL");tolua_usertype(tolua_S,"cc.TransitionSlideInR");tolua_usertype(tolua_S,"cc.TransitionSlideInB");tolua_usertype(tolua_S,"cc.TransitionSlideInT");tolua_usertype(tolua_S,"cc.TransitionShrinkGrow");tolua_usertype(tolua_S,"cc.TransitionFlipX");tolua_usertype(tolua_S,"cc.TransitionFlipY");tolua_usertype(tolua_S,"cc.TransitionFlipAngular");tolua_usertype(tolua_S,"cc.TransitionZoomFlipX");tolua_usertype(tolua_S,"cc.TransitionZoomFlipY");tolua_usertype(tolua_S,"cc.TransitionZoomFlipAngular");tolua_usertype(tolua_S,"cc.TransitionFade");tolua_usertype(tolua_S,"cc.TransitionCrossFade");tolua_usertype(tolua_S,"cc.TransitionTurnOffTiles");tolua_usertype(tolua_S,"cc.TransitionSplitCols");tolua_usertype(tolua_S,"cc.TransitionSplitRows");tolua_usertype(tolua_S,"cc.TransitionFadeTR");tolua_usertype(tolua_S,"cc.TransitionFadeBL");tolua_usertype(tolua_S,"cc.TransitionFadeUp");tolua_usertype(tolua_S,"cc.TransitionFadeDown");tolua_usertype(tolua_S,"cc.TransitionPageTurn");tolua_usertype(tolua_S,"cc.TransitionProgress");tolua_usertype(tolua_S,"cc.TransitionProgressRadialCCW");tolua_usertype(tolua_S,"cc.TransitionProgressRadialCW");tolua_usertype(tolua_S,"cc.TransitionProgressHorizontal");tolua_usertype(tolua_S,"cc.TransitionProgressVertical");tolua_usertype(tolua_S,"cc.TransitionProgressInOut");tolua_usertype(tolua_S,"cc.TransitionProgressOutIn");tolua_usertype(tolua_S,"cc.Camera");tolua_usertype(tolua_S,"cc.CameraBackgroundBrush");tolua_usertype(tolua_S,"cc.CameraBackgroundDepthBrush");tolua_usertype(tolua_S,"cc.CameraBackgroundColorBrush");tolua_usertype(tolua_S,"cc.CameraBackgroundSkyBoxBrush");tolua_usertype(tolua_S,"cc.GridBase");tolua_usertype(tolua_S,"cc.Grid3D");tolua_usertype(tolua_S,"cc.TiledGrid3D");tolua_usertype(tolua_S,"cc.BaseLight");tolua_usertype(tolua_S,"cc.DirectionLight");tolua_usertype(tolua_S,"cc.PointLight");tolua_usertype(tolua_S,"cc.SpotLight");tolua_usertype(tolua_S,"cc.AmbientLight");tolua_usertype(tolua_S,"cc.GLProgram");tolua_usertype(tolua_S,"cc.GLProgramCache");tolua_usertype(tolua_S,"cc.RenderState");tolua_usertype(tolua_S,"cc.Pass");tolua_usertype(tolua_S,"cc.Technique");tolua_usertype(tolua_S,"cc.Material");tolua_usertype(tolua_S,"cc.TextureCache");tolua_usertype(tolua_S,"cc.Device");tolua_usertype(tolua_S,"cc.Application");tolua_usertype(tolua_S,"cc.GLViewImpl");tolua_usertype(tolua_S,"cc.AnimationCache");tolua_usertype(tolua_S,"cc.SpriteBatchNode");tolua_usertype(tolua_S,"cc.SpriteFrameCache");tolua_usertype(tolua_S,"cc.ParallaxNode");tolua_usertype(tolua_S,"cc.TMXObjectGroup");tolua_usertype(tolua_S,"cc.TMXLayerInfo");tolua_usertype(tolua_S,"cc.TMXTilesetInfo");tolua_usertype(tolua_S,"cc.TMXMapInfo");tolua_usertype(tolua_S,"cc.TMXLayer");tolua_usertype(tolua_S,"cc.TMXTiledMap");tolua_usertype(tolua_S,"cc.TileMapAtlas");tolua_usertype(tolua_S,"cc.MotionStreak3D");tolua_usertype(tolua_S,"cc.ComponentLua");tolua_usertype(tolua_S,"cc.CCBAnimationManager");tolua_usertype(tolua_S,"cc.CCBReader");tolua_usertype(tolua_S,"cc.SimpleAudioEngine");tolua_usertype(tolua_S,"cc.CSLoader");tolua_usertype(tolua_S,"ccexp.TMXLayer");tolua_usertype(tolua_S,"ccexp.TMXTiledMap");tolua_usertype(tolua_S,"ccexp.VideoPlayer");tolua_usertype(tolua_S,"ccexp.WebView");tolua_usertype(tolua_S,"cc.Control");tolua_usertype(tolua_S,"cc.ControlButton");tolua_usertype(tolua_S,"cc.ControlHuePicker");tolua_usertype(tolua_S,"cc.ControlSaturationBrightnessPicker");tolua_usertype(tolua_S,"cc.ControlColourPicker");tolua_usertype(tolua_S,"cc.ControlPotentiometer");tolua_usertype(tolua_S,"cc.ControlSlider");tolua_usertype(tolua_S,"cc.ControlStepper");tolua_usertype(tolua_S,"cc.ControlSwitch");tolua_usertype(tolua_S,"cc.ScrollView");tolua_usertype(tolua_S,"cc.TableViewCell");tolua_usertype(tolua_S,"cc.TableView");tolua_usertype(tolua_S,"cc.AssetsManager");tolua_usertype(tolua_S,"cc.EventAssetsManagerEx");tolua_usertype(tolua_S,"cc.Manifest");tolua_usertype(tolua_S,"cc.AssetsManagerEx");tolua_usertype(tolua_S,"cc.EventListenerAssetsManagerEx");tolua_usertype(tolua_S,"cc.ParticleSystem3D");tolua_usertype(tolua_S,"cc.PUParticleSystem3D");tolua_usertype(tolua_S,"cc.NavMeshAgent");tolua_usertype(tolua_S,"cc.NavMeshObstacle");tolua_usertype(tolua_S,"cc.NavMesh");tolua_usertype(tolua_S,"cc.PhysicsShape");tolua_usertype(tolua_S,"cc.PhysicsShapeCircle");tolua_usertype(tolua_S,"cc.PhysicsShapePolygon");tolua_usertype(tolua_S,"cc.PhysicsShapeBox");tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeSegment");tolua_usertype(tolua_S,"cc.PhysicsShapeEdgePolygon");tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeBox");tolua_usertype(tolua_S,"cc.PhysicsShapeEdgeChain");tolua_usertype(tolua_S,"cc.PhysicsBody");tolua_usertype(tolua_S,"cc.PhysicsContact");tolua_usertype(tolua_S,"cc.PhysicsContactPreSolve");tolua_usertype(tolua_S,"cc.PhysicsContactPostSolve");tolua_usertype(tolua_S,"cc.EventListenerPhysicsContact");tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithBodies");tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithShapes");tolua_usertype(tolua_S,"cc.EventListenerPhysicsContactWithGroup");tolua_usertype(tolua_S,"cc.PhysicsJoint");tolua_usertype(tolua_S,"cc.PhysicsJointFixed");tolua_usertype(tolua_S,"cc.PhysicsJointLimit");tolua_usertype(tolua_S,"cc.PhysicsJointPin");tolua_usertype(tolua_S,"cc.PhysicsJointDistance");tolua_usertype(tolua_S,"cc.PhysicsJointSpring");tolua_usertype(tolua_S,"cc.PhysicsJointGroove");tolua_usertype(tolua_S,"cc.PhysicsJointRotarySpring");tolua_usertype(tolua_S,"cc.PhysicsJointRotaryLimit");tolua_usertype(tolua_S,"cc.PhysicsJointRatchet");tolua_usertype(tolua_S,"cc.PhysicsJointGear");tolua_usertype(tolua_S,"cc.PhysicsJointMotor");tolua_usertype(tolua_S,"cc.PhysicsWorld");tolua_usertype(tolua_S,"cc.Physics3DShape");tolua_usertype(tolua_S,"cc.Physics3DObject");tolua_usertype(tolua_S,"cc.Physics3DRigidBody");tolua_usertype(tolua_S,"cc.Physics3DComponent");tolua_usertype(tolua_S,"cc.PhysicsSprite3D");tolua_usertype(tolua_S,"cc.Physics3DWorld");tolua_usertype(tolua_S,"cc.Physics3DConstraint");tolua_usertype(tolua_S,"cc.Physics3DPointToPointConstraint");tolua_usertype(tolua_S,"cc.Physics3DHingeConstraint");tolua_usertype(tolua_S,"cc.Physics3DSliderConstraint");tolua_usertype(tolua_S,"cc.Physics3DConeTwistConstraint");tolua_usertype(tolua_S,"cc.Physics3D6DofConstraint");tolua_usertype(tolua_S,"sp.SkeletonRenderer");tolua_usertype(tolua_S,"sp.SkeletonAnimation");tolua_usertype(tolua_S,"ccs.ActionFrame");tolua_usertype(tolua_S,"ccs.ActionMoveFrame");tolua_usertype(tolua_S,"ccs.ActionScaleFrame");tolua_usertype(tolua_S,"ccs.ActionRotationFrame");tolua_usertype(tolua_S,"ccs.ActionFadeFrame");tolua_usertype(tolua_S,"ccs.ActionTintFrame");tolua_usertype(tolua_S,"ccs.ActionObject");tolua_usertype(tolua_S,"ccs.ActionManagerEx");tolua_usertype(tolua_S,"ccs.BaseData");tolua_usertype(tolua_S,"ccs.DisplayData");tolua_usertype(tolua_S,"ccs.SpriteDisplayData");tolua_usertype(tolua_S,"ccs.ArmatureDisplayData");tolua_usertype(tolua_S,"ccs.ParticleDisplayData");tolua_usertype(tolua_S,"ccs.BoneData");tolua_usertype(tolua_S,"ccs.ArmatureData");tolua_usertype(tolua_S,"ccs.FrameData");tolua_usertype(tolua_S,"ccs.MovementBoneData");tolua_usertype(tolua_S,"ccs.MovementData");tolua_usertype(tolua_S,"ccs.AnimationData");tolua_usertype(tolua_S,"ccs.ContourData");tolua_usertype(tolua_S,"ccs.TextureData");tolua_usertype(tolua_S,"ccs.Tween");tolua_usertype(tolua_S,"ccs.DisplayManager");tolua_usertype(tolua_S,"ccs.Bone");tolua_usertype(tolua_S,"ccs.BatchNode");tolua_usertype(tolua_S,"ccs.ArmatureAnimation");tolua_usertype(tolua_S,"ccs.ArmatureDataManager");tolua_usertype(tolua_S,"ccs.Armature");tolua_usertype(tolua_S,"ccs.Skin");tolua_usertype(tolua_S,"ccs.ComAttribute");tolua_usertype(tolua_S,"ccs.ComAudio");tolua_usertype(tolua_S,"ccs.ComController");tolua_usertype(tolua_S,"ccs.ComRender");tolua_usertype(tolua_S,"ccs.GUIReader");tolua_usertype(tolua_S,"ccs.SceneReader");tolua_usertype(tolua_S,"ccs.ActionTimelineCache");tolua_usertype(tolua_S,"ccs.Frame");tolua_usertype(tolua_S,"ccs.VisibleFrame");tolua_usertype(tolua_S,"ccs.TextureFrame");tolua_usertype(tolua_S,"ccs.RotationFrame");tolua_usertype(tolua_S,"ccs.SkewFrame");tolua_usertype(tolua_S,"ccs.RotationSkewFrame");tolua_usertype(tolua_S,"ccs.PositionFrame");tolua_usertype(tolua_S,"ccs.ScaleFrame");tolua_usertype(tolua_S,"ccs.AnchorPointFrame");tolua_usertype(tolua_S,"ccs.InnerActionFrame");tolua_usertype(tolua_S,"ccs.ColorFrame");tolua_usertype(tolua_S,"ccs.AlphaFrame");tolua_usertype(tolua_S,"ccs.EventFrame");tolua_usertype(tolua_S,"ccs.ZOrderFrame");tolua_usertype(tolua_S,"ccs.BlendFuncFrame");tolua_usertype(tolua_S,"ccs.PlayableFrame");tolua_usertype(tolua_S,"ccs.Timeline");tolua_usertype(tolua_S,"ccs.ActionTimelineData");tolua_usertype(tolua_S,"ccs.ActionTimeline");tolua_usertype(tolua_S,"ccs.ActionTimelineNode");tolua_usertype(tolua_S,"ccs.BoneNode");tolua_usertype(tolua_S,"ccs.SkeletonNode");tolua_usertype(tolua_S,"ccs.ComExtensionData");tolua_usertype(tolua_S,"ccui.LayoutParameter");tolua_usertype(tolua_S,"ccui.LinearLayoutParameter");tolua_usertype(tolua_S,"ccui.RelativeLayoutParameter");tolua_usertype(tolua_S,"ccui.Widget");tolua_usertype(tolua_S,"ccui.Layout");tolua_usertype(tolua_S,"ccui.Button");tolua_usertype(tolua_S,"ccui.AbstractCheckButton");tolua_usertype(tolua_S,"ccui.CheckBox");tolua_usertype(tolua_S,"ccui.RadioButton");tolua_usertype(tolua_S,"ccui.RadioButtonGroup");tolua_usertype(tolua_S,"ccui.ImageView");tolua_usertype(tolua_S,"ccui.Text");tolua_usertype(tolua_S,"ccui.TextAtlas");tolua_usertype(tolua_S,"ccui.LoadingBar");tolua_usertype(tolua_S,"ccui.ScrollView");tolua_usertype(tolua_S,"ccui.ListView");tolua_usertype(tolua_S,"ccui.Slider");tolua_usertype(tolua_S,"ccui.TextField");tolua_usertype(tolua_S,"ccui.TextBMFont");tolua_usertype(tolua_S,"ccui.PageView");tolua_usertype(tolua_S,"ccui.Helper");tolua_usertype(tolua_S,"ccui.RichElement");tolua_usertype(tolua_S,"ccui.RichElementText");tolua_usertype(tolua_S,"ccui.RichElementImage");tolua_usertype(tolua_S,"ccui.RichElementCustomNode");tolua_usertype(tolua_S,"ccui.RichElementNewLine");tolua_usertype(tolua_S,"ccui.RichText");tolua_usertype(tolua_S,"ccui.HBox");tolua_usertype(tolua_S,"ccui.VBox");tolua_usertype(tolua_S,"ccui.RelativeBox");tolua_usertype(tolua_S,"ccui.Scale9Sprite");tolua_usertype(tolua_S,"ccui.EditBox");tolua_usertype(tolua_S,"ccui.LayoutComponent");tolua_usertype(tolua_S,"ccui.TabHeader");tolua_usertype(tolua_S,"ccui.TabControl");tolua_usertype(L,"cc.AABB");tolua_usertype(L,"cc.OBB");tolua_usertype(L,"cc.Ray");tolua_usertype(tolua_S,"CCPoint");tolua_usertype(tolua_S,"CCRect");tolua_usertype(tolua_S,"CCSize");tolua_usertype(tolua_S, "CCArray");tolua_usertype(tolua_S, "CCString");tolua_usertype(tolua_S,"cc.LabelBMFont");tolua_usertype(tolua_S,"cc.LabelTTF");tolua_usertype(tolua_S, "cc.GLNode");tolua_usertype(tolua_S, "ScheduleHandlerDelegate");tolua_usertype(tolua_S, "ScriptHandlerMgr");tolua_usertype(tolua_S,"cc.CCBProxy");tolua_usertype(L,"ccs.CustomGUIReader");tolua_usertype(tolua_S, "cc.WebSocket");tolua_usertype(L, "cc.XMLHttpRequest");tolua_usertype (lua_State* L, const char* type)tolua_usertype (lua_State* L, const char* type);


写了一个工具将所有的cocos2d中封装成lua的API接口裂了出来 供大家参考