static int _m_GetChannelList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2)) { uint channelId = LuaAPI.xlua_touint(L, 2); __cl_gen_to_be_invoked.GetChannelList(channelId); return(0); } if (__gen_param_count == 1) { __cl_gen_to_be_invoked.GetChannelList( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.ControlServerLogHelper.GetChannelList!")); }
static int _m_OnPostDeviceInitFinished(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { string url = LuaAPI.lua_tostring(L, 2); string error = LuaAPI.lua_tostring(L, 3); string reply = LuaAPI.lua_tostring(L, 4); object userData = translator.GetObject(L, 5, typeof(object)); __cl_gen_to_be_invoked.OnPostDeviceInitFinished(url, error, reply, userData); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetFeedbackInfo(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 2 && translator.Assignable <System.Action <XLua.LuaTable> >(L, 2)) { System.Action <XLua.LuaTable> callback = translator.GetDelegate <System.Action <XLua.LuaTable> >(L, 2); __cl_gen_to_be_invoked.GetFeedbackInfo(callback); return(0); } if (__gen_param_count == 1) { __cl_gen_to_be_invoked.GetFeedbackInfo( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.ControlServerLogHelper.GetFeedbackInfo!")); }
static int _m_PostPlayerFollowRecord(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 4 && translator.Assignable <xc.PlayerFollowRecordSceneId>(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) { xc.PlayerFollowRecordSceneId sceneId; translator.Get(L, 2, out sceneId); string desc = LuaAPI.lua_tostring(L, 3); bool isEnterGame = LuaAPI.lua_toboolean(L, 4); __cl_gen_to_be_invoked.PostPlayerFollowRecord(sceneId, desc, isEnterGame); return(0); } if (__gen_param_count == 3 && translator.Assignable <xc.PlayerFollowRecordSceneId>(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { xc.PlayerFollowRecordSceneId sceneId; translator.Get(L, 2, out sceneId); string desc = LuaAPI.lua_tostring(L, 3); __cl_gen_to_be_invoked.PostPlayerFollowRecord(sceneId, desc); return(0); } if (__gen_param_count == 2 && translator.Assignable <xc.PlayerFollowRecordSceneId>(L, 2)) { xc.PlayerFollowRecordSceneId sceneId; translator.Get(L, 2, out sceneId); __cl_gen_to_be_invoked.PostPlayerFollowRecord(sceneId); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.ControlServerLogHelper.PostPlayerFollowRecord!")); }
static int __CreateInstance(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { if (LuaAPI.lua_gettop(L) == 1) { xc.ControlServerLogHelper __cl_gen_ret = new xc.ControlServerLogHelper(); translator.Push(L, __cl_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 xc.ControlServerLogHelper constructor!")); }
static int _m_GetServerList(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { __cl_gen_to_be_invoked.GetServerList( ); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetInstance_xlua_st_(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); try { { xc.ControlServerLogHelper __cl_gen_ret = xc.Singleton <xc.ControlServerLogHelper> .GetInstance( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_PostFeedback(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); int __gen_param_count = LuaAPI.lua_gettop(L); try { if (__gen_param_count == 4 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING) && translator.Assignable <System.Action <bool> >(L, 4)) { int type = LuaAPI.xlua_tointeger(L, 2); string msg = LuaAPI.lua_tostring(L, 3); System.Action <bool> callback = translator.GetDelegate <System.Action <bool> >(L, 4); __cl_gen_to_be_invoked.PostFeedback(type, msg, callback); return(0); } if (__gen_param_count == 3 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2) && (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { int type = LuaAPI.xlua_tointeger(L, 2); string msg = LuaAPI.lua_tostring(L, 3); __cl_gen_to_be_invoked.PostFeedback(type, msg); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to xc.ControlServerLogHelper.PostFeedback!")); }
static int _m_PostCloudLadderEventAction(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { xc.CloudLadderMarkEnum mark; translator.Get(L, 2, out mark); __cl_gen_to_be_invoked.PostCloudLadderEventAction(mark); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_PostRoleInfoWithDelay(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { float remainTime = (float)LuaAPI.lua_tonumber(L, 2); __cl_gen_to_be_invoked.PostRoleInfoWithDelay(remainTime); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_GetChannelName(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { string channel = LuaAPI.lua_tostring(L, 2); string __cl_gen_ret = __cl_gen_to_be_invoked.GetChannelName(channel); LuaAPI.lua_pushstring(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_LoadImage(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { string path = LuaAPI.lua_tostring(L, 2); System.Action <UnityEngine.Sprite> callback = translator.GetDelegate <System.Action <UnityEngine.Sprite> >(L, 3); __cl_gen_to_be_invoked.LoadImage(path, callback); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }
static int _m_PostAccountLoginLogS(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ControlServerLogHelper __cl_gen_to_be_invoked = (xc.ControlServerLogHelper)translator.FastGetCSObj(L, 1); try { { int serverId = LuaAPI.xlua_tointeger(L, 2); xc.EServerState serverType; translator.Get(L, 3, out serverType); __cl_gen_to_be_invoked.PostAccountLoginLogS(serverId, serverType); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }