[TOC]
- 首页
- 相关页面
- 模块
- 命名空间
- 类
- 文件
-
)
- 文件列表
- 文件成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
类型定义 | 函数
Java_org_cocos2dx_lib_Cocos2dxHelper.h 文件参考
#include
|
## 函数
|
| const char | getApkPath () |
| |
| void | showDialogJNI (const char pszMsg, const char pszTitle) |
| |
| void | showEditTextDialogJNI (const char pszTitle, const char pszContent, int nInputMode, int nInputFlag, int nReturnType, int nMaxLength, EditTextCallback pfEditTextCallback, void ctx) |
| |
| void | terminateProcessJNI () |
| |
| std::string | getCurrentLanguageJNI () |
| |
| std::string | getPackageNameJNI () |
| |
| std::string | getFileDirectoryJNI () |
| |
| void | enableAccelerometerJni () |
| |
| void | disableAccelerometerJni () |
| |
| void | setAccelerometerIntervalJni (float interval) |
| |
| bool | getBoolForKeyJNI (const char pKey, bool defaultValue) |
| |
| int | getIntegerForKeyJNI (const char pKey, int defaultValue) |
| |
| float | getFloatForKeyJNI (const char pKey, float defaultValue) |
| |
| double | getDoubleForKeyJNI (const char pKey, double defaultValue) |
| |
| std::string | getStringForKeyJNI (const char pKey, const char defaultValue) |
| |
| void | setBoolForKeyJNI (const char pKey, bool value) |
| |
| void | setIntegerForKeyJNI (const char pKey, int value) |
| |
| void | setFloatForKeyJNI (const char pKey, float value) |
| |
| void | setDoubleForKeyJNI (const char pKey, double value) |
| |
| void | setStringForKeyJNI (const char pKey, const char value) |
| |
类型定义说明
| typedef void( EditTextCallback)(const char pText, void *ctx) |
函数说明
| void disableAccelerometerJni | ( | | ) | |
| void enableAccelerometerJni | ( | | ) | |
| const char* getApkPath | ( | | ) | |
| bool getBoolForKeyJNI | ( | const char * | pKey, |
| | bool | defaultValue |
| ) | | |
| std::string getCurrentLanguageJNI | ( | | ) | |
| double getDoubleForKeyJNI | ( | const char * | pKey, |
| | double | defaultValue |
| ) | | |
| std::string getFileDirectoryJNI | ( | | ) | |
| float getFloatForKeyJNI | ( | const char * | pKey, |
| | float | defaultValue |
| ) | | |
| int getIntegerForKeyJNI | ( | const char * | pKey, |
| | int | defaultValue |
| ) | | |
| std::string getPackageNameJNI | ( | | ) | |
| std::string getStringForKeyJNI | ( | const char | pKey, |
| | const char | defaultValue |
| ) | | |
| void setAccelerometerIntervalJni | ( | float | interval | ) | |
| void setBoolForKeyJNI | ( | const char * | pKey, |
| | bool | value |
| ) | | |
| void setDoubleForKeyJNI | ( | const char * | pKey, |
| | double | value |
| ) | | |
| void setFloatForKeyJNI | ( | const char * | pKey, |
| | float | value |
| ) | | |
| void setIntegerForKeyJNI | ( | const char * | pKey, |
| | int | value |
| ) | | |
| void setStringForKeyJNI | ( | const char | pKey, |
| | const char | value |
| ) | | |
| void showDialogJNI | ( | const char | pszMsg, |
| | const char | pszTitle |
| ) | | |
| void showEditTextDialogJNI | ( | const char | pszTitle, |
| | const char | pszContent, |
| | int | nInputMode, |
| | int | nInputFlag, |
| | int | nReturnType, |
| | int | nMaxLength, |
| | EditTextCallback | pfEditTextCallback, |
| | void * | ctx |
| ) | | |
| void terminateProcessJNI | ( | | ) | |