static int GetHttpHandler(IntPtr L) { L.ChkArgsCount(2); ZFrame.NetEngine.NetworkMgr obj = (ZFrame.NetEngine.NetworkMgr)L.ChkUnityObjectSelf(1, "ZFrame.NetEngine.NetworkMgr"); var arg0 = L.ToLuaString(2); ZFrame.NetEngine.HttpHandler o = obj.GetHttpHandler(arg0); L.PushLightUserData(o); return(1); }