static int Close(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); CC.Runtime.SocketManager obj = (CC.Runtime.SocketManager)LuaScriptMgr.GetUnityObjectSelf(L, 1, "CC.Runtime.SocketManager"); CC.Runtime.SocketId arg0 = (CC.Runtime.SocketId)LuaScriptMgr.GetNetObject(L, 2, typeof(CC.Runtime.SocketId)); obj.Close(arg0); return(0); }