cocos2d-x  2.2.3
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
cocos2d::extension Namespace Reference

Classes

class  CCBAnimationManagerDelegate
 
class  CCBAnimationManager
 
class  CCBSetSpriteFrame
 
class  CCBSoundEffect
 
class  CCBRotateTo
 
class  CCBRotateXTo
 
class  CCBRotateYTo
 
class  CCBEaseInstant
 
class  CCBFileLoader
 
class  CCBKeyframe
 
class  CCBMemberVariableAssigner
 
class  CCBFile
 
class  CCBReader
 @ More...
 
class  CCBSelectorResolver
 
class  CCBScriptOwnerProtocol
 
class  CCBSequence
 
class  CCBSequenceProperty
 
class  ccColor3BWapper
 
class  CCBValue
 
class  CCControlButtonLoader
 
class  CCControlLoader
 
class  CCData
 
class  CCLabelBMFontLoader
 
class  CCLabelTTFLoader
 
class  CCLayerColorLoader
 
class  CCLayerGradientLoader
 
class  CCLayerLoader
 
class  CCMenuItemImageLoader
 
class  CCMenuItemLoader
 
class  CCMenuLoader
 
struct  BlockData
 
struct  BlockCCControlData
 
class  CCNodeLoader
 
class  CCNodeLoaderLibrary
 
class  CCNodeLoaderListener
 
class  CCParticleSystemQuadLoader
 
class  CCScale9SpriteLoader
 
class  CCScrollViewLoader
 
class  CCSpriteLoader
 
class  CCEaseBezierAction
 Ease Bezier. More...
 
class  CCEaseQuadraticActionIn
 Ease Quadratic In. More...
 
class  CCEaseQuadraticActionOut
 Ease Quadratic Out. More...
 
class  CCEaseQuadraticActionInOut
 Ease Quadratic InOut. More...
 
class  CCEaseQuarticActionIn
 Ease Quartic In. More...
 
class  CCEaseQuarticActionOut
 Ease Quartic Out. More...
 
class  CCEaseQuarticActionInOut
 Ease Quartic InOut. More...
 
class  CCEaseQuinticActionIn
 Ease Quintic In. More...
 
class  CCEaseQuinticActionOut
 Ease Quintic Out. More...
 
class  CCEaseQuinticActionInOut
 Ease Quintic InOut. More...
 
class  CCEaseCircleActionIn
 Ease Circle In. More...
 
class  CCEaseCircleActionOut
 Ease Circle Out. More...
 
class  CCEaseCircleActionInOut
 Ease Circle InOut. More...
 
class  CCEaseCubicActionIn
 Ease Cubic In. More...
 
class  CCEaseCubicActionOut
 Ease Cubic Out. More...
 
class  CCEaseCubicActionInOut
 Ease Cubic InOut. More...
 
class  ActionFrame
 
class  ActionMoveFrame
 
class  ActionScaleFrame
 
class  ActionRotationFrame
 
class  ActionFadeFrame
 
class  ActionTintFrame
 
class  ActionFrameEasing
 
class  ActionManager
 
class  ActionNode
 
class  ActionObject
 
struct  CCFrameEvent
 
struct  CCMovementEvent
 
class  CCArmatureAnimation
 
class  CCProcessBase
 
class  CCTween
 
class  CCArmature
 
class  CCBone
 
class  CCBaseData
 The base node include a lot of attributes. More...
 
class  CCDisplayData
 
class  CCSpriteDisplayData
 
class  CCArmatureDisplayData
 
class  CCParticleDisplayData
 
class  CCBoneData
 
class  CCArmatureData
 
class  CCFrameData
 
class  CCMovementBoneData
 
class  CCMovementData
 
class  CCAnimationData
 
struct  CCContourVertex2
 
class  CCContourData
 
class  CCTextureData
 
class  CCBatchNode
 
class  CCDecorativeDisplay
 
class  CCDisplayFactory
 
class  CCDisplayManager
 ! CCDisplayManager manages CCBone's display More...
 
class  CCSkin
 
class  CCColliderFilter
 
class  ColliderBody
 
class  CCColliderDetector
 
struct  CCRelativeData
 
class  CCArmatureDataManager
 format and manage armature configuration and armature animation More...
 
class  CCDataReaderHelper
 
class  CCSpriteFrameCacheHelper
 
class  CCTransformHelp
 
class  CCTweenFunction
 
class  CCComAttribute
 
class  CCComAudio
 
class  CCComController
 
class  CCComRender
 
class  CCInputDelegate
 
class  DictionaryHelper
 
class  GUIReader
 
class  WidgetPropertiesReader
 
class  WidgetPropertiesReader0250
 
class  WidgetPropertiesReader0300
 
class  SceneReader
 
class  ButtonReader
 
class  CheckBoxReader
 
class  ImageViewReader
 
class  LabelAtlasReader
 
class  LabelBMFontReader
 
class  LabelReader
 
class  LayoutReader
 
class  ListViewReader
 
class  LoadingBarReader
 
class  PageViewReader
 
class  ScrollViewReader
 
class  SliderReader
 
class  TextFieldReader
 
class  WidgetReader
 
class  WidgetReaderProtocol
 
class  ObjectFactory
 
class  ArmatureMovementDispatcher
 
class  TriggerMng
 
class  BaseTriggerCondition
 
class  BaseTriggerAction
 
class  TriggerObj
 
class  CCControl
 
class  CCControlButton
 for Cocos2D. More...
 
class  CCControlColourPicker
 
class  CCControlHuePicker
 
class  CCControlPotentiometer
 for Cocos2D. More...
 
class  CCControlSaturationBrightnessPicker
 
class  CCControlSlider
 
class  CCControlStepper
 
class  CCControlSwitch
 for Cocos2D. More...
 
struct  RGBA
 
struct  HSV
 
class  CCColor3bObject
 helper class to store ccColor3B's in mutable arrays More...
 
class  CCControlUtils
 
class  CCInvocation
 
class  CCScale9Sprite
 A 9-slice sprite for cocos2d. More...
 
class  CCEditBoxDelegate
 
class  CCEditBox
 \ More...
 
class  CCEditBoxImpl
 
class  CCEditBoxImplAndroid
 
class  CCEditBoxImplTizen
 
