lua_pluginx_basic_conversions.h 1.4 KB

1234567891011121314151617181920212223242526272829
  1. #ifndef __LUA_BASIC_CONVERSIONS_H__
  2. #define __LUA_BASIC_CONVERSIONS_H__
  3. #include "LuaBasicConversions.h"
  4. #include "ProtocolIAP.h"
  5. #include "ProtocolAnalytics.h"
  6. #include "ProtocolAds.h"
  7. #include "ProtocolShare.h"
  8. #include "ProtocolSocial.h"
  9. #include "ProtocolUser.h"
  10. #include "FacebookAgent.h"
  11. namespace pluginx {
  12. // to native
  13. bool luaval_to_TIAPDeveloperInfo(lua_State *L, int lo, cocos2d::plugin::TIAPDeveloperInfo* outValue, const char* funcName = "");
  14. bool luaval_to_TProductInfo(lua_State *L, int lo, cocos2d::plugin::TProductInfo* outValue, const char* funcName = "");
  15. bool luaval_to_TAdsDeveloperInfo(lua_State *L, int lo, cocos2d::plugin::TAdsDeveloperInfo* outValue);
  16. bool luaval_to_TAdsInfo(lua_State *L, int lo, cocos2d::plugin::TAdsInfo* outValue);
  17. bool luaval_to_TShareDeveloperInfo(lua_State *L, int lo, cocos2d::plugin::TShareDeveloperInfo* outValue);
  18. bool luaval_to_TShareInfo(lua_State *L, int lo, cocos2d::plugin::TShareInfo* outValue);
  19. bool luaval_to_TSocialDeveloperInfo(lua_State *L, int lo, cocos2d::plugin::TSocialDeveloperInfo* outValue);
  20. bool luaval_to_TAchievementInfo(lua_State *L, int lo, cocos2d::plugin::TAchievementInfo* outValue);
  21. bool luaval_to_TUserDeveloperInfo(lua_State *L, int lo, cocos2d::plugin::TUserDeveloperInfo* outValue);
  22. bool luaval_to_FBInfo(lua_State* L, int lo, cocos2d::plugin::FacebookAgent::FBInfo* outValue, const char* funcName = "");
  23. } // namespace pluginx {
  24. #endif /* __LUA_BASIC_CONVERSIONS_H__ */