cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TriggerBase.h File Reference

Macros

#define DECLARE_CLASS_INFO
#define IMPLEMENT_CLASS_INFO(className)

Functions

void CC_STUDIO_DLL  (unsigned int event)

Macro Definition Documentation

#define DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
var DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
local DECLARE_CLASS_INFO
Value:
public: \
static cocos2d::Ref* createInstance(void); \
Definition: CCRef.h:66
Definition: ObjectFactory.h:41
#define IMPLEMENT_CLASS_INFO (   className)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
auto ret = new className; \
ret->autorelease(); \
return ret; \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
Ref * autorelease()
Releases the ownership sometime soon automatically.
var IMPLEMENT_CLASS_INFO (   var)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
auto ret = new className; \
ret->autorelease(); \
return ret; \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
Ref * autorelease()
Releases the ownership sometime soon automatically.
local IMPLEMENT_CLASS_INFO (   local)
Value:
cocos2d::Ref* className::createInstance(void) \
{ \
auto ret = new className; \
ret->autorelease(); \
return ret; \
} \
cocos2d::ObjectFactory::TInfo className::Type(#className, &className::createInstance); \
Definition: CCRef.h:66
Ref * autorelease()
Releases the ownership sometime soon automatically.

Function Documentation

void CC_STUDIO_DLL sendEvent ( unsigned int  event)
var sendEvent ( var  event)
local sendEvent ( local  event)