class  CCEditBoxImplWin
 
class  CCEditBoxImplWp8
 
class  CCScrollViewDelegate
 
class  CCScrollView
 
class  CCSortableObject
 
class  CCArrayForObjectSorting
 
class  CCTableViewDelegate
 Sole purpose of this delegate is to single touch event in this version. More...
 
class  CCTableViewDataSource
 
class  CCTableView
 
class  CCTableViewCell
 Abstract class for SWTableView cell node. More...
 
class  CCHttpClient
 Singleton that handles asynchrounous http requests Once the request completed, a callback will issued in main thread when it provided during make request. More...
 
class  CCHttpRequest
 defines the object which users must packed for CCHttpClient::send(HttpRequest*) method. More...
 
class  CCHttpResponse
 defines the object which users will receive at onHttpCompleted(sender, HttpResponse) callback Please refer to samples/TestCpp/Classes/ExtensionTest/NetworkTest/HttpClientTest.cpp as a sample More...
 
class  WebSocket
 
class  CCPhysicsSprite
 A CCSprite subclass that is bound to a physics body. More...
 
struct  Animation
 
struct  Timeline
 
struct  CurveTimeline
 
struct  ColorTimeline
 
struct  AttachmentTimeline
 
struct  AnimationState
 
struct  AnimationStateData
 
struct  AtlasPage
 
struct  AtlasRegion
 
struct  Atlas
 
struct  AtlasAttachmentLoader
 
struct  Attachment
 
struct  AttachmentLoader
 
struct  Bone
 
struct  BoneData
 
class  CCSkeleton
 Draws a skeleton. More...
 
class  CCSkeletonAnimation
 Draws an animated skeleton, providing a simple API for applying one or more animations and queuing animations to be played later. More...
 
struct  RegionAttachment
 
struct  Skeleton
 
struct  SkeletonData
 
struct  SkeletonJson
 
struct  Skin
 
struct  SlotData
 

Typedefs

typedef std::map< std::string,
CCNodeLoader * > 
CCNodeLoaderMap
typedef std::pair< std::string,
CCNodeLoader * > 
CCNodeLoaderMapEntry
typedef void(CCObject::* SEL_MovementEventCallFunc )(CCArmature *, MovementEventType, const char *)
typedef void(CCObject::* SEL_FrameEventCallFunc )(CCBone *, const char *, int, int)
typedef struct _DataInfo DataInfo
typedef void(CCObject::* SEL_ParseEvent )(const std::string &, CCObject *, const rapidjson::Value &)
typedef void(CCObject::* SEL_CallFuncOD )(CCObject *, void *)
typedef unsigned int CCControlEvent
typedef unsigned int CCControlState
typedef void(CCObject::* SEL_CCControlHandler )(CCObject *, CCControlEvent)
typedef void(CCObject::* SEL_HttpResponse )(CCHttpClient *client, CCHttpResponse *response)
typedef struct Timeline Timeline
typedef struct BaseTimeline TranslateTimeline
typedef struct BaseTimeline ScaleTimeline
typedef struct AtlasPage AtlasPage
typedef struct AtlasRegion AtlasRegion
typedef struct Attachment Attachment
typedef struct AttachmentLoader AttachmentLoader
typedef struct Bone Bone
typedef struct BoneData BoneData
typedef struct RegionAttachment RegionAttachment
typedef struct Skeleton Skeleton

Enumerations

enum  {
  kIntValue, kFloatValue, kBoolValue, kUnsignedCharValue,
  kStringValue, kArrayValue
}
 
enum  FrameType {
  kKeyframeMove = 0, kKeyframeScale, kKeyframeRotate, kKeyframeTint,
  kKeyframeFade, kKeyframeMax
}
 
enum  FrameEaseType {
  FrameEase_Custom = -1, FrameEase_Linear = 0, FrameEase_Sine_EaseIn, FrameEase_Sine_EaseOut,
  FrameEase_Sine_EaseInOut, FrameEase_Quad_EaseIn, FrameEase_Quad_EaseOut, FrameEase_Quad_EaseInOut,
  FrameEase_Cubic_EaseIn, FrameEase_Cubic_EaseOut, FrameEase_Cubic_EaseInOut, FrameEase_Quart_EaseIn,
  FrameEase_Quart_EaseOut, FrameEase_Quart_EaseInOut, FrameEase_Quint_EaseIn, FrameEase_Quint_EaseOut,
  FrameEase_Quint_EaseInOut, FrameEase_Expo_EaseIn, FrameEase_Expo_EaseOut, FrameEase_Expo_EaseInOut,
  FrameEase_Circ_EaseIn, FrameEase_Circ_EaseOut, FrameEase_Circ_EaseInOut, FrameEase_Elastic_EaseIn,
  FrameEase_Elastic_EaseOut, FrameEase_Elastic_EaseInOut, FrameEase_Back_EaseIn, FrameEase_Back_EaseOut,
  FrameEase_Back_EaseInOut, FrameEase_Bounce_EaseIn, FrameEase_Bounce_EaseOut, FrameEase_Bounce_EaseInOut,
  FrameEase_TWEEN_EASING_MAX = 10000
}
 
enum  FrameEasingType {
  kCCBKeyframeEasingInstant, kCCBKeyframeEasingLinear, kCCBKeyframeEasingCubicIn, kCCBKeyframeEasingCubicOut,
  kCCBKeyframeEasingCubicInOut, kCCBKeyframeEasingElasticIn, kCCBKeyframeEasingElasticOut, kCCBKeyframeEasingElasticInOut,
  kCCBKeyframeEasingBounceIn, kCCBKeyframeEasingBounceOut, kCCBKeyframeEasingBounceInOut, kCCBKeyframeEasingBackIn,
  kCCBKeyframeEasingBackOut, kCCBKeyframeEasingBackInOut
}
 
enum  MovementEventType { START, COMPLETE, LOOP_COMPLETE }
 
enum  AnimationType {
  SINGLE_FRAME = -4, ANIMATION_NO_LOOP, ANIMATION_TO_LOOP_FRONT, ANIMATION_TO_LOOP_BACK,
  ANIMATION_LOOP_FRONT, ANIMATION_LOOP_BACK, ANIMATION_MAX
}
 
