Dispatch the keypad message from the phone
Class CCKeypadDispatcher
#include <Geode/cocos/keypad_dispatcher/CCKeypadDispatcher.h>
classCCKeypadDispatcher:publiccocos2d::CCObject{ ... }
Examples0
Public static methods0
Public member functions5
voidaddDelegate(cocos2d::CCKeypadDelegate*pDelegate)
add delegate to concern keypad msg
voidremoveDelegate(cocos2d::CCKeypadDelegate*pDelegate)
remove the delegate from the delegates who concern keypad msg
voidforceAddDelegate(cocos2d::CCKeypadDelegate*pDelegate)
force add the delegate
voidforceRemoveDelegate(cocos2d::CCKeypadDelegate*pDelegate)
force remove the delegate
booldispatchKeypadMSG(cocos2d::ccKeypadMSGTypenMsgType)
dispatch the key pad msg
Fields6
cocos2d::CCArray*m_pDelegates;
No description provided
boolm_bLocked;
No description provided
boolm_bToAdd;
No description provided
boolm_bToRemove;
No description provided
cocos2d::_ccCArray*m_pHandlersToAdd;
No description provided
cocos2d::_ccCArray*m_pHandlersToRemove;
No description provided