static int _m_initWithAppIdAndChannelId_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 4 && (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3) && translator.Assignable <DCReportMode>(L, 4)) { string _app_id = LuaAPI.lua_tostring(L, 1); string _channel_id = LuaAPI.lua_tostring(L, 2); bool _open_adtracking = LuaAPI.lua_toboolean(L, 3); DCReportMode _report_mode; translator.Get(L, 4, out _report_mode); DataEye.initWithAppIdAndChannelId(_app_id, _channel_id, _open_adtracking, _report_mode); return(0); } if (gen_param_count == 3 && (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)) { string _app_id = LuaAPI.lua_tostring(L, 1); string _channel_id = LuaAPI.lua_tostring(L, 2); bool _open_adtracking = LuaAPI.lua_toboolean(L, 3); DataEye.initWithAppIdAndChannelId(_app_id, _channel_id, _open_adtracking); return(0); } if (gen_param_count == 2 && (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING) && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)) { string _app_id = LuaAPI.lua_tostring(L, 1); string _channel_id = LuaAPI.lua_tostring(L, 2); DataEye.initWithAppIdAndChannelId(_app_id, _channel_id); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DataEye.initWithAppIdAndChannelId!")); }
static int _m_logout_xlua_st_(RealStatePtr L) { try { { DataEye.logout( ); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int _m_login_xlua_st_(RealStatePtr L) { try { { string _acc_id = LuaAPI.lua_tostring(L, 1); DataEye.login(_acc_id); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { DataEye gen_ret = new DataEye(); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to DataEye constructor!")); }