enum  DisplayType { CS_DISPLAY_SPRITE, CS_DISPLAY_ARMATURE, CS_DISPLAY_PARTICLE, CS_DISPLAY_MAX }
 
enum  CCBlendType {
  BLEND_NORMAL, BLEND_LAYER, BLEND_DARKEN, BLEND_MULTIPLY,
  BLEND_LIGHTEN, BLEND_SCREEN, BLEND_OVERLAY, BLEND_HARD_LIGHT,
  BLEND_ADD, BLEND_SUBSTRACT, BLEND_DIFFERENCE, BLEND_INVERT,
  BLEND_ALPHA, BLEND_ERASE
}
 
enum  CCTweenType {
  CUSTOM_EASING = -1, Linear, Sine_EaseIn, Sine_EaseOut,
  Sine_EaseInOut, Quad_EaseIn, Quad_EaseOut, Quad_EaseInOut,
  Cubic_EaseIn, Cubic_EaseOut, Cubic_EaseInOut, Quart_EaseIn,
  Quart_EaseOut, Quart_EaseInOut, Quint_EaseIn, Quint_EaseOut,
  Quint_EaseInOut, Expo_EaseIn, Expo_EaseOut, Expo_EaseInOut,
  Circ_EaseIn, Circ_EaseOut, Circ_EaseInOut, Elastic_EaseIn,
  Elastic_EaseOut, Elastic_EaseInOut, Back_EaseIn, Back_EaseOut,
  Back_EaseInOut, Bounce_EaseIn, Bounce_EaseOut, Bounce_EaseInOut,
  TWEEN_EASING_MAX = 10000
}
 
enum  {
  CCControlEventTouchDown = 1 << 0, CCControlEventTouchDragInside = 1 << 1, CCControlEventTouchDragOutside = 1 << 2, CCControlEventTouchDragEnter = 1 << 3,
  CCControlEventTouchDragExit = 1 << 4, CCControlEventTouchUpInside = 1 << 5, CCControlEventTouchUpOutside = 1 << 6, CCControlEventTouchCancel = 1 << 7,
  CCControlEventValueChanged = 1 << 8
}
 Kinds of possible events for the control objects. More...
 
enum  { CCControlStateNormal = 1 << 0, CCControlStateHighlighted = 1 << 1, CCControlStateDisabled = 1 << 2, CCControlStateSelected = 1 << 3 }
 The possible state for a control. More...
 
enum  CCControlStepperPart { kCCControlStepperPartMinus, kCCControlStepperPartPlus, kCCControlStepperPartNone }
 
enum  KeyboardReturnType {
  kKeyboardReturnTypeDefault = 0, kKeyboardReturnTypeDone, kKeyboardReturnTypeSend, kKeyboardReturnTypeSearch,
  kKeyboardReturnTypeGo
}
 
enum  EditBoxInputMode {
  kEditBoxInputModeAny = 0, kEditBoxInputModeEmailAddr, kEditBoxInputModeNumeric, kEditBoxInputModePhoneNumber,
  kEditBoxInputModeUrl, kEditBoxInputModeDecimal, kEditBoxInputModeSingleLine
}
 The EditBoxInputMode defines the type of text that the user is allowed to enter. More...
 
enum  EditBoxInputFlag {
  kEditBoxInputFlagPassword = 0, kEditBoxInputFlagSensitive, kEditBoxInputFlagInitialCapsWord, kEditBoxInputFlagInitialCapsSentence,
  kEditBoxInputFlagInitialCapsAllCharacters
}
 The EditBoxInputFlag defines how the input text is displayed/formatted. More...
 
enum  CCScrollViewDirection { kCCScrollViewDirectionNone = -1, kCCScrollViewDirectionHorizontal = 0, kCCScrollViewDirectionVertical, kCCScrollViewDirectionBoth }
 
enum  CCTableViewVerticalFillOrder { kCCTableViewFillTopDown, kCCTableViewFillBottomUp }
 
enum  AtlasFormat {
  ATLAS_ALPHA, ATLAS_INTENSITY, ATLAS_LUMINANCE_ALPHA, ATLAS_RGB565,
  ATLAS_RGBA4444, ATLAS_RGB888, ATLAS_RGBA8888
}
 
enum  AtlasFilter {
  ATLAS_NEAREST, ATLAS_LINEAR, ATLAS_MIPMAP, ATLAS_MIPMAP_NEAREST_NEAREST,
  ATLAS_MIPMAP_LINEAR_NEAREST, ATLAS_MIPMAP_NEAREST_LINEAR, ATLAS_MIPMAP_LINEAR_LINEAR
}
 
enum  AtlasWrap { ATLAS_MIRROREDREPEAT, ATLAS_CLAMPTOEDGE, ATLAS_REPEAT }
 
enum  AttachmentType { ATTACHMENT_REGION, ATTACHMENT_REGION_SEQUENCE }
 
enum  VertexIndex {
  VERTEX_X1 = 0, VERTEX_Y1, VERTEX_X2, VERTEX_Y2,
  VERTEX_X3, VERTEX_Y3, VERTEX_X4, VERTEX_Y4
}
 

Functions

CCPoint  (const CCPoint &pt, int nType, const CCSize &containerSize, const char *pPropName)
void  (CCNode *pNode, float fScaleX, float fScaleY, int nType, const char *pPropName)
const char *  ()
bool  (CCSprite *sprite, CCPoint point)
 hit test function More...
 
bool  (CCSprite *sprite, CCPoint point, CCPoint &outPoint)
CCPoint  (float t, CCPoint &point1, CCPoint &point2, CCPoint &point3)
 motion curve function More...
 
CCPoint  (float t, CCPoint &point1, CCPoint &point2, CCPoint &point3, CCPoint &point4)
CCPoint  (float t, CCPoint &center, float radius, float fromRadian, float radianDif)
void  (unsigned int event)
CCEditBoxImpl (CCEditBox *pEditBox)
Animation (const char *name, int timelineCount)
void  (Animation *self)
void  (const Animation *self, struct Skeleton *skeleton, float time, intloop)
void  (const Animation *self, struct Skeleton *skeleton, float time, intloop, float alpha)
void  (Timeline *self)
void  (const Timeline *self, struct Skeleton *skeleton, float time, float alpha)
void  (CurveTimeline *self, int frameIndex)
void  (CurveTimeline *self, int frameIndex)
void  (CurveTimeline *self, int frameIndex, float cx1, float cy1, float cx2, float cy2)
float  (const CurveTimeline *self, int frameIndex, float percent)
RotateTimeline (int frameCount)
void  (RotateTimeline *self, int frameIndex, float time, float angle)
TranslateTimeline (int frameCount)
void  (TranslateTimeline *self, int frameIndex, float time, float x, float y)
ScaleTimeline (int frameCount)
void  (ScaleTimeline *self, int frameIndex, float time, float x, float y)
ColorTimeline (int frameCount)
void  (ColorTimeline *self, int frameIndex, float time, float r, float g, float b, float a)
AttachmentTimeline (int frameCount)
void  (AttachmentTimeline *self, int frameIndex, float time, const char *attachmentName)
AnimationState (AnimationStateData *data)
void  (AnimationState *self)
void  (AnimationState *self, float delta)
void  (AnimationState *self, struct Skeleton *skeleton)
void  (AnimationState *self, const char *animationName, intloop)
void  (AnimationState *self, Animation *animation, intloop)
void  (AnimationState *self, const char *animationName, intloop, float delay)
void  (AnimationState *self, Animation *animation, intloop, float delay)
void  (AnimationState *self)
int  (AnimationState *self)
AnimationStateData (SkeletonData *skeletonData)
void  (AnimationStateData *self)
void  (AnimationStateData *self, const char *fromName, const char *toName, float duration)
void  (AnimationStateData *self, Animation *from, Animation *to, float duration)
float  (AnimationStateData *self, Animation *from, Animation *to)
AtlasPage (const char *name)
void  (AtlasPage *self)
AtlasRegion ()
void  (AtlasRegion *self)
Atlas (const char *data, int length, const char *dir)
Atlas (const char *path)
void  (Atlas *atlas)
AtlasRegion (const Atlas *self, const char *name)
AtlasAttachmentLoader (Atlas *atlas)
void  (Attachment *self)
void  (AttachmentLoader *self)
Attachment (AttachmentLoader *self, Skin *skin, AttachmentType type, const char *name)
void  (intyDown)
Bone (BoneData *data, Bone *parent)
void  (Bone *self)
void  (Bone *self)
void  (Bone *self, intflipX, intflipY)
BoneData (const char *name, BoneData *parent)
void  (BoneData *self)
void  (AtlasPage *self, const char *path)
void  (AtlasPage *self)
char *  (const char *path, int *length)
void *  (size_t size)
void *  (size_t num, size_t size)
void  (void *ptr)
void  (void *(*_malloc)(size_t size))
void  (void(*_free)(void *ptr))
char *  (const char *path, int *length)
void  (AttachmentLoader *self, void(*dispose)(AttachmentLoader *self), Attachment *(*newAttachment)(AttachmentLoader *self, Skin *skin, AttachmentType type, const char *name))
void  (AttachmentLoader *self)
void  (AttachmentLoader *self, const char *error1, const char *error2)
void  (AttachmentLoader *self, AttachmentType type)
void  (Attachment *self, const char *name, AttachmentType type, void(*dispose)(Attachment *self))
void  (Attachment *self)
void  (Timeline *self, void(*dispose)(Timeline *self), void(*apply)(const Timeline *self, Skeleton *skeleton, float time, float alpha))
void  (Timeline *self)
void  (CurveTimeline *self, int frameCount, void(*dispose)(Timeline *self), void(*apply)(const Timeline *self, Skeleton *skeleton, float time, float alpha))
void  (CurveTimeline *self)
Json (const char *value)
void  (Json *json)
int  (Json *json)
Json (Json *json, int item)
Json (Json *json, const char *string)
const char *  (Json *json, const char *name, const char *defaultValue)
float  (Json *json, const char *name, float defaultValue)
int  (Json *json, const char *name, int defaultValue)
const char *  (void)
RegionAttachment (const char *name)
void  (RegionAttachment *self, float u, float v, float u2, float v2, introtate)
void  (RegionAttachment *self)
void  (RegionAttachment *self, float x, float y, Bone *bone, float *vertices)
Skeleton (SkeletonData *data)
void  (Skeleton *self)
void  (const Skeleton *self)
void  (const Skeleton *self)
void  (const Skeleton *self)
void  (const Skeleton *self)
Bone (const Skeleton *self, const char *boneName)
int  (const Skeleton *self, const char *boneName)
Slot (const Skeleton *self, const char *slotName)
int  (const Skeleton *self, const char *slotName)
void  (Skeleton *self, Skin *skin)
int  (Skeleton *self, const char *skinName)
Attachment (const Skeleton *self, const char *slotName, const char *attachmentName)
Attachment (const Skeleton *self, int slotIndex, const char *attachmentName)
int  (Skeleton *self, const char *slotName, const char *attachmentName)
void  (Skeleton *self, float deltaTime)
SkeletonData ()
void  (SkeletonData *self)
BoneData (const SkeletonData *self, const char *boneName)
int  (const SkeletonData *self, const char *boneName)
SlotData (const SkeletonData *self, const char *slotName)
int  (const SkeletonData *self, const char *slotName)
Skin (const SkeletonData *self, const char *skinName)
Animation (const SkeletonData *self, const char *animationName)
SkeletonJson (AttachmentLoader *attachmentLoader)
SkeletonJson (Atlas *atlas)
void  (SkeletonJson *self)
SkeletonData (SkeletonJson *self, const char *json)
SkeletonData (SkeletonJson *self, const char *path)
Skin (const char *name)
void  (Skin *self)
void  (Skin *self, int slotIndex, const char *name, Attachment *attachment)
Attachment (const Skin *self, int slotIndex, const char *name)
const char *  (const Skin *self, int slotIndex, int attachmentIndex)
void  (const Skin *self, struct Skeleton *skeleton, const Skin *oldSkin)
 Attach each attachment in this skin if the corresponding attachment in oldSkin is currently attached. More...
 
Slot (SlotData *data, struct Skeleton *skeleton, Bone *bone)
void  (Slot *self)
void  (Slot *self, Attachment *attachment)
void  (Slot *self, float time)
float  (const Slot *self)
void  (Slot *self)
SlotData (const char *name, BoneData *boneData)
void  (SlotData *self)
void  (SlotData *self, const char *attachmentName)
void  (RegionAttachment *self, Slot *slot, cocos2d::ccV3F_C4B_T2F_Quad *quad, bool premultiplied=false)

Typedef Documentation

typedef struct AtlasPage AtlasPage
typedef struct AtlasRegion
AtlasRegion
typedef struct Attachment
Attachment
typedef struct Bone Bone
typedef struct BoneData BoneData
typedef std::map<std::string,
CCNodeLoader *>
CCNodeLoaderMap
typedef std::pair<std::string,
CCNodeLoader *>
CCNodeLoaderMapEntry
typedef struct _DataInfo DataInfo
typedef struct BaseTimeline
ScaleTimeline
typedef void(CCObject::*
SEL_CallFuncOD)(CCObject
*, void *)
typedef void(CCObject::*
SEL_FrameEventCallFunc)(CCBone
*, const char *, int, int)
typedef void(CCObject::*
SEL_HttpResponse)(CCHttpClient
*client, CCHttpResponse
*response)
typedef void(CCObject::*
SEL_MovementEventCallFunc)(CCArmature
*, MovementEventType, const
char *)
typedef void(CCObject::*
SEL_ParseEvent)(const
std::string &, CCObject
*, const rapidjson::Value &)
typedef struct Skeleton Skeleton
typedef struct Timeline Timeline
typedef struct BaseTimeline
TranslateTimeline

Enumeration Type Documentation

anonymous enum
Enumerator
kIntValue 
kFloatValue 
kBoolValue 
kUnsignedCharValue 
kStringValue 
kArrayValue 
Enumerator
SINGLE_FRAME 
ANIMATION_NO_LOOP 

the animation just have one frame

ANIMATION_TO_LOOP_FRONT 

the animation isn't loop

ANIMATION_TO_LOOP_BACK 

the animation loop from front

ANIMATION_LOOP_FRONT 

the animation loop from back

ANIMATION_LOOP_BACK 

the animation loop from front

ANIMATION_MAX 

the animation loop from back

Enumerator
ATLAS_NEAREST 
ATLAS_LINEAR 
ATLAS_MIPMAP 
ATLAS_MIPMAP_NEAREST_NEAREST 
ATLAS_MIPMAP_LINEAR_NEAREST 
ATLAS_MIPMAP_NEAREST_LINEAR 
ATLAS_MIPMAP_LINEAR_LINEAR 
Enumerator
ATLAS_ALPHA 
ATLAS_INTENSITY 
ATLAS_LUMINANCE_ALPHA 
ATLAS_RGB565 
ATLAS_RGBA4444 
ATLAS_RGB888 
ATLAS_RGBA8888 
enum AtlasWrap
Enumerator
ATLAS_MIRROREDREPEAT 
ATLAS_CLAMPTOEDGE 
ATLAS_REPEAT 
Enumerator
ATTACHMENT_REGION 
ATTACHMENT_REGION_SEQUENCE 
Enumerator
BLEND_NORMAL 
BLEND_LAYER 
BLEND_DARKEN 
BLEND_MULTIPLY 
BLEND_LIGHTEN 
BLEND_SCREEN 
BLEND_OVERLAY 
BLEND_HARD_LIGHT 
BLEND_ADD 
BLEND_SUBSTRACT 
BLEND_DIFFERENCE 
BLEND_INVERT 
BLEND_ALPHA 
BLEND_ERASE 
Enumerator
kCCTableViewFillTopDown 
kCCTableViewFillBottomUp 
Enumerator
CUSTOM_EASING 
Linear 
Sine_EaseIn 
Sine_EaseOut 
Sine_EaseInOut 
Quad_EaseIn 
Quad_EaseOut 
Quad_EaseInOut 
Cubic_EaseIn 
Cubic_EaseOut 
Cubic_EaseInOut 
Quart_EaseIn 
Quart_EaseOut 
Quart_EaseInOut 
Quint_EaseIn 
Quint_EaseOut 
Quint_EaseInOut 
Expo_EaseIn 
Expo_EaseOut 
Expo_EaseInOut 
Circ_EaseIn 
Circ_EaseOut 
Circ_EaseInOut 
Elastic_EaseIn 
Elastic_EaseOut 
Elastic_EaseInOut 
Back_EaseIn 
Back_EaseOut 
Back_EaseInOut 
Bounce_EaseIn 
Bounce_EaseOut 
Bounce_EaseInOut 
TWEEN_EASING_MAX 
Enumerator
CS_DISPLAY_SPRITE 
CS_DISPLAY_ARMATURE 

display is a single CCSprite

CS_DISPLAY_PARTICLE 

display is a CCArmature

CS_DISPLAY_MAX 

display is a CCParticle.

The EditBoxInputFlag defines how the input text is displayed/formatted.

Enumerator
kEditBoxInputFlagPassword 
kEditBoxInputFlagSensitive 
kEditBoxInputFlagInitialCapsWord 
kEditBoxInputFlagInitialCapsSentence 
kEditBoxInputFlagInitialCapsAllCharacters 

The EditBoxInputMode defines the type of text that the user is allowed to enter.

Enumerator
kEditBoxInputModeAny 
kEditBoxInputModeEmailAddr 
kEditBoxInputModeNumeric 
kEditBoxInputModePhoneNumber 
kEditBoxInputModeUrl 
kEditBoxInputModeDecimal 
kEditBoxInputModeSingleLine 
Enumerator
FrameEase_Custom 
FrameEase_Linear 
FrameEase_Sine_EaseIn 
FrameEase_Sine_EaseOut 
FrameEase_Sine_EaseInOut 
FrameEase_Quad_EaseIn 
FrameEase_Quad_EaseOut 
FrameEase_Quad_EaseInOut 
FrameEase_Cubic_EaseIn 
FrameEase_Cubic_EaseOut 
FrameEase_Cubic_EaseInOut 
FrameEase_Quart_EaseIn 
FrameEase_Quart_EaseOut 
FrameEase_Quart_EaseInOut 
FrameEase_Quint_EaseIn 
FrameEase_Quint_EaseOut 
FrameEase_Quint_EaseInOut 
FrameEase_Expo_EaseIn 
FrameEase_Expo_EaseOut 
FrameEase_Expo_EaseInOut 
FrameEase_Circ_EaseIn 
FrameEase_Circ_EaseOut 
FrameEase_Circ_EaseInOut 
FrameEase_Elastic_EaseIn 
FrameEase_Elastic_EaseOut 
FrameEase_Elastic_EaseInOut 
FrameEase_Back_EaseIn 
FrameEase_Back_EaseOut 
FrameEase_Back_EaseInOut 
FrameEase_Bounce_EaseIn 
FrameEase_Bounce_EaseOut 
FrameEase_Bounce_EaseInOut 
FrameEase_TWEEN_EASING_MAX 
Enumerator
kCCBKeyframeEasingInstant 
kCCBKeyframeEasingLinear 
kCCBKeyframeEasingCubicIn 
kCCBKeyframeEasingCubicOut 
kCCBKeyframeEasingCubicInOut 
kCCBKeyframeEasingElasticIn 
kCCBKeyframeEasingElasticOut 
kCCBKeyframeEasingElasticInOut 
kCCBKeyframeEasingBounceIn 
kCCBKeyframeEasingBounceOut 
kCCBKeyframeEasingBounceInOut 
kCCBKeyframeEasingBackIn 
kCCBKeyframeEasingBackOut 
kCCBKeyframeEasingBackInOut 
enum FrameType
Enumerator
kKeyframeMove 
kKeyframeScale 
kKeyframeRotate 
kKeyframeTint 
kKeyframeFade 
kKeyframeMax 
Enumerator
kKeyboardReturnTypeDefault 
kKeyboardReturnTypeDone 
kKeyboardReturnTypeSend 
kKeyboardReturnTypeSearch 
kKeyboardReturnTypeGo 
Enumerator
START 
COMPLETE 
LOOP_COMPLETE 
Enumerator
VERTEX_X1 
VERTEX_Y1 
VERTEX_X2 
VERTEX_Y2 
VERTEX_X3 
VERTEX_Y3 
VERTEX_X4 
VERTEX_Y4 

Function Documentation

CCPoint
cocos2d::extension::getAbsolutePosition
( const CCPoint &  pt,
int  nType,
const CCSize &  containerSize,
const char *  pPropName 
)
void
cocos2d::extension::setRelativeScale
( CCNode *  pNode,
float  fScaleX,
float  fScaleY,
int  nType,
const char *  pPropName 
)
void
cocos2d::extension::RegionAttachment_updateQuad
( RegionAttachment *  self,
Slot slot,
cocos2d::ccV3F_C4B_T2F_Quad *  quad,
bool  premultiplied = false 
)
bool
cocos2d::extension::isSpriteContainPoint
( CCSprite *  sprite,
CCPoint  point 
)

hit test function

AnimationStateData*
cocos2d::extension::AnimationStateData_create
( SkeletonData *  skeletonData)
AtlasAttachmentLoader*
cocos2d::extension::AtlasAttachmentLoader_create
( Atlas *  atlas)
Skin*
cocos2d::extension::Skin_create
( const char *  name)
SlotData*
cocos2d::extension::SlotData_create
( const char *  name,
BoneData *  boneData 
)
bool
cocos2d::extension::isSpriteContainPoint
( CCSprite *  sprite,
CCPoint  point,
CCPoint &  outPoint 
)
void
cocos2d::extension::AnimationStateData_dispose
( AnimationStateData *  self)
void
cocos2d::extension::Skin_dispose
( Skin *  self)
void
cocos2d::extension::SlotData_dispose
( SlotData *  self)
AnimationState*
cocos2d::extension::AnimationState_create
( AnimationStateData *  data)
BoneData*
cocos2d::extension::BoneData_create
( const char *  name,
BoneData *  parent 
)
void
cocos2d::extension::BoneData_dispose
( BoneData *  self)
void
cocos2d::extension::AnimationState_dispose
( AnimationState *  self)
void
cocos2d::extension::AnimationStateData_setMixByName
( AnimationStateData *  self,
const char *  fromName,
const char *  toName,
float  duration 
)
Animation*
cocos2d::extension::Animation_create
( const char *  name,
int  timelineCount 
)
void
cocos2d::extension::Skin_addAttachment
( Skin *  self,
int  slotIndex,
const char *  name,
Attachment *  attachment 
)
void
cocos2d::extension::AnimationStateData_setMix
( AnimationStateData *  self,
Animation *  from,
Animation *  to,
float  duration 
)
SkeletonJson*
cocos2d::extension::SkeletonJson_createWithLoader
( AttachmentLoader *  attachmentLoader)
void
cocos2d::extension::Animation_dispose
( Animation *  self)
void
cocos2d::extension::AnimationState_update
( AnimationState *  self,
float  delta 
)
void
cocos2d::extension::SlotData_setAttachmentName
( SlotData *  self,
const char *  attachmentName 
)
SkeletonJson*
cocos2d::extension::SkeletonJson_create
( Atlas *  atlas)
Attachment*
cocos2d::extension::Skin_getAttachment
( const Skin *  self,
int  slotIndex,
const char *  name 
)
Slot*
cocos2d::extension::Slot_create
( SlotData *  data,
struct Skeleton *  skeleton,
Bone *  bone 
)
float
cocos2d::extension::AnimationStateData_getMix
( AnimationStateData *  self,
Animation *  from,
Animation *  to 
)
void
cocos2d::extension::Animation_apply
( const Animation *  self,
struct Skeleton *  skeleton,
float  time,
intloop   
)
void
cocos2d::extension::Attachment_dispose
( Attachment *  self)
void
cocos2d::extension::AttachmentLoader_dispose
( AttachmentLoader *  self)
void
cocos2d::extension::SkeletonJson_dispose
( SkeletonJson *  self)
void
cocos2d::extension::Slot_dispose
( Slot self)
void
cocos2d::extension::AnimationState_apply
( AnimationState *  self,
struct Skeleton *  skeleton 
)
void
cocos2d::extension::Animation_mix
( const Animation *  self,
struct Skeleton *  skeleton,
float  time,
intloop  ,
float  alpha 
)
CCPoint
cocos2d::extension::bezierTo
( float  t,
CCPoint &  point1,
CCPoint &  point2,
CCPoint &  point3 
)

motion curve function

void
cocos2d::extension::Bone_setYDown
( intyDown  )
SkeletonData*
cocos2d::extension::SkeletonJson_readSkeletonData
( SkeletonJson *  self,
const char *  json 
)
const char*
cocos2d::extension::Skin_getAttachmentName
( const Skin *  self,
int  slotIndex,
int  attachmentIndex 
)
SkeletonData*
cocos2d::extension::SkeletonJson_readSkeletonDataFile
( SkeletonJson *  self,
const char *  path 
)
CCPoint
cocos2d::extension::bezierTo
( float  t,
CCPoint &  point1,
CCPoint &  point2,
CCPoint &  point3,
CCPoint &  point4 
)
Attachment*
cocos2d::extension::AttachmentLoader_newAttachment
( AttachmentLoader *  self,
Skin *  skin,
AttachmentType  type,
const char *  name 
)
void
cocos2d::extension::Slot_setAttachment
( Slot self,
Attachment *  attachment 
)
void
cocos2d::extension::AnimationState_setAnimationByName
( AnimationState *  self,
const char *  animationName,
intloop   
)
CCPoint
cocos2d::extension::circleTo
( float  t,
CCPoint &  center,
float  radius,
float  fromRadian,
float  radianDif 
)
void cocos2d::extension::sendEvent ( unsigned int  event)
Bone*
cocos2d::extension::Bone_create
( BoneData *  data,
Bone *  parent 
)
void
cocos2d::extension::Skin_attachAll
( const Skin *  self,
struct Skeleton *  skeleton,
const Skin *  oldSkin 
)

Attach each attachment in this skin if the corresponding attachment in oldSkin is currently attached.

void
cocos2d::extension::AnimationState_setAnimation
( AnimationState *  self,
Animation *  animation,
intloop   
)
void
cocos2d::extension::Slot_setAttachmentTime
( Slot self,
float  time 
)
SkeletonData*
cocos2d::extension::SkeletonData_create
( )
void
cocos2d::extension::Bone_dispose
( Bone *  self)
float
cocos2d::extension::Slot_getAttachmentTime
( const Slot self)
void
cocos2d::extension::SkeletonData_dispose
( SkeletonData *  self)
RegionAttachment*
cocos2d::extension::RegionAttachment_create
( const char *  name)
void
cocos2d::extension::Bone_setToSetupPose
( Bone *  self)
BoneData*
cocos2d::extension::SkeletonData_findBone
( const SkeletonData *  self,
const char *  boneName 
)
void
cocos2d::extension::Slot_setToSetupPose
( Slot self)
void
cocos2d::extension::RegionAttachment_setUVs
( RegionAttachment *  self,
float  u,
float  v,
float  u2,
float  v2,
introtate   
)
Skeleton*
cocos2d::extension::Skeleton_create
( SkeletonData *  data)
void
cocos2d::extension::Timeline_dispose
( Timeline *  self)
void
cocos2d::extension::RegionAttachment_updateOffset
( RegionAttachment *  self)
void
cocos2d::extension::Timeline_apply
( const Timeline *  self,
struct Skeleton *  skeleton,
float  time,
float  alpha 
)
void
cocos2d::extension::AnimationState_addAnimationByName
( AnimationState *  self,
const char *  animationName,
intloop  ,
float  delay 
)
Parameters
animationNameMay be 0.
delayMay be <= 0 to use duration of previous animation minus any mix duration plus the negative delay.
Json*
cocos2d::extension::Json_create
( const char *  value)
void
cocos2d::extension::Bone_updateWorldTransform
( Bone *  self,
intflipX  ,
intflipY   
)
void
cocos2d::extension::Skeleton_dispose
( Skeleton *  self)
int
cocos2d::extension::SkeletonData_findBoneIndex
( const SkeletonData *  self,
const char *  boneName 
)
void
cocos2d::extension::RegionAttachment_computeVertices
( RegionAttachment *  self,
float  x,
float  y,
Bone *  bone,
float *  vertices 
)
SlotData*
cocos2d::extension::SkeletonData_findSlot
( const SkeletonData *  self,
const char *  slotName 
)
void
cocos2d::extension::Skeleton_updateWorldTransform
( const Skeleton *  self)
void
cocos2d::extension::AnimationState_addAnimation
( AnimationState *  self,
Animation *  animation,
intloop  ,
float  delay 
)
Parameters
animationMay be 0.
delayMay be <= 0 to use duration of previous animation minus any mix duration plus the negative delay.
void
cocos2d::extension::Json_dispose
( Json json)
int
cocos2d::extension::SkeletonData_findSlotIndex
( const SkeletonData *  self,
const char *  slotName 
)
void
cocos2d::extension::Skeleton_setToSetupPose
( const Skeleton *  self)
Skin*
cocos2d::extension::SkeletonData_findSkin
( const SkeletonData *  self,
const char *  skinName 
)
void
cocos2d::extension::AnimationState_clearAnimation
( AnimationState *  self)
void
cocos2d::extension::Skeleton_setBonesToSetupPose
( const Skeleton *  self)
int
cocos2d::extension::Json_getSize
( Json json)
void
cocos2d::extension::Skeleton_setSlotsToSetupPose
( const Skeleton *  self)
int
cocos2d::extension::AnimationState_isComplete
( AnimationState *  self)
AtlasPage*
cocos2d::extension::AtlasPage_create
( const char *  name)
Animation*
cocos2d::extension::SkeletonData_findAnimation
( const SkeletonData *  self,
const char *  animationName 
)
void
cocos2d::extension::AtlasPage_dispose
( AtlasPage *  self)
Bone*
cocos2d::extension::Skeleton_findBone
( const Skeleton *  self,
const char *  boneName 
)
void
cocos2d::extension::CurveTimeline_setLinear
( CurveTimeline *  self,
int  frameIndex 
)
Json*
cocos2d::extension::Json_getItemAt
( Json json,
int  item 
)
void
cocos2d::extension::CurveTimeline_setStepped
( CurveTimeline *  self,
int  frameIndex 
)
int
cocos2d::extension::Skeleton_findBoneIndex
( const Skeleton *  self,
const char *  boneName 
)
Json*
cocos2d::extension::Json_getItem
( Json json,
const char *  string 
)
const char*
cocos2d::extension::armatureVersion
( )
const char*
cocos2d::extension::Json_getString
( Json json,
const char *  name,
const char *  defaultValue 
)
float
cocos2d::extension::Json_getFloat
( Json json,
const char *  name,
float  defaultValue 
)
Slot*
cocos2d::extension::Skeleton_findSlot
( const Skeleton *  self,
const char *  slotName 
)
void
cocos2d::extension::CurveTimeline_setCurve
( CurveTimeline *  self,
int  frameIndex,
float  cx1,
float  cy1,
float  cx2,
float  cy2 
)
int cocos2d::extension::Json_getInt ( Json json,
const char *  name,
int  defaultValue 
)
float
cocos2d::extension::CurveTimeline_getCurvePercent
( const CurveTimeline *  self,
int  frameIndex,
float  percent 
)
int
cocos2d::extension::Skeleton_findSlotIndex
( const Skeleton *  self,
const char *  slotName 
)
const char*
cocos2d::extension::Json_getError
( void  )
void
cocos2d::extension::Skeleton_setSkin
( Skeleton *  self,
Skin *  skin 
)
int
cocos2d::extension::Skeleton_setSkinByName
( Skeleton *  self,
const char *  skinName 
)
RotateTimeline*
cocos2d::extension::RotateTimeline_create
( int  frameCount)
Attachment*
cocos2d::extension::Skeleton_getAttachmentForSlotName
( const Skeleton *  self,
const char *  slotName,
const char *  attachmentName 
)
void
cocos2d::extension::RotateTimeline_setFrame
( RotateTimeline self,
int  frameIndex,
float  time,
float  angle 
)
Attachment*
cocos2d::extension::Skeleton_getAttachmentForSlotIndex
( const Skeleton *  self,
int  slotIndex,
const char *  attachmentName 
)
AtlasRegion*
cocos2d::extension::AtlasRegion_create
( )
CCEditBoxImpl*
cocos2d::extension::__createSystemEditBox
( CCEditBox *  pEditBox)
void
cocos2d::extension::AtlasRegion_dispose
( AtlasRegion *  self)
int
cocos2d::extension::Skeleton_setAttachment
( Skeleton *  self,
const char *  slotName,
const char *  attachmentName 
)
void
cocos2d::extension::Skeleton_update
( Skeleton *  self,
float  deltaTime 
)
TranslateTimeline*
cocos2d::extension::TranslateTimeline_create
( int  frameCount)
void
cocos2d::extension::TranslateTimeline_setFrame
( TranslateTimeline *  self,
int  frameIndex,
float  time,
float  x,
float  y 
)
Atlas*
cocos2d::extension::Atlas_readAtlas
( const char *  data,
int  length,
const char *  dir 
)
void
cocos2d::extension::_AtlasPage_createTexture
( AtlasPage *  self,
const char *  path 
)
ScaleTimeline*
cocos2d::extension::ScaleTimeline_create
( int  frameCount)
void
cocos2d::extension::_AtlasPage_disposeTexture
( AtlasPage *  self)
Atlas*
cocos2d::extension::Atlas_readAtlasFile
( const char *  path)
char*
cocos2d::extension::_Util_readFile
( const char *  path,
int *  length 
)
void
cocos2d::extension::Atlas_dispose
( Atlas *  atlas)
void
cocos2d::extension::ScaleTimeline_setFrame
( ScaleTimeline *  self,
int  frameIndex,
float  time,
float  x,
float  y 
)
AtlasRegion*
cocos2d::extension::Atlas_findRegion
( const Atlas *  self,
const char *  name 
)
void* cocos2d::extension::_malloc ( size_t  size)
void* cocos2d::extension::_calloc ( size_t  num,
size_t  size 
)
void cocos2d::extension::_free ( void *  ptr)
void cocos2d::extension::_setMalloc ( void *(*)(size_t size)  _malloc)
void cocos2d::extension::_setFree ( void(*)(void *ptr)  _free)
ColorTimeline*
cocos2d::extension::ColorTimeline_create
( int  frameCount)
char* cocos2d::extension::_readFile ( const char *  path,
int *  length 
)
void
cocos2d::extension::ColorTimeline_setFrame
( ColorTimeline *  self,
int  frameIndex,
float  time,
float  r,
float  g,
float  b,
float  a 
)
void
cocos2d::extension::_AttachmentLoader_init
( AttachmentLoader *  self,
void(*)(AttachmentLoader *self)  dispose,
Attachment *(*)(AttachmentLoader *self, Skin *skin, AttachmentType type, const char *name)  newAttachment 
)
void
cocos2d::extension::_AttachmentLoader_deinit
( AttachmentLoader *  self)
void
cocos2d::extension::_AttachmentLoader_setError
( AttachmentLoader *  self,
const char *  error1,
const char *  error2 
)
void
cocos2d::extension::_AttachmentLoader_setUnknownTypeError
( AttachmentLoader *  self,
AttachmentType  type 
)
void
cocos2d::extension::_Attachment_init
( Attachment *  self,
const char *  name,
AttachmentType  type,
void(*)(Attachment *self)  dispose 
)
AttachmentTimeline*
cocos2d::extension::AttachmentTimeline_create
( int  frameCount)
void
cocos2d::extension::_Attachment_deinit
( Attachment *  self)
void
cocos2d::extension::AttachmentTimeline_setFrame
( AttachmentTimeline *  self,
int  frameIndex,
float  time,
const char *  attachmentName 
)
void
cocos2d::extension::_Timeline_init
( Timeline *  self,
void(*)(Timeline *self)  dispose,
void(*)(const Timeline *self, Skeleton *skeleton, float time, float alpha)  apply 
)
void
cocos2d::extension::_Timeline_deinit
( Timeline *  self)
void
cocos2d::extension::_CurveTimeline_init
( CurveTimeline *  self,
int  frameCount,
void(*)(Timeline *self)  dispose,
void(*)(const Timeline *self, Skeleton *skeleton, float time, float alpha)  apply 
)
void
cocos2d::extension::_CurveTimeline_deinit
( CurveTimeline *  self)